Re: Dialog wanders when shown repeatedly

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

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!

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

Search



Quick Links

User menu

Not signed in.

Misc Menu