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. How to hide my dialog without any flash as soon as my application start?

How to hide my dialog without any flash as soon as my application start?

Scheduled Pinned Locked Moved C / C++ / MFC
adobetutorialquestion
2 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.
  • N Offline
    N Offline
    NianHawk
    wrote on last edited by
    #1

    In some case, I would like my application to hide its dialog as soon as my application start. I post message "WM_HIDEWINDOW" to the main dialog self in OnInitDialog, but there is a flash in screen before the dialog was realy hidden. Is there any other good idea to prevent or reduce the flash? Nothing impossible, Nothing sure

    F 1 Reply Last reply
    0
    • N NianHawk

      In some case, I would like my application to hide its dialog as soon as my application start. I post message "WM_HIDEWINDOW" to the main dialog self in OnInitDialog, but there is a flash in screen before the dialog was realy hidden. Is there any other good idea to prevent or reduce the flash? Nothing impossible, Nothing sure

      F Offline
      F Offline
      FarPointer
      wrote on last edited by
      #2

      Is it a Modal Dialog then the hiding of the dialog will make the application looked hanged . And as far as hiding the dialog is dont send a WM_HIDEWINDOW . do dlg.ShowWindow(False) before you do a DoModal.


      Regards, FarPointer Blog:FARPOINTER

      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