RMB on plugin window twice

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 15/09/2009 at 02:04, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   11.5 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
Hi,

i have a problem with my plugin in R11.5. In my dialog window is a treeview where my own contextmenu will show after a RMB-click. The problem: I have to click twice with the RMB, because at the first time the cinema-internal dialog-contextmenu appears with functions like "Undock", "Fullscreen", "Fullscreen(Group)", ... . Therefore is my question: Is there a possibility to catch the message of these context-menu, in order that these context-menu won´t show? If i have the right messagenumber, maybe i can remove the problem with following code example:

> \> if(msg.GetID() == ???) \>       return GeDialog::Message(msg,result); \>

I hope there is a way to solute these problem.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 15/09/2009 at 05:44, xxxxxxxx wrote:

Are you calling:

bc->FlushAll();

at the top of your CreateContextMenuColumn() override function? This is needed to clear the default menu items.