1. Assigning resource id's

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

new topic     » topic index » view message » categorize

2. Re: Assigning resource id's

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu