Public Methods | |
struct cButton* | cButton_ctor (struct cButton *ptr_cbutton, char *text, int modal_result) |
void | cButton_dtor (struct cButton *ptr_cbutton, int memory_flag) |
int | cButton_GetModalResult (struct cButton *ptr_cbutton) |
bool | cButton_proc (struct cButton *ptr_cbutton, struct Message *ptr_message) |
void | cButton_Enable (struct cButton *ptr_cbutton) |
void | cButton_Disable (struct cButton *ptr_cbutton) |
void | cButton_Show (struct cButton *ptr_cbutton) |
void | cButton_Hide (struct cButton *ptr_cbutton) |
void | cButton_Disconnect (struct cButton *ptr_cbutton) |
bool | cButton_Select (struct cButton *ptr_cbutton) |
void | cButton_update (struct cButton *ptr_cbutton) |
struct cClip* | cButton_GetParent (struct cButton *ptr_cbutton) |
A basic button. You can add a button to any user form, as well as to the Cybiko screen.
Every button must have its own modal result, which can be defined in the third parameter of the cButton_ctor function. Variants of modal results are contained in the tmResults enumeration. Every button can have a message-processing function.
You must call the cButton_ctor function before use and the cButton_dtor function after use.
|
Disables the cButton object so that it cannot be selected..
|
|
Disconnects the cButton object from its parent object.
|
|
Enables the cButton object so that it may be selected.
|
|
Returns the button modal result, which was set in the cButton constructor.
|
|
Returns a pointer to the parent object.
|
|
Hides a cButton object.
|
|
Selects a cButton object.
|
|
Shows cButton object.
|
|
Initializes a cButton object.
|
|
Deletes a cButton object.
|
|
The Message-processing function.
|
|
Updates a cButton object.
|
Copyright © 2001 Cybiko, Inc. All rights reserved. | More information... |