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. Re:MessageBox not showing

Re:MessageBox not showing

Scheduled Pinned Locked Moved C / C++ / MFC
4 Posts 4 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.
  • D Offline
    D Offline
    Debojyoti Majumder
    wrote on last edited by
    #1

    I am running my code in Winodws 7. I am using MessageBox() but it's not showing in the screen. The control is reaching there.

    A C H 3 Replies Last reply
    0
    • D Debojyoti Majumder

      I am running my code in Winodws 7. I am using MessageBox() but it's not showing in the screen. The control is reaching there.

      A Offline
      A Offline
      Andrew Brock
      wrote on last edited by
      #2

      This is a very vague description. You could try setting the hWnd parameter to HWND_DESKTOP. Or Open Spy++ (aka SpyXX) from the Vistual Studio Tools Menu. Then find your application window in the Windows page. The message box should be a child window of the window you provide to the hWnd parameter

      1 Reply Last reply
      0
      • D Debojyoti Majumder

        I am running my code in Winodws 7. I am using MessageBox() but it's not showing in the screen. The control is reaching there.

        C Offline
        C Offline
        Cool_Dev
        wrote on last edited by
        #3

        is it a windows service you are writing?

        1 Reply Last reply
        0
        • D Debojyoti Majumder

          I am running my code in Winodws 7. I am using MessageBox() but it's not showing in the screen. The control is reaching there.

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          Whats the return value of MessageBox?

          Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )

          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