?
Solved

Customize Toolbar

Posted on 2003-03-07
4
Medium Priority
?
254 Views
Last Modified: 2013-11-20
I use GetToolBarCtrl().Customize() to customize my toolbar. But when I end the application and start it again, I will not get the toolbar that I have changed, everytime I will get the default toolbar? Does anyone know how to correctly save/restore the toolbar information when I customizing a toolbar? Than you!!!!!!!!

0
Comment
Question by:Xiaoyang
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Accepted Solution

by:
chual earned 1000 total points
ID: 8092380
Call LoadBarState("My program tool bar") when your program starts and call SaveBarState("My program tool bar") when your program ends. The string passed in LoadBarState and SaveBarState must be the same.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month14 days, 18 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question