External End-User Functions
Functions that will defined for use externally by the end-user of our control will be:
The SimpleButton.asm
will contain these functions and other functions designed to be used internally by the control itself. I prefix the functions that will be used internally with an underscore and an abbreviation, but you can use whatever naming convention you desire.
Custom Messages For The End-User
Our custom message which are used in conjunction with SendMessage api call, can be used instead of the SimpleButtonSetProperty
/ SimpleButtonGetProperty
and SimpleButtonGetState
/ SimpleButtonSetState
functions, are defined as:
We will cover the usage of some of these functions and mesages later on.
Last updated