1. win32lib, xInvalidateRect ?

Hi

Playing with Morfit, sorting out some crashes in the demos, and traced to this
in win32lib demos

funcval=c_func( xInvalidateRect, {getHandle(Win), NULL, 0})

Simply commenting these out resolved the crashes.

Question : what is the function xInvalidateRect? Is it used anymore? By not
using it am I storing problems for later appearence when for instance the
computer starts to run out of resources?

Chris


http://euallegro.wikispaces.com
http://members.aol.com/chriscrylex/euphoria.htm
http://uboard.proboards32.com/
http://members.aol.com/chriscrylex/EUSQLite/eusql.html

new topic     » topic index » view message » categorize

2. Re: win32lib, xInvalidateRect ?

Chris Burch wrote:
> 
> Hi
> 
> Playing with Morfit, sorting out some crashes in the demos, and traced to this
> in win32lib demos
> 
> funcval=c_func( xInvalidateRect, {getHandle(Win), NULL, 0})
> 
> Simply commenting these out resolved the crashes.
> 
> Question : what is the function xInvalidateRect? Is it used anymore? By not
> using it am I storing problems for later appearence when for instance the
> computer
> starts to run out of resources?
> 
> Chris
> 

Found what it does (in the list archive) thanks - repaints the window with the 
chosen handle - looks like its getting a strange handle.

Chris


> 
> <a href="http://euallegro.wikispaces.com">http://euallegro.wikispaces.com</a>
> <a
> href="http://members.aol.com/chriscrylex/euphoria.htm">http://members.aol.com/chriscrylex/euphoria.htm</a>
> <a href="http://uboard.proboards32.com/">http://uboard.proboards32.com/</a>
> <a
> href="http://members.aol.com/chriscrylex/EUSQLite/eusql.html">http://members.aol.com/chriscrylex/EUSQLite/eusql.html</a>

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

3. Re: win32lib, xInvalidateRect ?

ChrisBurch2 wrote:
> 
> Chris Burch wrote:
> > 
> > Hi
> > 
> > Playing with Morfit, sorting out some crashes in the demos, and traced to
> > this
> > in win32lib demos
> > 
> > funcval=c_func( xInvalidateRect, {getHandle(Win), NULL, 0})

nope, update here, replace above with

funcval=w32Func( xInvalidateRect, {getHandle(Win), NULL, 0})

and everythings fine

> > 
> > Simply commenting these out resolved the crashes.
> > 
> > Question : what is the function xInvalidateRect? Is it used anymore? By not
> > using it am I storing problems for later appearence when for instance the
> > computer
> > starts to run out of resources?
> > 
> > Chris
> > 
> 
> Found what it does (in the list archive) thanks - repaints the window with the
> 
> chosen handle - looks like its getting a strange handle.

nope - see above.

> 
> Chris
> 
> 
> > <a
> > href="http://euallegro.wikispaces.com">http://euallegro.wikispaces.com</a>
> > <a
> > href="http://members.aol.com/chriscrylex/euphoria.htm">http://members.aol.com/chriscrylex/euphoria.htm</a>
> > <a href="http://uboard.proboards32.com/">http://uboard.proboards32.com/</a>
> > <a
> > href="http://members.aol.com/chriscrylex/EUSQLite/eusql.html">http://members.aol.com/chriscrylex/EUSQLite/eusql.html</a>



http://euallegro.wikispaces.com
http://members.aol.com/chriscrylex/euphoria.htm
http://uboard.proboards32.com/
http://members.aol.com/chriscrylex/EUSQLite/eusql.html

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

Search



Quick Links

User menu

Not signed in.

Misc Menu