Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does any body knows how can a make a custom shape button
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00453018
Message ID:
00454761
Views:
28
>Vlad,
>While controls are windows in environments like VB and VC++ MFC, they are not in VFP. VFP renders a bitmap image of the control and that is what you see. SO there is no window handle to retrieve and manipulate.
>
>I believe this goes back to the lagacy of having to deal with the MAC in VFP 3.0.
>

From the Access 97 Developer's Handbook by Litwin, Getz, and Gilbert:

"The Access controls are just 'paint on the screen,' at least until each becomes the active control. Access uses this technique to conserve resources: because you may have 200, 300, or more controls on a single form, it's important that you not run out of window handles, graphics resources, and so on. (Yes, it's still possible to run out of resources under Windows 95.. It's difficult, but possible....)

I know that they're talking about Access, but the same reasoning could apply to VFP.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform