Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
First bug in VFP8SP1 discovered
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00836211
Message ID:
00837894
Views:
56
>>>BindEvent() works fine with _Screen with events like ReSize and RightClick, but it apparently does NOT work with the OLEDragOver event.
>>> ... drag-drop onto _Screen and it worked great, and users LIKED IT ...
>>
>>
>>I agree with the screen hooks, and sympathize with your concerns: The unsupported way seems more elegant to me than BINDEVENT()...
>>
>>However, given what you've got, how about using BINDEVENT() to keep a shape object covering the whole _SCREEN space by binding to the Resize event, and then use the OLEDragDrop event on the Shape object? (or, if you need wallpaper, the OLEDragDrop of a Picture object...)
>
>Thanks! That's pretty clever. Sure worth a try.

BTW, what flags are you passing to the Bindevents() function? By chance, is bit set to 1 (e.g. nflags = 2 or 3)? Depenind on how OleDragDrop is actually called internally, it may be a method and not an event.

Just a guess.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform