title | description | keywords | topic_type | ms.topic | api_name | api_location | api_type | ms.date | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TVOT_EDITBOX |
The TVOT_EDITBOX option type consists of an edit box inside a group box. |
|
|
reference |
|
|
|
01/30/2023 |
[!includePrint Support Apps]
The TVOT_EDITBOX option type consists of an edit box inside a group box.
Sel/pSel
Application-supplied pointer to a NULL-terminated string containing the current contents of the edit box.
pData
pOptParam[0]->pData points to a NULL-terminated text string to be displayed to the right of the edit box. pOptParam[1]->pData points to a NULL-terminated text string to be displayed above the edit box.
IconID
pOptParam[0]->IconID identifies an icon to be associated with the edit box. pOptParam[1]->IconID is used for specifying the size, in bytes, of both the edit box and the buffer pointed to by pSel in the OPTITEM structure.
lParam
Not used.
Type
TVOT_EDITBOX
Count
2
Style
Not used.
BegCtrlID
If pDlgPage in COMPROPSHEETUI identifies a CPSUI-supplied page, or if DlgTemplateID in DLGPAGE identifies a CPSUI-supplied template, BegCtrlID is not used. Otherwise, BegCtrlID must contain the first control identifier of a sequentially numbered set of control identifiers. Control identifiers must identify the following Windows controls:
Control Identifier | Windows Control |
---|---|
BegCtrlID contents | Group box |
BegCtrlID contents+1 | Title text |
BegCtrlID contents+2 | Edit box |
BegCtrlID contents+3 | Edit box icon |
BegCtrlID contents+4 | Text positioned to the right of the edit box |
BegCtrlID contents+5 | Text positioned above the edit box |
BegCtrlID contents+6 | Extended check box or extended push button (optional) |
BegCtrlID contents+7 | Extended check box or extended push button icon (optional) |
For additional information, see Customizing CPSUI-Supported Window Controls.
Header: compstui.h (include Compstui.h)