Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LockScreen and ActiveX Controls
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00451758
Message ID:
00451780
Views:
22
Hi George:

So what I'm doing wrong with LockWindowUpdate() is locking the VFP form where I should be locking the activeX object on the form. Yes??

The ActiveX is TrueDBGrid60 from Apex, and it has a function to return its hWnd, which is very handy. Also, this is a very flexible and robust replacement for the native VFP grid, if you have not looked at it. Version 7.0, just out, is supposed to be even faster in VFP.

I would like to read your VFUG article. How do I get to it?

Regards, and many thanks for the prompt reply. If you ever go on vacation, I'm dead.

JME
>
>It's true that LockScreen has no effect on ActiveX controls. This is because they're separate windows and Windows can only lock screen updates on one window at a time. Some ActiveX controls, such as the Treeview, have an hWnd property that can be used with LockWindowUpdate. With others, you have to use FindWindowEx() to locate the proper window handle. FWIW, I wrote an article in the VFUG newsletter (this past June I think) on doing refreshes with the TreeView control. You might want to take a look at that.
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform