Re: Dialog wanders when shown repeatedly

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

Tony Bohm wrote:
> 
> Thank you!
> 
> The dialog now moves straight down in increments of 29 pixels XD  It stays in
> place with setClientRect remarked, so that is doing something unexpected.
> 
> I've got the result I was seeking using setRect, though ;D
> 
> I notice that the create() documentation states that the x,y coordinates
> specified
> in the create() parameters are in relation to the parent window client area,
> but MsgWin appears relative to the top-left of the screen even with MainWin
> specified as its parent, if I remark the setClientRect and do not use setRect.
>  Is this expected, or is there a problem/misunderstanding in my use of
>  create()?
> 
> Thanks for the help and for all the work on the library; I probably wouldn't
> have touched programming again without it!

I don't think so. The fix I provided you with has other unwelcome side effects,
so I have to figure this out. I don't think your understanding of create() is at
stake, it's just that you used a combination of things that obviously had never
been tested. I'll post later when I get a consistent behaviour.

CChris

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

Search



Quick Links

User menu

Not signed in.

Misc Menu