I'm trying to read user input in a window

Started by
9 comments, last by Steve-B 20 years, 9 months ago
Thanks for your help Zern & Drekkar. Should I need to try your method out Zern becuase the other method should work fine? Although it still doesn''t.

quote:Original post by drekkar
im suprised that compiled you have too many )''s in the if line, unless you retyped it and typo''d ._.;>


Yes I must have retyped it. I looked back at my code and noticed I''d put too many brackets in there.

quote:Original post by drekkar
i would like to add that i have never used MFC (and dont plan to ) and I can verify this method does work because its the only method I use to get text from edit boxes etc


I''ve also never used MFC so found it a bit strange what Zern was saying. All been explained of course. :D

Well I guess I''ll just have a play around with the code and see if I can fathom out why lpszEdit isn''t recieving any info from the GetDlgItemText function. I''ll probably just end up making the main window one big dialog box. Is this crazy or the normal way windows should be created?

This topic is closed to new replies.

Advertisement