Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Repainting/Redrawing ActiveX Controls
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00580208
Message ID:
00580458
Views:
17
>>>
>>>This is strictly a SWAG, but I'd look at sending a WM_PAINT message to the control via either SendMessage() or PostMessage(). My first thought would be to place it in the re-size event. The Treeview control has an hWnd property that would be used to identify the target window.
>>>
>>
>>Use PostMessage, since the hWnd of the TreeView is different than the hWnd of the form, and it doesn't respond to the form's lockscreen property.
>>
>Well, I was working off the top of my head.< bg >

Looks like more and more of the top of your head is exposed... < g,d&r >
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform