RE: Menu needs coaxing
- Posted by Mike777 <anon4321 at gma?l.com> Dec 12, 2007
- 514 views
Greg Haberek wrote: > > > After perusing around the code, I'm gonna say this is less a Win32Lib bug > and more a lack of understanding or just plain old poor coding (no offense). None taken. I'll cop to both, even though I'm trying to use the IDE to generate the code, I understand I have to do things in the right order, too. > Win32Lib assumes that the first window you create will be the main Window. > So when you call WinMain() with the second window you created (Window1 in > this case), things got really screwed up. Here's a simple example of how to > implement a login box like you want. I hope my comments help explain how > things happen the way they do. They do and I'll make the changes you describe later, one at a time, to make sure I understand. Many thanks. Mike