C4 Engine
C4 Engine API Documentation

Dialog::GetCancelButton

Defined in:  C4Dialog.h
Returns a pointer to the cancel button widget.
Prototype

PushButtonWidget *GetCancelButton(void);

Description
The GetCancelButton function returns a pointer to the PushButtonWidget for the cancel button. The cancel button is embedded in the Dialog class and should not be deleted. This function is provided so that the properties or transform of the cancel button can be modified. The returned pointer is valid even if no text was originally specified for the cancel button.
See Also

Dialog::GetOkayButton

Dialog::GetIgnoreButton