Archived

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

LeaZ

GUI

Recommended Posts

LeaZ    122
hi, i m beginning to code my gui class and i hope to get some advice on how you will listen for messages for the various gui components. i''m using directinput for the mouse n keyboard. thanks.

Share this post


Link to post
Share on other sites
pointguard1    122
Just call the GetDeviceState() member function for the mouse and keyboard and every time something is different post it on a message queue that the GUI looks at every time before it draws itself or does anything else.

Newbie to game programming?
visit

KaBooMgames
Great for Newbs, Masters welcome as well

Share this post


Link to post
Share on other sites