Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Default state of toolbar?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Default state of toolbar?

 Post Reply Post Reply
Author
Message
jeffcmj View Drop Down
Groupie
Groupie


Joined: 28 October 2004
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeffcmj Quote  Post ReplyReply Direct Link To This Post Topic: Default state of toolbar?
    Posted: 13 May 2005 at 6:13am

Hi,

I have a toolbar which has 20 button. I want when my app is installed in user's system, some buttons are hidden by default (of course, user will be able to show it by customize the toolbar). How could I do it in XT toolkit?

Thanks

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 13 May 2005 at 8:05am

In OnCreateConttrol handle create button and

call pControl->SetHiddenFlags(xtpHideCustomize);

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.029 seconds.