Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Window Focus
Message
 
 
To
19/01/2004 14:42:39
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00866169
Message ID:
00868281
Views:
49
>Hi Sergey,
>
>In the meantime your 2 functions are working like a bell. But I realize, that when a window is minimzed, the SetForegroundWindow() API does not bring it in front. Do you know by any chance a maximize function in API, if not, I will try to post this question in public.
>Thank you so much in advance
>
Johann,

You can try ShowWindow
#define SW_HIDE             0
#define SW_SHOWNORMAL       1
#define SW_NORMAL           1
#define SW_SHOWMINIMIZED    2
#define SW_SHOWMAXIMIZED    3
#define SW_MAXIMIZE         3
#define SW_SHOWNOACTIVATE   4
#define SW_SHOW             5
#define SW_MINIMIZE         6
#define SW_SHOWMINNOACTIVE  7
#define SW_SHOWNA           8
#define SW_RESTORE          9
#define SW_SHOWDEFAULT      10
#define SW_FORCEMINIMIZE    11
#define SW_MAX              11
DECLARE LONG ShowWindow IN WIN32API LONG , LONG
=ShowWindow(< hWnd >, SW_MAXIMIZE)
* or
=ShowWindow(< hWnd >, SW_SHOWMAXIMIZE)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform