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. Shall we change button style of messagebox?

Shall we change button style of messagebox?

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 Posts 3 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
    Le rner
    wrote on last edited by
    #1

    Hi all, in message box the buttons are looking as flat button i want to show button of message box like dialog box button,or xp style button. is it possible. please tell me . i m waiting for your valuable suggestions. thanks in advance.

    IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH

    D E 2 Replies Last reply
    0
    • L Le rner

      Hi all, in message box the buttons are looking as flat button i want to show button of message box like dialog box button,or xp style button. is it possible. please tell me . i m waiting for your valuable suggestions. thanks in advance.

      IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH

      D Offline
      D Offline
      Dr Emmett Brown
      wrote on last edited by
      #2

      Message boxes are xp/vista style by default. If you're seeing flat buttons maybe that's because of the parent window. Don't use HWND_DESKTOP (or 0) and make sure you have created and initialized the parent window to use. Hope it helps :)

      L 1 Reply Last reply
      0
      • L Le rner

        Hi all, in message box the buttons are looking as flat button i want to show button of message box like dialog box button,or xp style button. is it possible. please tell me . i m waiting for your valuable suggestions. thanks in advance.

        IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH

        E Offline
        E Offline
        Eytukan
        wrote on last edited by
        #3

        "_$h@nky_" wrote:

        Shall we change button style of messagebox?

        Yes we shall. When? lol anyway you need something like MessageBoxIndirect API?


        OK,. what country just started work for the day ? The ASP.NET forum is flooded with retarded questions. -Christian Graus Best wishes to Rexx[^]

        1 Reply Last reply
        0
        • D Dr Emmett Brown

          Message boxes are xp/vista style by default. If you're seeing flat buttons maybe that's because of the parent window. Don't use HWND_DESKTOP (or 0) and make sure you have created and initialized the parent window to use. Hope it helps :)

          L Offline
          L Offline
          Le rner
          wrote on last edited by
          #4

          Thanks

          IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH

          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