jseidman@jarthur.Claremont.EDU (James Seidman) (10/19/90)
Perhaps someone can help me with this little problem: everytime I resize the window of the app I'm writing, Windows kindly moves all of my stuff so that it remains positioned correctly in the new client area. However, I don't want this to happen, because most of the time I will have to resize everything and invalidate the whole window anyway. Having Windows do a big BLT first makes things look really bad. What I'd like to do is to somehow prevent this automatic BLT from taking place. I know it's possible because other apps (Reversi being an example) don't suffer from this problem. There should be some message sent when Windows is about to move a window so that this can be prevented. I've thought of sticking all sorts of stuff in the WM_MOVE case, but nothing seems to help, so that's not it. Any advice would be appreciated. As always, RTFM is fine if a useful clue to where in TFM the answer is is included. -- Jim Seidman, Headland Technology, 46221 Landing Parkway, Fremont CA 94538 The Doctor: It was a terrible babble of inhuman voices. Prof. Chronotis: Oh, that was just the undergraduates! - Doctor Who, "Shada"
jseidman@jarthur.Claremont.EDU (James Seidman) (10/19/90)
Perhaps I need to clarify a little... I don't want to use WS_HREDRAW | WS_VREDRAW because I don't *always* need to resize on a move. Thinking of it, this is most probably how Reversi does it. What I need is something like WS_HREDRAW which will let my program decide whether the whole window needs to be redrawn. (Just as I don't want a huge BLT followed by a background erase and redraw, I don't want a redraw when I'm going to put up exactly the same thing...) (And if it's going to be something terrible like installing a Hook, just tell me "it's really complicated and you don't want to get into it. :) -- Jim Seidman, Headland Technology, 46221 Landing Parkway, Fremont CA 94538 UUCP: ames!vsi1!headland!jls INTERNET: hsv3!jls@apple.com "Love your enemy, smite your enemy, you still need an enemy!" -Joseph, in "Heart of the World"