![]() |
Skinning of a PropertySheet |
Post Reply ![]() |
Author | |
Mantus ![]() Newbie ![]() Joined: 18 February 2008 Location: Germany Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() Posted: 18 February 2008 at 9:06am |
Hello,
I've got a PropertyPage (CPropertyPage) with several PropertySheets und a Menu (CMenu) The PropertyPage is called directly within the InitInstance Method of the Application, therefore no MainFrame Class in the App. I've tried the to skin the application with the Office2007 Skin but on different ways but wasn't fully successful. If i place the LoadSkin call in the Constructor of the CPropertyPage derived class or in the InitInstance of the CWinApp derived class, the whole Window including frame is skinned but the menu isn't visible at program start. It appears in the upper left corner of the program frame if i hover over it and destroys the layout. If i place the LoadSkin call in the InitDialog of the CPropertyPage derived class, the Menu is shown correctly but only the PropertySheets are skinned, not the PropertyPage and the program frame. So the first approach seems to be more promising but what can i do to make the menu fully visible at the right place. Best Regards |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
Its right. SkinFramework doesn't support Application menus.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Mantus ![]() Newbie ![]() Joined: 18 February 2008 Location: Germany Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
Hi Oleg,
is there another way to draw a correct Menu in a PropertySheet and Skin/Theme it? Actually it's done with void CMVPropertySheet::CreateMenu() { pMainMenu = new CMenu(); pMainMenu->LoadMenu(IDR_MENU1); SetMenu(pMainMenu); } and called within the InitInstance Method. Best Regards |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
Sorry, only one way - use Our CommandBars with MenuBar.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
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 |