Skip to main content
gamedev.net
🔒 Locked

GUI

Started by LeaZ Dec 18, 2001 at 1:11 AM 0 replies 300+ views
Original Post
LeaZ
LeaZ
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.
pointguard1
pointguard1
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
------------------------------------KaBeeM Web
<><

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.