HwndWrapper.RegisterClass(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
Registers a Window class with the given name, and other options set to default values.
protected:
System::UInt16 RegisterClass(System::String ^ className);
protected:
unsigned short RegisterClass(Platform::String ^ className);
unsigned short RegisterClass(std::wstring const & className);
[System.CLSCompliant(false)]
protected ushort RegisterClass (string className);
protected ushort RegisterClass (string className);
[<System.CLSCompliant(false)>]
member this.RegisterClass : string -> uint16
member this.RegisterClass : string -> uint16
Protected Function RegisterClass (className As String) As UShort
Parameters
- className
- String
The class name for the window.
Returns
The class atom of the registered window class.
- Attributes