Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

lucinpub

elegant winProc

This topic is 5825 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello again all. Awhile ago I found a win32 tutorial that had this really cool way to wrap up all of the calls that you would make in winProc into nice little macros or function calls. I think it was on gamedev, flipcode or gametutorials, but I cannot find it for the life of me. I have searched high and low, including my hard drive, but no luck. Any one else seen that tutorial or know of that technique? Thanks for any light you can shed.

Share this post


Link to post
Share on other sites
Advertisement
Try <windowsx.h>. It''s undocumented, but extremely useful. I can post an overview if you don''t understand what''s in there.

Share this post


Link to post
Share on other sites
not exactly what i had in mind, but worth looking at. Never thought to look in there for those macros, thanks.
For some reason I remember the macros being far less cryptic, ie extremely easy to understand.

Share this post


Link to post
Share on other sites
Beyond windowsx.h, I think you''ll have to provide some more descriptive information, maybe some pseudo code of what you remember from the tut.

Share this post


Link to post
Share on other sites
How about ATL Window Classes? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvc60/html/atlwindow.asp?frame=true

Share this post


Link to post
Share on other sites
quote:
Original post by lucinpub
Hello again all.
Awhile ago I found a win32 tutorial that had this really cool way to wrap up all of the calls that you would make in winProc into nice little macros or function calls. I think it was on gamedev, flipcode or gametutorials, but I cannot find it for the life of me. I have searched high and low, including my hard drive, but no luck. Any one else seen that tutorial or know of that technique? Thanks for any light you can shed.

Are you saying Win32 API wrappers??

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!