Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - SystemButton is required?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SystemButton is required?

 Post Reply Post Reply
Author
Message
dhalonen View Drop Down
Newbie
Newbie
Avatar

Joined: 17 April 2012
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote dhalonen Quote  Post ReplyReply Direct Link To This Post Topic: SystemButton is required?
    Posted: 18 April 2012 at 12:04pm
Hi, I'm trying to build a window & dlog w/o a system button. Looking to simply have several ribbon tabs w/o the blue "File" tab as the 1st tab.

Is this possible?
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: 18 April 2012 at 2:05pm
you can set visible to false, but not remove the extra space.
Back to Top
dhalonen View Drop Down
Newbie
Newbie
Avatar

Joined: 17 April 2012
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote dhalonen Quote  Post ReplyReply Direct Link To This Post Posted: 19 April 2012 at 7:48am
I'm sorry, but it's not clear to me how to achieve success with this recommendation. In reviewing the API, I'm not seeing a method that sets the tab invisible. 

The only one that seems to be helpful is SetHideWrap(), but that didn't have any affect.

Also, what does the extra space mean? The 1st visible tab will be offset to the right by some fixed amount?
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 30 April 2012 at 11:18am
You just don't call AddSystemButton and make sure you don't call an old command bars state from registry/XML (LoadCommandbars). So you need to delete the old state first or comment LoadState and then run it once.
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.047 seconds.