How to insert icon into a toolbar?
-
Hey I have an icon. I would like to insert the icon into a toolbar.How to do? Thanks JP
-
Hey I have an icon. I would like to insert the icon into a toolbar.How to do? Thanks JP
Insert an icon means to insert a new toolbar button if so use TB_INSERTBUTTON message to do it.
MSN Messenger. prakashnadar@msn.com
-
Hey I have an icon. I would like to insert the icon into a toolbar.How to do? Thanks JP
Use... TB_INSERTBUTTON AddButton(...); which has following paramater HRESULT AddButtons( int nButtons, // number of buttons LPMMCBUTTON lpButtons // pointer to an MMCBUTTON structure ); LPMMCBUTTON ..... typedef struct _MMCBUTTON { int nBitmap ; int idCommand; BYTE fsState; BYTE fsType; LPOLESTR lpButtonText; LPOLESTR lpTooltipText; } MMCBUTTON; typedef MMCBUTTON* LPMMCBUTTON; regards Balkrishna Talele