This is a question on drag/drop.
I have two dialogs A and B running in the same process (i.e. both started by
a single script).
Both dialogs are "mouse-enabled" (that is, both connect to mouse events, and
A also sets the mouse cursor on Button1Down).
So, I pick up on A and drag the cursor over B.
When dragging over B, I get no messages sent to either A or B. So I cannot
set the cursor appropriately.
When I drop on B, I get a MouseMove event sent to B.
However, when the cursor is over B, I want to change it to an "OkayToDrop"
cursor. But with no messages sent to either A or B, I conclude that I cannot
set the cursor to OK on the basis of a message being receive by B.
Now, the dragNdrop sample in ooRexx\Samples\ooDialog\mouse DOES change the
cursor when dragging from (say) the NFL listview to the West listview. It
does this on an NFL mouseMove message by determining whther the cursor is
over an acceptable target (either of the other two listviews).
My question: Is this the only way to determine when the mouse is over the
target? That is (ref the A and B example above) have the A determine, on a
MouseMove message sent to it, whether the cursor is over B or not?
Thanks in anticipation,
Oliver
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users