Name
CreateWindowEx
Synopsis
Creates a window:
Public Declare Function CreateWindowEx Lib "user32" Alias "CreateWindowExA" _ (ByVal dwExStyle As Long, ByVal lpClassName As String, _ ByVal lpWindowName As String, ByVal dwStyle As Long, _ ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, _ ByVal nHeight As Long, ByVal hWndParent As Long, _ ByVal hMenu As Long, ByVal hInstance As Long, lpParam As Any) As Long
-
dwExStyle
One or more extended styles of the window
OR
ed together-
WS_EX_APPWINDOW
A top-level window is placed on the taskbar when the window is visible.
-
WS_EX_CLIENTEDGE
Specifies a window with a border and a sunken edge.
-
WS_EX_DLGMODALFRAME
Specifies a window with a double border.
-
WS_EX_NOACTIVATE
Used in Windows 2000 to specify a window that a user cannot make the foreground window.
-
WS_EX_NOPARENTNOTIFY
Specifies a child window that does not send the
WM_PARENTNOTIFY
message to its parent window.-
WS_EX_OVERLAPPEDWINDOW
Equivalent to
(WS_EX_CLIENTEDGE OR WS_EX_WINDOWEDGE)
.-
WS_EX_STATICEDGE
Specifies a window that has a three-dimensional border but does not take user input.
-
WS_EX_TOPMOST
Specifies a window that should always be placed on top of other windows that are set to be top-most windows.
-
WS_EX_WINDOWEDGE
Specifies a window with a border and a raised edge.
-
-
lpClassName
A string containing the name of the class from which this window inherits
-
lpWindowName
A string displayed in the title bar of the window
-
dwStyle
One or more window styles or control styles
OR
Get Subclassing and Hooking with Visual Basic now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.