COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 09-25-2013, 02:26 PM   #1
cisdsp
Human being with feelings
 
cisdsp's Avatar
 
Join Date: Mar 2013
Posts: 75
Default PopupMenu

Short Question: is it possible to change the look of a popup menu?
Maybe overriding "NSMenu"? Did you tried something like this?
__________________
Website: CIS DSP Factory
cisdsp is offline   Reply With Quote
Old 09-26-2013, 01:48 AM   #2
olilarkin
Human being with feelings
 
Join Date: Apr 2009
Location: Berlin, Germany
Posts: 1,248
Default

not without editing the IGraphicsCocoa/IGraphicsCarbon code. You could try making a popup menu IControl, but you'd then have to implement all the logic to get the menu in the correct place.
__________________
VirtualCZ | Endless Series | iPlug2 | Linkedin | Facebook
olilarkin is offline   Reply With Quote
Old 09-26-2013, 02:34 AM   #3
cisdsp
Human being with feelings
 
cisdsp's Avatar
 
Join Date: Mar 2013
Posts: 75
Default

Quote:
Originally Posted by olilarkin View Post
not without editing the IGraphicsCocoa/IGraphicsCarbon code. You could try making a popup menu IControl, but you'd then have to implement all the logic to get the menu in the correct place.
That was my first approach, but I'd like to avoid writing my own control if it was easier to change the look within the existing class. I'll try on and if I have success I'll post here. Thank you
__________________
Website: CIS DSP Factory
cisdsp is offline   Reply With Quote
Old 09-26-2013, 02:37 AM   #4
olilarkin
Human being with feelings
 
Join Date: Apr 2009
Location: Berlin, Germany
Posts: 1,248
Default

some hosts (logic) override the NSMenu look BTW
__________________
VirtualCZ | Endless Series | iPlug2 | Linkedin | Facebook
olilarkin is offline   Reply With Quote
Old 09-26-2013, 02:57 AM   #5
cisdsp
Human being with feelings
 
cisdsp's Avatar
 
Join Date: Mar 2013
Posts: 75
Default

OK. Didn't know that. Thank you again!
__________________
Website: CIS DSP Factory
cisdsp is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:46 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.