Kind, Uwe (AGIS) wrote:
Hi,

I've got a problem with popup menus for TabStrip-controls, demonstrated
in the following lines of code.
The same popup menu which works perfectly for the main-window doesn't
work
for the TabStrip-control. The menu is tracked, but the Click-event
handlers
of the MenuItems aren't called.

Any help to get around this problem would be very appreciated.

I've seen this before, and IIRC it has to do with the way WM_COMMAND messages are not handled correctly for child controls.

The easiest solution is to change your TrackPopupMenu() call to:
  $mw -> TrackPopupMenu( ... );

Could you raise a bug report?

Regards,
Rob.


Reply via email to