Re: Dialog wanders when shown repeatedly
- Posted by Tony Bohm <tbohm0 at gma?l.c?m> Jan 18, 2008
- 606 views
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!