Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scroll bars and custom statusbar
Message
De
07/04/2004 07:46:36
 
 
À
07/04/2004 07:16:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00892853
Message ID:
00892861
Vues:
17
This message has been marked as the solution to the initial question of the thread.

...
I could move it if I'd know the height of the visible part of the form. However, I was unable to find such propriety. Does anyone knows how to find that info?


Use this W API:
* Add this method to the form root class and call by reference
PROCEDURE GetClientRect
LPARAMETERS l,t,r,b
IF m.this.ShowWindow=SHOWWINDOW_AS_TOP
    GetWindowRect(m.this.HWnd_client,@m.l,@m.t,@m.r,@m.b)
ELSE
    STORE m.this.Left+GetSizingBorderWidth			TO l
    STORE m.this.Top+GetWindowTitleHeight+GetSizingBorderHeight	TO t
    STORE m.l+m.this.Width-GetSizingBorderWidth			TO r
    STORE m.this.Top+m.this.Height-GetSizingBorderHeight	TO b
ENDIF
GetSizingBorderWidth,... are re #define of SYSMETRIC(...)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform