Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to call SetWindowRgn to chg window shape?
Message
De
23/02/1999 22:13:09
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
How to call SetWindowRgn to chg window shape?
Divers
Thread ID:
00190775
Message ID:
00190775
Vues:
58
int SetWindowRgn(
HWND hWnd, // handle to window whose window region is to be set
HRGN hRgn, // handle to region
BOOL bRedraw // window redraw flag
);

Information From Win32.hlp

With FindWindow, I can fill in the first parameter.

* At Form.load()
Declare Integer FindWindow In Win32API;
STRING @lpClassName, STRING @lpWindowName

lctitletext = Thisform.Caption
lnhWnd = FindWindow(0, @lctitletext)

Declare Integer SetWindowRgn In Win32API;
Integer hWnd, Integer hRgn, Bool bRedraw



Then, If I want to resize to polygram window, or circle window?!
What should I pass at middle parameter?! ?_?

Actually, how it make the window into a Non-rectanglar shape?!
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform