1. Win32Lib Toolbar
Hello,
Does anybody have a workaround for creating toolbars (or toolbar lookalikes)
in Win32Lib? (Just figuring out how to display a bitmap image on a button
would be good enough for my purposes)
Thanks
Brian Jackson
bjackson at 2fargon.hypermart.net
2. Re: Win32Lib Toolbar
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