C# Class PInvoke.User32.DLGTEMPLATE

Show file Open project: AArnott/pinvoke

Public Properties

Property Type Description
cdit short
cx byte
cy byte
dwExtendedStyle int
style int
x byte
y byte

Property Details

cdit public property

The number of items in the dialog box.
public short cdit
return short

cx public property

The width, in dialog box units, of the dialog box.
public byte cx
return byte

cy public property

The height, in dialog box units, of the dialog box.
public byte cy
return byte

dwExtendedStyle public property

The extended styles for a window. This member is not used to create dialog boxes, but applications that use dialog box templates can use it to create other types of windows.
public int dwExtendedStyle
return int

style public property

The style of the dialog box. This member can be a combination of window style values (such as WS_CAPTION and WS_SYSMENU) and dialog box style values (such as DS_CENTER).

If the style member includes the DS_SETFONT style, the header of the dialog box template contains additional data specifying the font to use for text in the client area and controls of the dialog box. The font data begins on the WORD boundary that follows the title array. The font data specifies a 16-bit point size value and a Unicode font name string. If possible, the system creates a font according to the specified values. Then the system sends a WM_SETFONT message to the dialog box and to each control to provide a handle to the font. If DS_SETFONT is not specified, the dialog box template does not include the font data.

The DS_SHELLFONT style is not supported in the DLGTEMPLATE header.

public int style
return int

x public property

The x-coordinate, in dialog box units, of the upper-left corner of the dialog box.
public byte x
return byte

y public property

The y-coordinate, in dialog box units, of the upper-left corner of the dialog box.
public byte y
return byte