options to disable : scintilla popupmenu & tab popupmenu

Working on new editor enhancements?
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

options to disable : scintilla popupmenu & tab popupmenu

Post by eddy »

It's just a request.

I want to add an alternate version of these two popupmenus in my external tool.
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
freak
PureBasic Team
PureBasic Team
Posts: 5941
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

You could just hook the main window for events, and steal the WM_CONTEXTMENU event.

It doesn't make sense to add a preference option just for an external tool
quidquid Latine dictum sit altum videtur
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

I tried but my hook monitors messages after they have been processed
( WH_CALLWNDPROCRET )
The result is a flickering popupmenu. (old popup shown, old popup removed, new popup shown)

I can try to add another hook but I wonder if it's good idea to install many hooks :?
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
Post Reply