Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - Application Menu support
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Application Menu support

 Post Reply Post Reply
Author
Message
BobWansink View Drop Down
Groupie
Groupie
Avatar

Joined: 24 January 2008
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote BobWansink Quote  Post ReplyReply Direct Link To This Post Topic: Application Menu support
    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++
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 23 December 2008 at 2:09am
Hi,
 
Too odd. Send some screenshots.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
BobWansink View Drop Down
Groupie
Groupie
Avatar

Joined: 24 January 2008
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote BobWansink Quote  Post ReplyReply Direct Link To This Post 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++
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.