Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Saving control bar state in VC++ 5.0!!

Status
Not open for further replies.

manjari

Programmer
Aug 18, 1999
1
US
I am creating one of my toolbar which is by default coming at the bottom of the window and other toolabr is as usual at the top of window.Both of the toolbars are enabled for docking anywhere. I want to save their bar state so that when when i run it toolbars should be at the same position as they were at the time of exiting the application, irresepective of their creation time position attributes.<br>
I have tried to use SaveBarState & LoadBarState functions but no success.<br>
Please help!!<br>
<br>
Manjari.
 
hi there,<br>
<br>
You can save the position of the Toolbar on the Exit of the Application to a ini file so that on start up you can fetch the old position values from that file or use the registry to save the old values.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top