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#
  4. Bold and Color TEXT in MessageBox?

Bold and Color TEXT in MessageBox?

Scheduled Pinned Locked Moved C#
question
4 Posts 3 Posters 1 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.
  • K Offline
    K Offline
    Khang Nguyen
    wrote on last edited by
    #1

    Dear gurus, How do you make text displayed in a MessageBox BOLD and COLORFUL? Thanks a lot in advance Khang Nguyen :-D

    S M K 3 Replies Last reply
    0
    • K Khang Nguyen

      Dear gurus, How do you make text displayed in a MessageBox BOLD and COLORFUL? Thanks a lot in advance Khang Nguyen :-D

      S Offline
      S Offline
      S van Leent
      wrote on last edited by
      #2

      Probably you need the windows API called MessageBoxEx LPCTSTR Dutch = TEXT("Double Dutch :-)");

      1 Reply Last reply
      0
      • K Khang Nguyen

        Dear gurus, How do you make text displayed in a MessageBox BOLD and COLORFUL? Thanks a lot in advance Khang Nguyen :-D

        M Offline
        M Offline
        monrobot13
        wrote on last edited by
        #3

        You can't do it with the plain old MessageBox class. If you want to have specially formatted text like that you're either going to have to make your own class or look around CP or the web for one that someone has already made. - monrobot13

        1 Reply Last reply
        0
        • K Khang Nguyen

          Dear gurus, How do you make text displayed in a MessageBox BOLD and COLORFUL? Thanks a lot in advance Khang Nguyen :-D

          K Offline
          K Offline
          Khang Nguyen
          wrote on last edited by
          #4

          Thank you so much, gurus! Khang Nguyen

          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