Click here to Skip to main content
15,914,010 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a toolbar with 10 controls but now i want to add 5more controls on the same toolbar with in a new line.

in the existing behaviour, the tool bar creation is done using the Create() function. After reading the CToolbar articals i came to know that we have to pass the TBSTYLE_WRAPABLE as a style parameter but in this case how to set the style of the control is TBSTYLE_WRAPABLE? with out distrubing the existing behaviour.


CreateEx() is the function here we can pass "TBSTYLE_WRAPABLE" as a parameter at the time of toolbar creation.

Can you please some body help me on this?
Posted

1 solution

Have a look at:
a simple mfc program to create simple common controls
[^]

I haven't tested this, but the implementation looks reasonable ...

Best regards
Espen Harlinn
 
Share this answer
 
Comments
Sandeep Mewara 13-Jul-12 2:24am    
Looks like would help. 5!
Espen Harlinn 13-Jul-12 4:10am    
Thank you, Sandeep :-D

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