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 "RegisterClassEx" in [All]

Structures

.
Summary
The WNDCLASSEX structure contains window class information. It is used with the RegisterClassEx and GetClassInfoEx functions. The WNDCLASSEX structure is similar to the WNDCLASS structure. There are two differences. WNDCLASSEX includes the cbSize member, which specifies the size of the structure, and the hIconSm member, which contains a handle to a small icon associated with the window class.
.
    • Pointer to a null-terminated string or is an atom. If this parameter is an atom, it must be a class atom created by a previous call to the RegisterClass or RegisterClassEx function. The atom must be in the low-order word of lpszClassName; the high-order word must be zero.
.
    • If lpszClassName is a string, it specifies the window class name. The class name can be any name registered with RegisterClass or RegisterClassEx, or any of the predefined control-class names.
.
Summary
The WNDCLASSEX structure contains window class information. It is used with the RegisterClassEx and GetClassInfoEx functions. The WNDCLASSEX structure is similar to the WNDCLASS structure. There are two differences. WNDCLASSEX includes the cbSize member, which specifies the size of the structure, and the hIconSm member, which contains a handle to a small icon associated with the window class.
.
    • Pointer to a null-terminated string or is an atom. If this parameter is an atom, it must be a class atom created by a previous call to the RegisterClass or RegisterClassEx function. The atom must be in the low-order word of lpszClassName; the high-order word must be zero.
.
    • If lpszClassName is a string, it specifies the window class name. The class name can be any name registered with RegisterClass or RegisterClassEx, or any of the predefined control-class names.

user32

.

/// <param name="lpClassName">Pointer to a null-terminated string or a class atom created by a previous call to the RegisterClass or RegisterClassEx function. The atom must be in the low-order word of lpClassName; the high-order word must be zero. If lpClassName is a string, it specifies the window class name. The class name can be any name registered with RegisterClass or RegisterClassEx, provided that the module that registers the class is also the module that creates the window. The class name can also be any of the predefined system class names.</param>

.

''' <param name="lpClassName">Pointer to a null-terminated string or a class atom created by a previous call to the RegisterClass or RegisterClassEx function. The atom must be in the low-order word of lpClassName; the high-order word must be zero. If lpClassName is a string, it specifies the window class name. The class name can be any name registered with RegisterClass or RegisterClassEx, provided that the module that registers the class is also the module that creates the window. The class name can also be any of the predefined system class names.</param>

.
Summary
The RegisterClassEx API registers a new window class to be created using CreateWindow or CreateWindowEx.
.

static extern short RegisterClassEx([In] ref WNDCLASSEX lpwcx);

.

Public Shared Function RegisterClassEx(ByRef lpwcx As WNDCLASSEX) As Short

.

    Private Shared Function RegisterClassEx(ByRef lpwcx As WNDCLASSEX) As Short

.

    Dim rVal As Short = RegisterClassEx(WndClass)

.
Documentation
[RegisterClassEx] on MSDN
.
Summary
The RegisterClassEx API registers a new window class to be created using CreateWindow or CreateWindowEx.
.

static extern short RegisterClassEx([In] ref WNDCLASSEX lpwcx);

.

Public Shared Function RegisterClassEx(ByRef lpwcx As WNDCLASSEX) As Short

.
Documentation
[RegisterClassEx] on MSDN
.

static extern TODO unregisterClassEx(TODO);

.

Declare Function unregisterClassEx Lib "user32.dll" (TODO) As TODO

.

    Private Shared Function RegisterClassEx(ByRef lpwcx As WNDCLASSEX) As Short

.

    Dim rVal As Short = RegisterClassEx(WndClass)

.
Documentation
[unregisterClassEx] on MSDN

 
Access PInvoke.net directly from VS: