2.5.61 ControlInfo

The ControlInfo structure specifies the properties of some form control in a Dialog Sheet. The control MUST be a group, radio button, label, button or checkbox.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

A

B

C

D

reserved1

accel1

reserved2

A - fDefault (1 bit): A bit that specifies whether this control dismisses the Dialog Sheet and performs the default behavior. If the control is not a button, the value MUST be 0.

B - fHelp (1 bit): A bit that specifies whether this control is intended to load context-sensitive help for the Dialog Sheet. If the control is not a button, the value MUST be 0.

C - fCancel (1 bit): A bit that specifies whether this control dismisses the Dialog Sheet and take no action. If the control is not a button, the value MUST be 0.

D - fDismiss (1 bit): A bit that specifies whether this control dismisses the Dialog Sheet. If the control is not a button, the value MUST be 0.

reserved1 (12 bits): MUST be zero and MUST be ignored.

accel1 (2 bytes): A signed integer that specifies the Unicode character of the control’s accelerator key. The value MUST be greater than or equal to 0x0000. A value of 0x0000 specifies there is no accelerator associated with this control.

reserved2 (2 bytes):  Reserved. MUST be 0x0000.