Re: Fun with Windows...
- Posted by Matthew Lewis <MatthewL at KAPCOUSA.COM> Aug 29, 2000
- 428 views
> -----Original Message----- > From: LEVIATHAN > > Heya all! > > Alright, I want to create error windows, yet I don't want them created > at the start of the program. > > I've noticed that many of my windows are constants. Do they have to > be this way? (constants can't be inside procedures, so i've read) You don't have to use constants. Since most programs are pretty 'static' in terms of the controls/windows they use, constants make sense, though. You can create stuff whenever you want, and you can track the id's however you want (or not at all). What you probably want to do is create an error window ahead of time, and simply keep it hidden until you need it. Unless you want to have many open at once, at which point you probably do want to create them dynamically. Just make sure you destroy them, too, when they're done. Matt