LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   writing my own events (https://www.linuxquestions.org/questions/programming-9/writing-my-own-events-387215/)

bianchi 11-28-2005 06:29 AM

writing my own events
 
writing my own events lokks like :

DECLARE_EVENT_TYPE ( name ) // in the h file

DEFINE_EVENT_TYPE(name ) // in cpp file

BEGIN_EVENT_TABLE ( class_name,base_class)
EVT_COMMAND( ID_WINDOW,my_event,func_name)

// ??????? but if I dont have any window ????

END_EVENT_TABLE ()

void func_name ( )
{

}

if I dont have any window frame , what sould I write instead ?


grezie


All times are GMT -5. The time now is 12:01 AM.