Click Mouse RButtonDown Menu |
Post Reply |
Author | |
skyliou
Newbie Joined: 27 August 2009 Location: Taiwan Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 22 September 2009 at 1:04pm |
Hi Oleg, i want to add a bitmap icon to mouse right button down Cmenu (office2007 style) do you have any idea or sample ? (not replace default icon) thank you very much. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, if you show Menu using CommandBars you need add this icon to XTPImageManager()->SetIcon(..)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
skyliou
Newbie Joined: 27 August 2009 Location: Taiwan Status: Offline Points: 6 |
Post Options
Thanks(0)
|
Hi oleg,
if i am not show Menu using CommandBars, how can i do? my dialog is no commandbar but i study sample there are commandbar samples. now i set a loadicon function UINT uiMenuImg[] = {ID_CONNECT_ONE,ID_DISCONNECT_ONE_EX,ID_MOTIONDETECTION,ID_TALK,ID_CAMERASETTING,ID_SOUND_NOTY,ID_CONNECT, ID_SNAPSHOT_SINGLE}; XTPImageManager()->SetIcons(IDB_BMP_ICON_IMG, uiMenuImg, _countof(uiMenuImg), CSize(16, 16),xtpImageNormal); but there is no response. is anything i ignore? Oleg, thanks a lot. James |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |