1. Assigning resource id's
- Posted by Chris Bensler <bensler at mail.com> Apr 24, 2002
- 386 views
Is there a specific method to assigning resoure id's? I have a window with an mle in it, and assigned an id of 200. There is an onResize event that resizes the mle. Apparently, the onResize event is triggered before the mle is created, and the event tries to resize that control anyways. It turns out that 200, is the desktop 'Start' button, and ends up being resized. Is there a certain range of numbers that I'm supposed to use? I'm not using win32lib. Chris
2. Re: Assigning resource id's
- Posted by euman at bellsouth.net Apr 24, 2002
- 383 views
zHello Chris, You must use BEGIN ... END block that defines the resource. are you setting your .rc up this way? Euman ----- Original Message ----- From: "Chris Bensler" <bensler at mail.com> > Is there a specific method to assigning resoure id's? > > I have a window with an mle in it, and assigned an id of 200. > There is an onResize event that resizes the mle. > Apparently, the onResize event is triggered before the mle is created, > and the event tries to resize that control anyways. It turns out that > 200, is the desktop 'Start' button, and ends up being resized. > > Is there a certain range of numbers that I'm supposed to use? > > I'm not using win32lib. > > Chris