Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. ShowWindow() and OnPaint

ShowWindow() and OnPaint

Scheduled Pinned Locked Moved C / C++ / MFC
questionlearning
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    raner
    wrote on last edited by
    #1

    Hi I'm learning VC and I'm thinking it seems logical that at ShowWindow(SW_SHOW) the OnPaint function should be called.Can someone pls confirm with me if it is true? a zillion thks

    M 2 Replies Last reply
    0
    • R raner

      Hi I'm learning VC and I'm thinking it seems logical that at ShowWindow(SW_SHOW) the OnPaint function should be called.Can someone pls confirm with me if it is true? a zillion thks

      M Offline
      M Offline
      Mazdak
      wrote on last edited by
      #2

      raner wrote: ShowWindow(SW_SHOW) I don't think so.Its only for VISIBILITY of window. Mazy "And the carpet needs a haircut, and the spotlight looks like a prison break And the telephone's out of cigarettes, and the balcony is on the make And the piano has been drinking, the piano has been drinking...not me...not me-Tom Waits

      1 Reply Last reply
      0
      • R raner

        Hi I'm learning VC and I'm thinking it seems logical that at ShowWindow(SW_SHOW) the OnPaint function should be called.Can someone pls confirm with me if it is true? a zillion thks

        M Offline
        M Offline
        Mazdak
        wrote on last edited by
        #3

        InvalidateRect() caused that. Mazy "And the carpet needs a haircut, and the spotlight looks like a prison break And the telephone's out of cigarettes, and the balcony is on the make And the piano has been drinking, the piano has been drinking...not me...not me-Tom Waits

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups