-
September 27th, 2012, 10:57 PM
#1
win32 event programming (Event interface)
Don't know if it's similar to ordinary C++ programs.
But where can get me started?
Thanks
Jack
-
September 28th, 2012, 12:58 AM
#2
Re: win32 event programming (Event interface)
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
-
September 28th, 2012, 08:00 PM
#3
Re: win32 event programming (Event interface)
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
-
September 28th, 2012, 09:41 PM
#4
Re: win32 event programming (Event interface)
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
-
September 29th, 2012, 01:18 AM
#5
Re: win32 event programming (Event interface)
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:
-
September 30th, 2012, 07:47 AM
#6
Re: win32 event programming (Event interface)
Originally Posted by lucky6969b
I mean things I've seen in some text books. Vaguely OnRender, OnUpdate etc
Vaguely indeed. This might be anything, Java, Delphi, C#, whatever.
Best regards,
Igor
-
September 30th, 2012, 02:30 PM
#7
Re: win32 event programming (Event interface)
Originally Posted by Igor Vartanov
Vaguely indeed. This might be anything, Java, Delphi, C#, whatever.
Vaguely including that a (C/C++) message handler can be named according to what our muscles wants: OnPaint, OnRender, OnDraw, Draw, whatever else.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|