Change icon on toolbar button?

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

Derek, Matt  or other Win32 experts,

I am using a (normal) toolbar in a window. Is there someway of changing 
the bitmap that a button is created with?
I have tried using..

 sendMessage(TB, TB_CHANGEBITMAP, iControl, iIcon)

..but it did not work. In the win32.hlp file it looked like I might have 
to use an imagelist.
How does this work for normal toolbars (I know it works for flat 
toolbars)?

TIA

Mike

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

Search



Quick Links

User menu

Not signed in.

Misc Menu