MartinD
asked on
TBSTYLE_EX_DRAWDDARROWS
How can i create a toolbar with an extented style?
How can i add an arrow with an drop down menu (like redo/undo in word).
Thanks
Martin
How can i add an arrow with an drop down menu (like redo/undo in word).
Thanks
Martin
ASKER
Works fine but:
The last button is not correct displayed.
The Toolbars size is not calculated correctly.
any idea?
The last button is not correct displayed.
The Toolbars size is not calculated correctly.
any idea?
Hi,
What is mean "not correct displayed" and "not calculated correctly"?
Give me a some describe your problem.
Best Regards,
-cheongyh-
What is mean "not correct displayed" and "not calculated correctly"?
Give me a some describe your problem.
Best Regards,
-cheongyh-
ASKER
Because the Butten with the Arrow is larger then a "normal" button, the most right button of the toolbar is not complete visible.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi MartinD,
As I think, you has 3 choice of solution for problem.
1. Expand your main window size.
2. Reduce your button width to adjust in frame windows size.
3. Use Pager Control in Common Controls.
I want to description on 3rd method, but I do not know how to use page control. Sorry!
Hope It help.
-cheongyh-
As I think, you has 3 choice of solution for problem.
1. Expand your main window size.
2. Reduce your button width to adjust in frame windows size.
3. Use Pager Control in Common Controls.
I want to description on 3rd method, but I do not know how to use page control. Sorry!
Hope It help.
-cheongyh-
And, set the button style TBSTYLE_DROPDOWN in TBBUTTON structure's fsStyle.
So, you will see the small arrow on right side of button.
Good Luck
-cheongyh-