News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

vertical toolbar

Started by ragdog, July 19, 2007, 04:45:56 PM

Previous topic - Next topic

ragdog

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

ragdog

#1
i have a question, how could i scroll up and down a vertical toolbar  ?
what apis or have your an example?

thanks in forward

ragdog


have your no ideas for solve my problem

greets
ragdog

Biterider

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