LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-28-2005, 06:29 AM   #1
bianchi
Member
 
Registered: Nov 2005
Location: Italy
Posts: 36

Rep: Reputation: 15
Lightbulb 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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
events/0 spikes Moloko Debian 5 02-03-2005 08:08 AM
Does Samba have Events smurf Linux - Networking 2 02-12-2004 02:00 AM
Events In KDE LOUDSilence Programming 3 11-23-2003 02:41 AM
acpi events? raven Linux - Laptop and Netbook 2 10-12-2003 02:23 PM
cd writing software which supports multisession writing jayakrishnan Linux - General 3 03-24-2003 05:51 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration