Everytime I click my mouse, a character will come up randomly, so I think if I use TextOut in which x and y are randomly chosen, I can do the job right ?
Thanks a lot...
-Nina
Printable View
Everytime I click my mouse, a character will come up randomly, so I think if I use TextOut in which x and y are randomly chosen, I can do the job right ?
Thanks a lot...
-Nina
maybe
That sounds right, assuming x and y are in a proper range,
and you don't have other bugs.
Thank you Deniz and kochhar very much...
Regards,
-Nina
I usually ignore questions in which the subject does not indicate what the question is about. I might not look at your questions if the subject does not indicate it is something I am familiar with.
If I understand the question, then the answer is no.
Yes, that sit ! My program still does not work now....That s why I come back and ask again if you have any soliution ?Quote:
Originally posted by Sam Hobbs
I usually ignore questions in which the subject does not indicate what the question is about. I might not look at your questions if the subject does not indicate it is something I am familiar with.
If I understand the question, then the answer is no.
And Sam why do you immediately answer NO ? Could you tell me ?
Thanks Sam....
I am sad because I amnot as good as you gurus...That is why I make this stupid question...If I am better I just come to help people not to ask anything....
Your question is not stupid, you only provide very few information...
In my OnLButton I wrote this codeQuote:
Originally posted by Doctor Luz
Your question is not stupid, you only provide very few information...
with x, y are randomly chosen, but I dont know why DiamondRio doesnot appear... :(PHP Code:pDC->TextOut(x,y,"Diamond Rio")
Could you help me please ?
Thanks a lot...
Oh, so you want more than a yes or no?Quote:
Originally posted by hometown
Could you tell me ?
You say you want "character will come up randomly". I assume you want the character to be random, not the position of the character. The x and y parameters of the TextOut function are for the position of the character, so that is why I say it won't work.
OnLButton() where is? a dialog? a CWnd what?
and how are x,y and pDC assigned?
Why do you make me wait so long ????Quote:
Originally posted by Sam Hobbs
Oh, so you want more than a yes or no?
You say you want "character will come up randomly". I assume you want the character to be random, not the position of the character. The x and y parameters of the TextOut function are for the position of the character, so that is why I say it won't work.
...So sorry, I was wrong...I meant the position would be chosen randomly...Sorry:)
Thank you very much...
-Hometown
Oh Nina, I did not realize I was making you wait. It feels good that my comments are that important to you. I hope I don't make you wait for something that truly is important. I would not do that intentionally.Quote:
Originally posted by hometown
Why do you make me wait so long ????
So you are of course correct that your basic algorithm is valid.Quote:
Originally posted by hometown
...So sorry, I was wrong...I meant the position would be chosen randomly...Sorry:)
Thank you Sam very much.....:)Quote:
Originally posted by Sam Hobbs
Oh Nina, I did not realize I was making you wait. It feels good that my comments are that important to you. I hope I don't make you wait for something that truly is important. I would not do that intentionally.
So you are of course correct that your basic algorithm is valid.
Regards,
Nina