Re: Disallowing moving a window (>JUDITH)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hello Judith,
> 
> Hello Judith,
> > 
> > Hi, Martin,
> > 
> > I was disappointed to find that on my Windows98 SE with Win32lib.ew 
> > version 55.1 that the ghosting still persists using your program.
> > 
> > What system are you using?
> > 
> > Judith
> 
> Win 98 + win32lib v0551.
> With this program, you cannot move a window at all,
> so it should not flicker. Did you removed the moveWindow() calls ?
> 
>     Martin

>I ran your test program. It does not flicker. But there is a ghost 
>window that moves. Your message said it removed the flicker *and* 
>ghosting.

>Judith

I have tried to replace your onEvent_Property with my code and it works.
- Properites Window is unmovable, no flicker and ghost.

with this line:
    poke4(lParam+flags,or_bits(or_bits(SWP_NOMOVE,SWP_NOSIZE),cur_flags))
you can also forbid resizing of window.

It also forbids resizing/moving by setRect(), so you will probably have
to create some varible for which will be onEvent checking to allow
resizing/moving by your code.

I thought the flicker caused by ghost.

Regards,
    Martin

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu