Multiple Context Menu visibility issue
-
Hi All, Just came across a strange issue recently. Maybe its a bug in the framework or something ? I have 2 processes running , each with its own winform UI, say host application and external application. The host application has a user control and a context menu defined for that user control, plus some blank panels. The external application also has a user control and context menu defined on it. Now lets say do a SetParent across processes(i know, i know but that`s what the applications must do right now), with the host process` panel as the parent handle, and the external application`s user control is made its child window, then the context menu`s show unusual behavior i.e we can have both their context menus visible simultaneously ! I`m using the contextmenustrip class of dot net 2.0 and this issue doesn`t seem to occur for the older 1.1 context menu classes (in the same scenario). Is this a known issue with the newer 2.0 class ? Are there any workarounds to rectify this behavior ? Is there any way I can get to know the context menu started, closed events across processes if required? Any help is most appreciated. Thanks in advance.