 | | Wide Studio Programmer's Guide
| |
How to execute the event procedures of the instances
You can execute the event procedures which the instances have with the method:
WSCbase::execProcedure .
Executing the event procedure | Description |
execProcedure(char*) | Executing by name |
execProcedure(long) | Executing by trigger |
How to execute the event procedures by the specified name
You can execute the event procedures which the instances have
by the specified name with the method: WSCbase::execProcedure(char* ).
void event_procedure(WSCbase* object){
//Execute the event procedures which name is "setup"
object->execProcedure("setup");
}
If exists the event procedures of the instance: "object",
which name is same as the specified one,
It executes it,but not , does nothing.
How to execute the event procedures by the specified trigger
You can execute the event procedures which the instances have
by the specified trigger with the method: WSCbase::execProcedure(int).
void event_procedure(WSCbase* object){
// Execute the procedures which trigger is WSEV_ACTIVATE.
object->execProcedure(WSEV_ACTIVATE);
}
If exists the event procedures of the instance: "object",
which trigger is same as the specified one,
It executes it,but not , does nothing.
Document Release 1.3 For Use with Wide Studio Release 1.3, Summer 2001 Wide Stuido Home | Up to Copyright(C) T. Hirabayashi, 2000-2001 | | Last modified: August 20, 2001 | |