From: Mattia B. <mb...@ds...> - 2002-04-25 08:25:03
|
> hello Hi, > for wxDragResult the docs tell me that OnDragOver: > Returns the desired operation or wxDragNone. > -> Determined by SHIFT or CONTROL key states. > because of this, i expect this return values: > -> "wxDragCopy" if i press "Control" > -> "wxDragMove" if i press no key or "Shift" > -> "wxDragNone" never ^^^^^ well it is returned if you want to reject the operation > can someone bring light into my darkness and explain me in which > situation which value should be returned? This is to give feedback to the user. This value will be returned from DoDragDrop when the data is dropped. > or why wxPerl/wxWindows always returns "wxDragNone"? i mean > "wxDragResult" should follow the key states... ? where does it return wxDragNone? > respectively, i just wish to differentiate between "wxDragCopy" and > "wxDragMove" and wish to know if "Control" is pressed. > How can i get this information? use the fourth parameter to OnDragOver ---- Suggested value for return value. Determined by SHIFT or CONTROL key states. ---- HTH Mattia |