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
ORed 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_PARENTNOTIFYmessage 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
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access