Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Some questions
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Some questions

 Post Reply Post Reply
Author
Message
DeathProof View Drop Down
Newbie
Newbie


Joined: 31 January 2009
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote DeathProof Quote  Post ReplyReply Direct Link To This Post Topic: Some questions
    Posted: 31 January 2009 at 7:43am
I have a few questions regarding ToolKitPro.

1) Is it possible for the menubar to be locked into its place? I see that it can be dragged out from its place. I don't want this to happen.

2) Is it possible for CommandBars settings to be saved in XML format? I don't want to use the registry. The docs mention I can use a INI file as well but I don't understand how. The save/load APIs only require section names. How can I set the main INI file to write to?

3) Is it possible to have different Office2007 themes (black, blue etc..) in one application? If yes, then how?

4) If I apply, for example, the Office 2007 theme, how can I get its metrics? (like SM_CYCAPTION etc..). Will the old Win32 GetSystemMetrics work here (I doubt)? or will I have to get handles to the CommandBars and do a GetWindowRect() and calculate manually?

5) How can I get the height of the status bar?

There were some more questions but I will shut up for now :) . Thanks in advance.

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: 02 February 2009 at 3:57am
Hi,
 
1. EnableDocking method.
2. GUI_VisualStudio and ToolBox samples show it.
3. Ribbon sample show how switch them.
4. yes. Office2007 theme use standard metrics.
5. StatusBar.GetWindowRect.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
DeathProof View Drop Down
Newbie
Newbie


Joined: 31 January 2009
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote DeathProof Quote  Post ReplyReply Direct Link To This Post Posted: 02 February 2009 at 3:26pm
Oleg, Thanks a lot man. (can't decide which smiley fits here, so I've put all the good ones)
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.063 seconds.