|
-
December 30th, 2002, 01:26 AM
#1
Simple question about windows programming
I always "smile" like this .
I have got to tell you that I am a beginer in programing.
I would like to ouput a window (using C++) and in that window I will ouput a string but each character must wait 100 milisecs before being shown up on the blanc window. Would you please be kind enough to give me some instructions about this ?
I really very much appreciate any of your help !!!! Please !!!
Thanks alot.
Last edited by Wfranc; December 30th, 2002 at 01:31 AM.
-
December 31st, 2002, 03:36 PM
#2
First I'll set up a timer, as your demand for 100 milisecs, then get the character (once one maybe) from a CString or some other type of variable in the process of timer event and display it onto the screen in the window you created.
You should use the function TextOut(x, y, char ch), before this you've to get the DC handle via GetDC() function.
Maybe this can give you a hand.
Happy new year!
-
January 1st, 2003, 02:16 AM
#3
hi,
also you can put the string , character by character and use ::Sleep( 100 ) between them !
-
January 1st, 2003, 01:35 PM
#4
I always 'smile' like this in my posts
Thank you....You two really nice guys!!!!!
farhad_smx!!!!You have a really nice nose !!!
Happy new year guys !!!!!! Happy new year guys
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|