OnPaint() override 
Author Message
 OnPaint() override

I'm trying to write a percentage on a CProgressCtrl.

When I override the WM_PAINT message, ClassWizard comments a line saying
"don't call CProgressCtrl::OnPaint()".

Then, how can I have the base class paint the regular progress behaviour
before I over-print my text ?

Thanks,
Gabriel.



Sun, 10 Feb 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. OnPaint override on CListViewCtrl?

2. About override the OnPaint function.

3. About override the OnPaint function!

4. Override OnPaint in ATL/WTL

5. CListView - Overriding OnPaint()

6. Overriding OnPaint of CListView

7. Can we override a control's OnPaint ?

8. CListBox -- Owner Drawn - (override OnPaint) - Need help, please!

9. Overriding the OnPaint method for button controls

10. overriding events (OnPaint, OnClick, etc.)

11. I override the OnPaint method of TextBox, but no effect.

12. OnPaint / Update failure or my bug?

 

 
Powered by phpBB® Forum Software