Click here to Skip to main content
15,902,445 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I define two CToolBar objects in MainFrm.h,for example,

CToolBar m_wndToolBar;
CToolBar newbar;

when I run the program,it will break off.
please help me.Thank you very much!
Posted

1 solution

"when I run the program,it will break off."

What does this mean? Use the debugger to step through your code and find exactly where it stops and what are the values of the items causing the problem.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900