By "events" do you mean "signals"? If so, you could look into the sigc++ programming API. It's really designed for Linux but with a suitable compiler (Cygwin or MinGW) you can build it for Windows. It can also be built using MSVC if you're prepared to persevere.
"A problem well stated is a problem half solved.” - Charles F. Kettering
You're probably thinking of message handlers - in which case, no, they're not similar to non-Windows programs which tend to use signals and slots for the same purpose. Messages and signals are superficially similar but they don't really work the same way.
Originally Posted by lucky6969b
I mean things I've seen in some text books.
Other people may differ but in my view, a good text book is worth its weight in gold. I know they can be expensive but they'll last you a long time and if you're teaching yourself, text books are easily the quickest way to learn, in my experience. Most of the better books come with sample code that you can experiment with. Most good bookshops will have "Teach Yourself" books that you can browse through so it's easy to find one that suits you.
"A problem well stated is a problem half solved.” - Charles F. Kettering
Bookmarks