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 |
|
Offer Har
|
Mar 2, 2009 - 8:05 AM
|
Dear Support, I would like to add a rectangel on the dialog’s background. What I did was override OnPaint of my CDialog derived class, and added simple rectangle drawing code. I see the rectangle. If I noe deriver my dialog class from CExtNCW<CExtResizableDialog> , the rectangle is not drawn. I see that my OnPaint is called, but no rectangle is shown. Is there any sample of how to do it? is there any specific code I need to add? Thanks, Ron.
|
|
Offer Har
|
Mar 2, 2009 - 9:49 AM
|
That’s not the reason. Here it is when not derived from:CExtNCW<CExtResizableDialog> , the same with it, you see nothing on the left top corner: 
|
|
Technical Support
|
Mar 2, 2009 - 9:45 AM
|
We suspect the rectangle is under some dialog control.
|
|