lwallace@javelin.es.com (Lynn Wallace) (02/24/91)
I use this function frequently in my WM_INITDIALOG portion but in setting the text of one edit control, it terminates my application. So I shelled out $70 for a secondary monitor and ran CVW on it, and IT reported "Application terminated normally" after I execute the function call! Does anyone know under what conditions SetDlgItemText() may do this? Windows 3.0 SDK: I am not impressed. -- Lynn Wallace |I am not an official representative of Evans and Sutherland Computer Corp.| <- E&S. Or for that matter, unofficial. Salt Lake City, UT 84108 |Internet: lwallace@javelin.sim.es.com War not make one great! -- Yoda
gpsteffl@sunee.waterloo.edu (Glenn Patrick Steffler) (02/26/91)
In article <1991Feb23.223755.817@javelin.es.com> lwallace@javelin.es.com (Lynn Wallace) writes: >I use this function frequently in my WM_INITDIALOG portion but in setting the >text of one edit control, it terminates my application. So I shelled out $70 >for a secondary monitor and ran CVW on it, and IT reported "Application >terminated normally" after I execute the function call! Does anyone know under >what conditions SetDlgItemText() may do this? Pretty heavy duty expense to test a funtion call.. :-) SetDlgItemText() is simply an alias for SetWindowText(). Make sure the dialog box you are using has been exported, etc. Codeview sometimes has trouble when I don't trace thru at least one line of code before running until a break point. Never has any other problems though. >Windows 3.0 SDK: I am not impressed. I am! ( :-) - for those in the know) >-- >Lynn Wallace |I am not an official representative of >Evans and Sutherland Computer Corp.| <- E&S. Or for that matter, unofficial. >Salt Lake City, UT 84108 |Internet: lwallace@javelin.sim.es.com > War not make one great! -- Yoda -- Co-Op Scum "Bo doesn't know software" - George Brett "The galaxial hearth steams the sea as the sky blood red embrasses darkness" -John Constantine (HellBlazer) Glenn Steffler