[WIN] completely stumped in win32lib.
- Posted by "Jerry C. Cummings" <futures8 at EARTHLINK.NET> Dec 04, 2000
- 374 views
--------------2AFBA2886B708C16D4B875B7 Content-Transfer-Encoding: 8bit Hi, all.. I'm learning Win32lib and Windows programming, and have run into a brick wall in my understanding of how Win32lib works. I've studied the Win32lib Faq as well as the Win32Lib docs, and several example programs, etc. over the last five days, but I'm still completely stumped. The program (attached) has a routine (onClick_AnalyzeButton) which loads default entries from a file, and presents them in (5) EditText fields of a window (ChildWin). The user is then presented with the oppotunity to override the entries, after which the user presses an Accept Button, which triggers a validatation procedure (onClick_AcceptButton), which is essentially a loop, with an exit procedure if no errors are found. If an error is found, that fact is displayed in a msgbox(), and then the program gets stuck in the onClick_AcceptButton loop, and requires ctrl-alt-del to terminate it. So, clearly, I'm misunderstanding how getText and setText work, and probably other things. I've attached the entire program (since I'm not really sure where, in the program, the problem is triggered), along with the text file it requires to run (pkzipped). Any suggestions will be much appreciated. Jerry --------------2AFBA2886B708C16D4B875B7 name="Candles.zip"