Newsgroups: comp.windows.ms.programmer Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!cec2!news From: wilcox@wucs1.wustl.edu (Don Wilcox) Subject: Followup to window resizing question. Message-ID: <1991Apr1.143705.10097@cec1.wustl.edu> Organization: Washington University, St. Louis MO Distribution: usa Date: Mon, 1 Apr 91 14:37:05 GMT Recently I posted asked for help in controlling the sizing of windows when the user mouses down in the frame of a window. I received 2 answers to my question (from Tom Yosick and Christine Roine), both of which pointed me to the WM_GETMINMAXINFO message. I added the case to my window procedure, changed the appropriate fields, and presto!, the user cannot make the window any bigger or smaller than I wish. My thanks to the responders. BTW, one of my benefactors pointed out that he had found the on-line reference much easier to use than the printed manuals. I would have to agree. Now for another question, anyone know how to find out if the SB_HORZ and SB_VERT scroll bars are currently visible? Can't seem to find anything which will tell me, short of getting both the client and window rects for the window and comparing their sizes. Too much work. Thanks again. Don sig files are too expensive for a grad student's budget.