Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Michael Clapp
|
Jul 26, 2007 - 3:44 PM
|
Hi.. We have following the steps of adding a WindowProc procedure and adding a WM_PAINT handler in our PropertyPage class, following the code described in the 9/16/2005 CExtResizablePropertyPage question "How to draw something such as rect on a CExtResizablePropertyPage which cannot use OnPaint method. Also, we are using a CExtResizablePropertySheet to hold two CExtResizablePropertyPages.
The method seems to get called initially, however when another page is selected, and then the page is reselected, the WM_PAINT message is not received and our custom painting is not performed. Also when a message dialog is popped up ontop of the property page, and then dismissed, the WM_PAINT message is not received..
|
|
Michael Clapp
|
Jul 27, 2007 - 11:31 AM
|
painting.zip has been emailed which shows the program (switch tabs and notice that the painting does not occur a second time)..
|
|
Technical Support
|
Jul 27, 2007 - 10:58 AM
|
Would you reproduce your painting algorithm in a small test project or in a modified version of the ResizablePropertySheet sample and send it to us?
|
|