Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "showwindow" in [All]

Interfaces

.

     void OnShowWindow(bool fShow);

.

    Sub OnShowWindow(ByVal fShow As Boolean)

kernel32

.

Hides the active console window. Much easier than using ShowWindow on the current process.

.

Private Function ShowWindow(ByVal hwnd As IntPtr, ByVal nCmdShow As ShowWindowCommands) As Boolean

.

Enum ShowWindowCommands As Integer

.

    ShowWindow(hwnd, ShowWindowCommands.ShowMinimized)

.

      public ushort wShowWindow;

coredll

.

    public short wShowWindow;

.

    public const int SWP_SHOWWINDOW = 0x0040;

.

    Public Const SWP_SHOWWINDOW As Integer = &H40

.

            SetWindowPos(handle, 0, 0, 0, 240, 26, SWP_SHOWWINDOW);

.

    public const int SWP_SHOWWINDOW = 0x0040;

.

    Public Const SWP_SHOWWINDOW As Integer = &H40

.

            SetWindowPos(handle, 0, 0, 0, 240, 26, SWP_SHOWWINDOW);

.

        /// <remarks>SWP_SHOWWINDOW</remarks>

.

        ShowWindow = 0x0040,

.

static extern bool ShowWindow(IntPtr hWnd, int nCmdShow);

.

Declare Function ShowWindow Lib "coredll.dll" (ByRef hWnd As IntPtr, ByVal nCmdShow As Integer) As Boolean

.

nCmdShow is an integer type parameter specifying how the window is to be shown. See ShowWindowCommand

Structures

.

        public int            nShow;         // one of SW_ values for ShowWindow() API

.

     public ShowWindowCommands ShowCmd;

.

     Public showCmd As ShowWindowCommand

.

POINT, RECT, ShowWindowCommands

user32

.

If any of the windows in the multiple-window- position structure have the SWP_HIDEWINDOW or SWP_SHOWWINDOW flag set, none of the windows are repositioned.

.

/// <para>If an overlapped window is created with the WS_VISIBLE style bit set and the x parameter is set to CW_USEDEFAULT, then the y parameter determines how the window is shown. If the y parameter is CW_USEDEFAULT, then the window manager calls ShowWindow with the SW_SHOW flag after the window has been created. If the y parameter is some other value, then the window manager calls ShowWindow with that value as the nCmdShow parameter.</para></param>

.

''' <para>If an overlapped window is created with the WS_VISIBLE style bit set and the x parameter is set to CW_USEDEFAULT, then the y parameter determines how the window is shown. If the y parameter is CW_USEDEFAULT, then the window manager calls ShowWindow with the SW_SHOW flag after the window has been created. If the y parameter is some other value, then the window manager calls ShowWindow with that value as the nCmdShow parameter.</para></param>

.

            Win32.ShowWindow(hwnd, ShowWindowCommands.Normal );

.

    SWP_SHOWWINDOW = 0x0040

.

    SWP_SHOWWINDOW = &H0040

.

    SWP_SHOWWINDOW As Integer = &H0040

.

        public static extern int ShowWindow( IntPtr Hwnd , int iCmdShow );

.

                    ShowWindow( Hwnd , iRestore );

.

                    ShowWindow( Hwnd , iShow );

.

      private static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);

.

        ShowWindowAsync(hWnd, SW_RESTORE);

.

        ShowWindow(hWnd, SW_SHOW);

.

        ShowWindow(hWnd, SW_SHOW);

.

    static extern bool ShowWindow(IntPtr hWnd, int nCmdShow);

.

    //ShowWindow(proc.MainWindowHandle, 0);

.

    //ShowWindow(proc.MainWindowHandle, 1);

.

    ///         <term>SWP_SHOWWINDOW (0x0040)</term><description>Displays the window.</description>

.

   SHOWWINDOW = 0x0040,

.

        SWP_SHOWWINDOW = 0x0040,

.

             SetWindowPosFlags.SWP_SHOWWINDOW);

.
Summary
.

Look at ShowWindow instead.

.
Summary
.

static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);

.

Public Shared Function ShowWindowAsync(hWnd As IntPtr, <MarshalAs(UnmanagedType.I4)>nCmdShow As ShowWindowCommands) As <MarshalAs(UnmanagedType.Bool)> Boolean

.

Public Declare Function ShowWindowAsync Lib "user32" _

.

ShowWindowCommands

.

private static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);

.

ShowWindowAsync(i, SW_RESTORE);

.

private static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);

.

ShowWindowAsync(handle, 0);

.
Documentation
[ShowWindowAsync] on MSDN
.
Summary
.

static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);

.

Public Function ShowWindowAsync(hWnd As IntPtr, <MarshalAs(UnmanagedType.I4)>nCmdShow As ShowWindowCommands) As <MarshalAs(UnmanagedType.Bool)> Boolean

.

Public Declare Function ShowWindowAsync Lib "user32" _

.

ShowWindowCommands

.

private static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);

.

ShowWindowAsync(i, SW_RESTORE);

.

private static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);

.

ShowWindowAsync(handle, 0);

.
Documentation
[ShowWindowAsync] on MSDN

Enums

.

    SWP_SHOWWINDOW = 0x0040

.

    SWP_SHOWWINDOW = &H0040

.

    SWP_SHOWWINDOW As Integer = &H0040

.

    /// <remarks>SWP_SHOWWINDOW</remarks>

.

    ShowWindow = 0x0040,

.

    ''' <remarks>SWP_SHOWWINDOW</remarks>

