   [Win32] fullscreen changes size of another window
  I have 2 windows, which can go into fullscreen via enter key.now when the second goes into fullscreen (800x600 display change),and then goes back, the first one gets a wm_size event.to be exact, it gets sized to the available resolution of my desktop.when I toggle fullscreen on the first window, it does not happen.another weird thing is, this also happens to some other windows that are in use at the time of the event.Does anyone have an idea what this might be or how to prevent it from happening ?just to be clear, I dont want the wm_size event on the other windows.   
  Are you reading the wParam when you get the size event?From MSDN, sounds like you're getting a SIZE_MAXSHOWwParam    Specifies the type of resizing requested. This parameter can be one of the following values.    SIZE_MAXHIDE   Message is sent to all pop-up windows when some other window is maximized.    SIZE_MAXIMIZED   The window has been maximized.    SIZE_MAXSHOW   Message is sent to all pop-up windows when some other window has been restored to its former size.    SIZE_MINIMIZED   The window has been minimized.    SIZE_RESTORED   The window has been resized, but neither the SIZE_MINIMIZED nor SIZE_MAXIMIZED value applies.;  Yeah, I read that too, but wParam is 0, so that's not it. :-(   ;  If you're using ChangeDisplaySettings(Ex) pass CDS_FULLSCREEN when you come out of fullscreen mode as well as when you go into it. That'll stop the window manager from repositioning partially off-screen windows.You can observe the same behaviour if you use the display/screen resolution part of the control panel to change the resolution while you have windows hanging off screen. Here's a brief explanation of the phenomenon.   ;  Thank you adeyblue, that does the trick :)Didn't think it'd have any effect when going out of fullscreen.   