Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - showwindow() make the window show on the screen http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ShowWindow()           Make the window show on the screen
--------------------------------------------------------------------------------

   Syntax:              ShowWindow( <hWnd>, <nMode> )  --> <lSuccess>


   Parameters:

   <hWnd>               Identifies the window.

   <nMode>              Specifies how the window is to be shown. This
                        parameter can be one of the following values:

                        Value    Meaning

                        SW_HIDE  Hides the window and passes activation to
                                 another window.

                        SW_MINIMIZE Minimizes the specified window and
                                 activates the top-level window in the
                                 system's list.

                        SW_RESTORE Activates and displays a window. If the
                                 window is minimized or maximized, Windows
                                 restores it to its original size and
                                 position (same as SW_SHOWNORMAL).

                        SW_SHOW  Activates a window and displays it in its
                                 current size and position.

                        SW_SHOWMAXIMIZED  Activates a window and displays it
                                 as a maximized window.

                        SW_SHOWMINIMIZED  Activates a window and displays it
                                 as an icon.

                        SW_SHOWMINNOACTIVE Displays a window as an icon. The
                                 window that is currently active remains
                                 active.

                        SW_SHOWNA Displays a window in its current state. The
                                 window that is currently active remains
                                 active.

                        SW_SHOWNOACTIVATE  Displays a window in its most
                                 recent size and position. The window that is
                                 currently active remains active.

                        SW_SHOWNORMAL Activates and displays a window. If the
                                 window is minimized or maximized, Windows
                                 restores it to its original size and
                                 position (same as SW_RESTORE).

                        #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

   Returns:

   <lSuccess>           A logical value indicating if the operation
                        was performed successfully.

   Sample:              Class TWindow METHOD Show()


   Source code:         SOURCE\\WINAPI\\WndShow.c

   See also:            IsWindowVisible()


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson