Print Page | Close Window

Application Menu support

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=12999
Printed Date: 22 November 2024 at 10:09pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Application Menu support
Posted By: BobWansink
Subject: Application Menu support
Date Posted: 22 December 2008 at 8:42am
Hi all,

I'm using SKinframework to skin my MFC application. It's working excellently. All our buttons, frames and other GUI objects are correctly painted in their Whidbey theme.

Except our application menu's....

We're using 12.1 and since then, the application menu's have become visible again, but still show the old school mfc appearance.

Our main application menu is skinned completely correct. It opens up new modal dialogs (based on CXTPFrameWnd) which receive a SetMenu(CMenu & menu) call after being created. Due to our architecture, we can't call this before create...

I'd thought about simply replacing the application menu's with CXTPMenuBar and going from there, but CXTPMenuBar doesn't seem to have a SetMenu with a CMenu reference, only one with a resourceID (which feels like a rather big omission in my [very] humble opinion).

As it is, the menu's (and right-click context menu's by the way) don't display the look and feel we're trying to convey with our new application, making our modal screens (90% of our application) feel off..



Thanks in advance,

Bob


-------------
     Product: Xtreme ToolkitPro (MFC) version 13.0.0
     Platform: Windows (32bit) - XP - Vista
     Language: Visual C++



Replies:
Posted By: Oleg
Date Posted: 23 December 2008 at 2:09am
Hi,
 
Too odd. Send some screenshots.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: BobWansink
Date Posted: 23 December 2008 at 3:02am

the contextmenu




the application menu. In the background, you'll see our application's Toolbar/Menubar. This was done with CXTPToolBar and CXTPMenuBar.




-------------
     Product: Xtreme ToolkitPro (MFC) version 13.0.0
     Platform: Windows (32bit) - XP - Vista
     Language: Visual C++


Posted By: Oleg
Date Posted: 24 December 2008 at 12:45am
Hi,
 
try replace your Vista.cjstyles to last from Source\SkinFramework\Styles\Vista.cjstyles.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net