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. Messagebox problem

Messagebox problem

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorial
6 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.
  • L Offline
    L Offline
    Lakshmi_p
    wrote on last edited by
    #1

    Hi, I want to replace the message box icon with my own icon. But i don't know how to get the Handle to message box icon. Any suggestions are welcome.:)

    S N 2 Replies Last reply
    0
    • L Lakshmi_p

      Hi, I want to replace the message box icon with my own icon. But i don't know how to get the Handle to message box icon. Any suggestions are welcome.:)

      S Offline
      S Offline
      Sachinpatole
      wrote on last edited by
      #2

      U will have to design a dialog box similar to message box and calll domodal for this newly designed dialog. -sachin

      1 Reply Last reply
      0
      • L Lakshmi_p

        Hi, I want to replace the message box icon with my own icon. But i don't know how to get the Handle to message box icon. Any suggestions are welcome.:)

        N Offline
        N Offline
        Nibu babu thomas
        wrote on last edited by
        #3

        Lakshmi_p wrote:

        I want to replace the message box icon with my own icon. But i don't know how to get the Handle to message box icon.

        Use MessageBoxIndirect and MSGBOXPARAMS. Look here[^] for a demo.


        Nibu thomas MVP For VC++ Code must be written to be read, not by the compiler, but by another human being. Programming Blog: http:\\nibuthomas.wordpress.com

        N L 2 Replies Last reply
        0
        • N Nibu babu thomas

          Lakshmi_p wrote:

          I want to replace the message box icon with my own icon. But i don't know how to get the Handle to message box icon.

          Use MessageBoxIndirect and MSGBOXPARAMS. Look here[^] for a demo.


          Nibu thomas MVP For VC++ Code must be written to be read, not by the compiler, but by another human being. Programming Blog: http:\\nibuthomas.wordpress.com

          N Offline
          N Offline
          Naveen
          wrote on last edited by
          #4

          :) Ho. Simple solution. I removed my post.

          nave [OpenedFileFinder]

          N 1 Reply Last reply
          0
          • N Nibu babu thomas

            Lakshmi_p wrote:

            I want to replace the message box icon with my own icon. But i don't know how to get the Handle to message box icon.

            Use MessageBoxIndirect and MSGBOXPARAMS. Look here[^] for a demo.


            Nibu thomas MVP For VC++ Code must be written to be read, not by the compiler, but by another human being. Programming Blog: http:\\nibuthomas.wordpress.com

            L Offline
            L Offline
            Lakshmi_p
            wrote on last edited by
            #5

            hi, Thanks for ur reply. Can we get the handle of messagebox default icon based on its its styles.

            1 Reply Last reply
            0
            • N Naveen

              :) Ho. Simple solution. I removed my post.

              nave [OpenedFileFinder]

              N Offline
              N Offline
              Nibu babu thomas
              wrote on last edited by
              #6

              :)


              Nibu thomas MVP For VC++ Code must be written to be read, not by the compiler, but by another human being. Programming Blog: http:\\nibuthomas.wordpress.com

              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