Re: Win32Lib Toolbar

new topic     » goto parent     » topic index » view thread      » older message » newer message

In win95 you have to initialize the common controls

and then use CreateToolbarEx(HWND hwnd, DWORD dwStyle,WORD ID,
                             int NumButtons, HINSTANCE hInst,
                             WORD BPID, LPCTBUTTON Buttons,
                             int NumButtons,
                             int ButtonWidth, int ButtonHeight,
                             int BMPWidth, int BMPHeight,
                             UNIT size);

Each button needs a TBBUTON structure.

Its very involved so you should get a book like Schildt,s Windows95

Programming in C and C++ that describes the complete process.

Bernie

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu