Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!m.cs.uiuc.edu!vela!rdthomps From: rdthomps@vela.acs.oakland.edu (Robert D. Thompson) Newsgroups: comp.windows.ms.programmer Subject: Re: How to Size/Move A Modeless Dialog??(WAS: Help with Dialog Boxes) Message-ID: <7252@vela.acs.oakland.edu> Date: 14 Jun 91 21:17:19 GMT References: <1991Jun11.172122.24210@linus.mitre.org> <1991Jun13.183807.24270@hyper.hyper.com> Organization: Oakland University, Rochester MI. Lines: 39 In article <1991Jun13.183807.24270@hyper.hyper.com> bonneau@hyper.UUCP (Paul Bonneau,,) writes: >In article <1991Jun11.172122.24210@linus.mitre.org> dsb@mbunix.mitre.org writes: >>Given that I can get the rect of the client area of a variable sized parent >>window. >> >>Is it possible to create a modeless dialog box and RfitS the dialog box to the >>parentUs client area ? I would like to do this before I call DialogBox() or >>immediately afterwards. >> >>Is it possible to change the size of a dialog box from an .rc file at all ? >> >A dialog box is really just a popup window. So you can >change its size no problem--MoveWindow() or SetWindowPos() >work just fine. The WM_INITDIALOG case is a good time to do >this. [ more comments about modal dialog boxes ] >cheers - Paul Bonneau. Paul, I could be wrong, but I think the request was for modeless dialog boxes. I have had problems moving modeless dialog boxes also. Do you have any comments on moveing modeless dialog boxes? I think the problem may lie in the way messages are dispatched for modeless dialogs. ??? Thanks for any help. Regards |(8> --- Robert