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

Toolbar reset notification

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

Joined: 13 July 2006
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote IRMark Quote  Post ReplyReply Direct Link To This Post Topic: Toolbar reset notification
    Posted: 18 August 2006 at 11:19am

Hi,

In one of our products we are using the Xtreme ToolkitPro and are wanting to hide the toolbar reset notification dialog that comes up whenever we change the toolbars:

"Due to a software update the toolbar 'Standard' has changed. Would you like to reset your customized toolbar and load the new one?"

We would simply like to do this automatically with no user interaction, is this possible?

I'm sorry if I'm re-asking a question that has been asked many times on the forum, but I was unable to find any posts on this subject.


Thanks!

mark.
Back to Top
Marcus View Drop Down
Groupie
Groupie


Joined: 04 June 2006
Location: Germany
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marcus Quote  Post ReplyReply Direct Link To This Post Posted: 18 August 2006 at 11:37am
How about calling
void LoadCommandBars(
    LPCTSTR lpszProfileName, 
    BOOL bSilent = FALSE
);
with bSilent==TRUE?
Back to Top
IRMark View Drop Down
Groupie
Groupie
Avatar

Joined: 13 July 2006
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote IRMark Quote  Post ReplyReply Direct Link To This Post Posted: 18 August 2006 at 3:45pm
Hi Marcus,

Thanks  a lot!  That appears to be what I was looking for!  I was having trouble re-creating the message box and wasn't sure what to look for.  Thanks for the quick reply!

mark.
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.031 seconds.