Posted by Kory Spansel on 2000-04-03
What do I call once I catch the WM_SIZE message? I tried: GetWindowPlacement(hwnd, &wp); wp.rcNormalPosition = winsize; SetWindowPlacement(hwnd, &wp); But that's just a crappy solution. So I'm not sure, is there an API call that I can make to cancel it from changing the size of the window. I want to make is so I can't even move the border like in the good applications. hehe. Thanks. Kory >From: "Hal Bonnin" <email@example.com> >Reply-To: firstname.lastname@example.org >To: email@example.com >Subject: Re: Minimize box on a toolbar window >Date: Mon, 3 Apr 2000 14:29:06 +0200 (MEST) > >in the windows handling code you can catch the WM_SIZE and prevent it from >happening > >located in the WinProc() function or set up a function from MSC6++ to catch >the WM_SIZE and the WM_MOVE calls. > >>To signoff send a mail to firstname.lastname@example.org with > "signoff tcg" in the body of your message. ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com Sponsored by Wrox Press - www.wrox.com. Programmer to Programmer (TM) To signoff send a mail to email@example.com with "signoff tcg" in the body of your message.
Previous post | Next post | Timeline | Home