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. Visual Basic
  4. Background color of message box

Background color of message box

Scheduled Pinned Locked Moved Visual Basic
question
5 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.
  • T Offline
    T Offline
    Tufail Ahmad
    wrote on last edited by
    #1

    How can i change background color of msgbox using vb dot net or vb6. i do not want to use form for this purpose.

    D 1 Reply Last reply
    0
    • T Tufail Ahmad

      How can i change background color of msgbox using vb dot net or vb6. i do not want to use form for this purpose.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      You can't. You have to build a custom form for this.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008
      But no longer in 2009...

      T 1 Reply Last reply
      0
      • D Dave Kreskowiak

        You can't. You have to build a custom form for this.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008
        But no longer in 2009...

        T Offline
        T Offline
        Tufail Ahmad
        wrote on last edited by
        #3

        but it changes when we change theam in windows xp

        L D 2 Replies Last reply
        0
        • T Tufail Ahmad

          but it changes when we change theam in windows xp

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Yes theam Change it. And Theam change all the color style of all over windows.Not only for your application. so if you want to change Messagebox Color you should to create your custom Form (Messagebox).

          If you can think then I Can.

          1 Reply Last reply
          0
          • T Tufail Ahmad

            but it changes when we change theam in windows xp

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            Yeah, because the MessageBox is rendered by the system and uses the system's theme.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007, 2008
            But no longer in 2009...

            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