PDA

View Full Version : text display and retrieval



experimentalMind
12-06-2001, 05:57 AM
Hi, what I am doing is very simple, I am trying to put some text on screen asking the user to type in their name. Then I need some way for them to input their name so that I could create a file with their initials. I can easily get keyboard input with the function
GetAsyncKeyState(KeyCode)
but I haven't been able to find a way to easily display text (or echo user input).

Does anyone have any idea how to do this inside a Win32 window, without using the messaging loop?

Thanks

[This message has been edited by experimentalMind (edited 12-06-2001).]

chowe6685
12-06-2001, 06:58 AM
if you are using OpenGL (and I assume you are since you are posting here) go to
nehe.gamedev.net
there are some good tutorials on fonts there