can i change the color of the text in a message box

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bagstoper
    New Member
    • Feb 2007
    • 40

    can i change the color of the text in a message box

    well can I?
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    Originally posted by bagstoper
    well can I?
    I don't know about VB.Net, but in VB6 I would say "no, definitely not". Not directly from VB using the MsgBox function, that is. There are probably ways around the problem, though. For example:
    • Create your own "message box" window and use xxx.Show vbModal to display it.
    • There may be an API call which will allow you to generate a popup message with customised properties.
    Of the two, the former would be quicker and simpler to implement, while the latter may (or may not) have some other advantages.

    Comment

    • bagstoper
      New Member
      • Feb 2007
      • 40

      #3
      thanks. once again you have solved my problem.

      Comment

      • Killer42
        Recognized Expert Expert
        • Oct 2006
        • 8429

        #4
        Originally posted by bagstoper
        thanks. once again you have solved my problem.
        Glad to hear it. :)

        What did you do, create your own window?

        Comment

        • bagstoper
          New Member
          • Feb 2007
          • 40

          #5
          i plan on doing that but i cant cause i dont have VB6 at my moms house. :(

          Comment

          • chelle
            New Member
            • Mar 2007
            • 1

            #6
            Can you change the back ground colour of a message box?

            Comment

            • Killer42
              Recognized Expert Expert
              • Oct 2006
              • 8429

              #7
              Originally posted by chelle
              Can you change the back ground colour of a message box?
              See my response in message #2 of this thread.

              Comment

              Working...