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 |
|
Sujang Lee
|
Dec 20, 2005 - 7:06 AM
|
|
|
Technical Support
|
Dec 20, 2005 - 8:25 AM
|
Just apply the CExtWA < CExtWS < CExtAFV < : > > > templates to the parent class CFormView . This will add support for anchoring controls and a theme consistent look like that in CExtResizableDialog .
//header
class CChildFormView : public CExtWA < CExtWS < CExtAFV < CFormView > > >
{
...
...
...
//implementation
IMPLEMENT_DYNCREATE(CChildFormView, CFormView)
CChildFormView::CChildFormView()
: CExtWA < CExtWS < CExtAFV < CFormView > > > ( CChildFormView::IDD, ((CWnd *)NULL) )
...
...
... Please take a look at how it is done in the StatusPanes sample. CChildFormView is a CFormView -derived class which uses the above mentioned templates.
|
|
Mac Will
|
Dec 20, 2005 - 7:24 AM
|
Not sure but maybe you have the CExtWFF wrapper template. this can eliminate the paint manager (I think) make sure it has CExtWS template if it is not a prof-uis control, this way the paint manager will work on it.
If this doesn’t work hopefully tech support can help you out. MAC
|
|