|
|
|
|
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 |
|
howard liu
|
Jun 19, 2008 - 11:16 PM
|
Hi, Is there any method or property by which we can remove the NCW template property to be removed in CExtNCW <CExtResizeableDialog> derived classes. I want to apply CExtNCW template in some derived classes and remove in other derived classes. Thanks
|
|
Technical Support
|
Jun 30, 2008 - 1:17 PM
|
If you don’t need a window border, then you should remove appropriate basic/extended window styles: WS_BORDER , WS_CAPTION , WS_EX_CLIENTEDGE , WS_EX_STATICEDGE , WS_EX_DLGMODALFRAME . Do not forget to specify the SWP_FRAMECHANGED value in the third parameter of the CWnd::ModifyStyle() and CWnd::ModifyStyleEx() methods.
|
|
howard liu
|
Jun 30, 2008 - 8:40 AM
|
Hi, I was able to remove the frame in ncw based derived classes but i was not able to remove the Border appearing over frame .how to achieve this.
|
|
Technical Support
|
Jun 22, 2008 - 1:10 PM
|
You can use any CExtNCW -based types and skin the non-client area optionally by assigning false to the CExtNcFrameImpl::m_bNcFrameImpl_IsEnabled property. Any CExtNCW -based class is derived from CExtNcFrameImpl . So, the m_bNcFrameImpl_IsEnabled property is available the in methods of a CExtNCW -based class.
|
|