We have an Item inquiry panel with a thumbnail picture. When the user clicks on the picture, it opens a child dialog with a larger image and a Close button. If they change Items on the main window, the image changes in the child dialog, as well.
The problem arises when the user accidentally right-clicks on the child dialog. It will generate an Error#65 (see attached). Evidently, the CTL value generated is -1082 (RIGHT-MOUSE-CLICK-DOWN/drag), but *winproc isn't checking for that at all (that I can see), only -1083 (RIGHT-MOUSE-CLICK-UP). It doesn't recognize the mouse click for what it is, tries to resolve it into something it isn't, and fails miserably.
Has anyone run into something like this? Is there something I'm not setting properly? I've tried to create a popup menu to attach to the panel, but that doesn't work, either. (A popup on the main window works fine, even with the child active.)
Running PxPlus v13.10, WindX on Windows 10 via *nthost/*ntslave, on Linux RedHat 5
(Upgrading everything soon!)