MDI parent not skinned? |
Post Reply |
Author | |
Ark42
Senior Member Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
Posted: 09 July 2007 at 7:49pm |
So I added XTPSkinManager()->LoadSkin() from CMainFrame::LoadFrame() in my MDI application, but the parent is not skinned. I'm looking at SkinMDISample but I can't find what the difference is. I derive from CXTPMDIFrameWnd too and no other XTPSkinManager() things seem to be called in the SkinMDISample. I tried adding XTPSkinManager()->ApplyWindow() but that causes some sort of infinite loop freeze I have yet to track down. Without any ApplyWindow() call all child windows and dialogs are skinned just fine. |
|
Ark42
Senior Member Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
|
XTPSkinManager() stuff must exist in PreCreateWindow() or before call to parent's LoadFrame() to work properly I guess.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |