locked
DO these messages snd out in order?

    Question

  • DO these messages snd out in order?

    When main frame was changed, there will send out a message of WM_SIZE, Dose message WM_PAINT follow it automatically at the meanwhile?

    or say, as soon as WM_SIZE sent out, there will be WM_PAINT followed to sent out?

    Merry Christmes!


    Thanks

    Tuesday, December 25, 2012 1:02 PM

Answers

All replies

  • or in sequence?

    Thanks

    Wednesday, December 26, 2012 5:57 AM
  • "as soon as WM_SIZE sent out, there will be WM_PAINT followed to sent out?"

    Normally yes but there may be other messages sent between those 2. What are you trying to do?

    Wednesday, December 26, 2012 8:22 AM
  • "as soon as WM_SIZE sent sent outout, there will be WM_PAINT followed to sent out?"

    Normally yes but there may be other messages sent between those 2. What are you trying to do?

    when I change window size of one my prog, it can't repaint. I guess there is no WM_PAINT sent out

    Thanks

    Wednesday, December 26, 2012 1:46 PM
  • Does the window class have CS_HREDRW/CS_VREDRAW class styles?
    Wednesday, December 26, 2012 2:04 PM
  • Does the window class have CS_HREDRW/CS_VREDRAW class styles?

    yes, all is default.

    theret might be a nother message sent out, too. then break before wm_pant. I may delete all break statemebts to verify that.


    Thanks

    Wednesday, December 26, 2012 2:20 PM