Don't know if it's similar to ordinary C++ programs.
But where can get me started?
Thanks
Jack
Printable View
Don't know if it's similar to ordinary C++ programs.
But where can get me started?
Thanks
Jack
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.
I mean things I've seen in some text books. Vaguely OnRender, OnUpdate etc
I need a complete starter guide which is rare now on the net
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.
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.
There are tens of books and tutorials that can help you to learn Windows programming basics, including message handling.
Here is just a brief list:
- Programming Windows, 5th Edition by Charles Petzold.
- Win32 Programming by Brent Rector & Joseph M. Newcomer.
- theForger's Win32 API Tutorial
- Windows and Messages in Windows Dev Center or MSDN.