Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows application WindowState(s)
Message
 
To
26/09/2001 04:37:55
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00559929
Message ID:
00560894
Views:
30
>George
>
>You were good enough to provide an example of the use of ShowWindow on the 25th September.
>
>Today, I am unable to locate either the question or your response.
>
>Could you please post your reply again?
>
>I remember it began -'Here goes' followed by a number of #DEFINEs
>
Dennis,

Sure Dennis. The reason you can't find is that the UT has "misplaced" yesterday's messages. Here goes
#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 INTEGER ShowWindow IN Win32API;
  INTEGER hwnd, INTEGER nCmdShow
* lnhwnd is the top-level window you want to change
= ShowWindow(lnhwnd, SW_MAXIMIZE) && Maximize the window
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform