hi @all
I would like there my am toolbar vertically indicated with A resource editor works this I would like now with this function
invoke CreateWindowEx, NULL,
addr ToolbarClass,
NULL,
WS_CHILD or WS_VISIBLE or WS_EX_LEFT + CCS_VERT + CCS_TOP + CCS_NORESIZE + TBSTATE_WRAP ,
0,0,100,50,
hWnd,
NULL,
hInstance,
NULL
i have solved this problem
invoke CreateWindowEx,0,
ADDR ToolbarClass,
NULL,
WS_CHILD or WS_VISIBLE or WS_EX_LTRREADING or CCS_NODIVIDER or CCS_NORESIZE /
or TBSTYLE_FLAT + TBSTYLE_WRAPABLE,
10,10,40,382,
hWnd,NULL,
hInstance,NULL
greets
ragdog
i have a question, how could i scroll up and down a vertical toolbar ?
what apis or have your an example?
thanks in forward
have your no ideas for solve my problem
greets
ragdog
Hi ragdog
One way to solve your problem is when you embed your control on a new window. This parent window has to show the vertical slider and you have to manage it to move accordingly the vertical toolbar. It is the same strategy you use with rebars.
Regards,
Biterider
TBSTATE_WRAP is a state of the toolbar button!MSDN has a sample:http://msdn2.microsoft.com/en-us/library/bb760446(VS.85).aspx#Creating_Vertical_Toolbar