Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Show form as circle
Message
De
19/08/2004 00:25:24
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Show form as circle
Divers
Thread ID:
00934377
Message ID:
00934377
Vues:
58
Dear Sir,

How to use following codes, in VFP6, to show form as circle.
LOCAL nhWnd, nWidth, nHeight, nRegion

DECLARE INTEGER CreateEllipticRgn IN gdi32 ;
        INTEGER X1 , INTEGER Y1 , INTEGER X2 , INTEGER Y2
DECLARE INTEGER SetWindowRgn IN user32 ;
        INTEGER HWND, INTEGER hRgn , INTEGER bRedraw

nhWnd = This.HWnd
nWidth = This.WIDTH / 1 && change ratio
nHeight = This.HEIGHT / 1 && change ratio
nRegion = CreateEllipticRgn(0, 0, nWidth, nHeight)
SetWindowRgn(nhWnd, nRegion, 1)
Please help
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform