Add a bitmap to an AcEdUIContext Menu

Add a bitmap to an AcEdUIContext Menu

Anonymous
Not applicable
763 Views
3 Replies
Message 1 of 4

Add a bitmap to an AcEdUIContext Menu

Anonymous
Not applicable
Hello,

Anybody have experienced adding bitmap/icon image to an AcEdUIContext menu ? is it possible ? in defaultContext() OnUpdateMenu() ?

Thank you for your help.

Olivier.
0 Likes
764 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Any place where you have the HMENU should
work.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com

wrote in message news:5634255@discussion.autodesk.com...
Hello,

Anybody have experienced adding bitmap/icon image to an AcEdUIContext menu ? is it possible ? in defaultContext() OnUpdateMenu() ?

Thank you for your help.

Olivier.
0 Likes
Message 3 of 4

Anonymous
Not applicable

any example?

I've tried this ,  and that didn't work. ObjectARX 2014

then, I 've read this here

There is no limit on the number of menu items, but items should contain only text. 

https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2017/ENU/OARXMAC-RefGuide/file...

 

 

0 Likes
Message 4 of 4

nick83
Advocate
Advocate

without source code its hard to say what is wrong. as i know, you have to add bitmaps to menu item in "MFC way", couse ObjectARX can just attach your menu and use it. 

so, what about using CMenu::SetMenuItemBitmaps or CMenu::SetMenuItemInfo to your menu items?

0 Likes