why is WM_SIZE handled before WM_DISPLAYCHANGE when the monitor's scale factor or resolution or position is changed?

  • Thread starter Thread starter mtjj_19
  • Start date Start date
M

mtjj_19

Guest
Hello everyone, in my application, when the monitor's scale factor or resolution or position is changed, the message WM_DISPLAYCHANGE is generated, and the message can be handled with the macro MESSAGE_HANDLER. However, there is also a function deals with the message WM_SIZE, and this message is always handled before WM_DISPLAYCHANGE, why? And is there a way to handle WM_DISPLAYCHANGE first?

Continue reading...
 
Back
Top