CDialog.Constructorconstructor
Creates instances of the `CDialog` class.
Syntax
CONSTRUCTOR (BYREF fontName AS WSTRING = "Segoe UI", BYVAL ptSize AS LONG = 9, BYVAL fontStyle AS BYTE = 0, BYVAL charset AS BYTE = DEFAULT_CHARSET)
Parameters
| Name | Description | |
|---|---|---|
fontName | Optional. The font name. Default value: "Segoe UI" | |
ptSize | Optional. The font point size. Default value: 9 pt. | |
fontStyle | Optional. The font style. 0 = Normal. 2 = Italic. Default value: 0 | |
charset | Optional. The font character set. Default value: DEFAULT_CHARSET |
Description
Creates instances of the CDialog class.
Example
DIM pDialog AS CDialog DIM pDialog AS CDialog = CDialog("Segoe UI", 9) DIM pDialog AS CDialog = CDialog("Times New Roman", 10, 2, DEFAULT_CHARSET)
Reference
- Include file
CDialog.inc - Defined in AfxNova/CDialog.inc:376
- Documented in Windows/Windows GUI/CDialog Class.md
- Topic: CDialog Class