Information générale
Catégorie:
Fonctions Windows API
>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement