Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

Text Input Problem

Started by zaNeXuS Oct 1, 2002 at 2:35 PM 1 replies 500+ views
Original Post
zaNeXuS
zaNeXuS
How can I get the actual characters when some one types, e.g. while someone is typing in their nick when he wants to connect to a multiplayer game. We''re using DirectInput for keyboard inputs but I''m not sure if DirectInput can actually return the characters. Plz Help, THX --------------- Gaming is Life ---------------
---------------Gaming is Life---------------
Impz0r
Impz0r
hi,

You can capture, for text input, the WM_CHAR message within your Winproc function of your window, and route the extracted char to your GUI or wherever you need the input.

Mfg Impz0r
Stay Evil & Ugly!
zaNeXuS
zaNeXuS
Hey man, thx alot never thoughta that. Cool
---------------Gaming is Life---------------

Topic Locked

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

Sign in to reply to this topic.