Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to call SetWindowRgn to chg window shape?
Message
From
23/02/1999 22:13:09
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
How to call SetWindowRgn to chg window shape?
Miscellaneous
Thread ID:
00190775
Message ID:
00190775
Views:
56
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.
Next
Reply
Map
View

Click here to load this message in the networking platform