.

    ShowWindow = &H40

.
Summary
.

enum ShowWindowCommands

.

    /// is similar to <see cref="Win32.ShowWindowCommand.Normal"/>, except

.

    /// <see cref="Win32.ShowWindowCommand.ShowMinimized"/>, except the

.

    /// similar to <see cref="Win32.ShowWindowCommand.Show"/>, except the

.

Enum ShowWindowCommands As Integer

.

    ''' is similar to <see cref="Win32.ShowWindowCommands.Normal"/>, except

.

    ''' <see cref="Win32.ShowWindowCommands.ShowMinimized"/>, except the

.

    ''' similar to <see cref="Win32.ShowWindowCommands.Show"/>, except the

.

    public enum ShowWindowCommands : uint {

.

        ///        Displays a window in its most recent size and position. This value is similar to <see cref="ShowWindowCommands.SW_SHOWNORMAL"/>, except the window is not activated.

.

        ///        Displays the window as a minimized window. This value is similar to <see cref="ShowWindowCommands.SW_SHOWMINIMIZED"/>, except the window is not activated.

.

        ///        Displays the window in its current size and position. This value is similar to <see cref="ShowWindowCommands.SW_SHOW"/>, except the window is not activated.

.

    Public Enum ShowWindowCommands

.
Documentation
[SHOWWINDOW_FLAGS] on MSDN
26: STARTF
.

        STARTF_USESHOWWINDOW = 0x00000001,

.

    STARTF_USESHOWWINDOW = &H1

27: SWP
.

      SHOWWINDOW = 0x0040,

.

    /// The WM_SHOWWINDOW message is sent to a window when the window is about to be hidden or shown.

.

    SHOWWINDOW = 0x0018,

.

    '''The WM_SHOWWINDOW message is sent to a window when the window is about to be hidden or shown

.

    WM_SHOWWINDOW = &H18

.

    ''' call to the <see cref="NativeMethods.ShowWindow"/> function.

.

    WmShowWindow = &H18

advapi32

.

    Public showWindow As UInt16

.

            public UInt16 showWindow;

Constants

30: SW
.

const UInt32 SWP_SHOWWINDOW      =0x0040;

.

    Const SWP_SHOWWINDOW As Integer = &H40

31: SWP
.

const UInt32 SWP_SHOWWINDOW      =0x0040;

32: WM
.
WM_SHOWWINDOW 0x18 The WM_SHOWWINDOW message is sent to a window when the window is about to be hidden or shown
.

private const UInt32 WM_SHOWWINDOW         = 0x0018;

.

   WM_SHOWWINDOW = &H18

.

WM_SHOWWINDOW         equ 018h


 
Access PInvoke.net directly from VS: