Skip to main content

I want to move a bitmap buttons to a different location on the screen.

I referred to the dragdrop sample program  to figure out the logic and wrote a similar routine.

My program successfully moves the push-button, BUT,  even after calling W$MOUSE using RELEASE-MOUSE my program does not recognize the mouse Right Click Up/Down when I want to show a pop-up window.  But if I click on a different tab, then the program responds to my right-clicks and displays my pop-up. (My program displays several tab controls).    Is there a problem with the Release-Mouse option.  Note that after calling W$MOUSE using RELEASE-MOUSE  I do issue the SET ENVIRONMENT "MOUSE-FLAGS" TO AUTO-MOUSE-HANDLING, but the problem is still there.

Is there something else that needs to be done ?

Is there another sample program around that moves a control on the screen ?

Thanks in Advance.