Results 1 to 4 of 4

Thread: fonts of msgbox

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Location
    All around South Africa
    Posts
    14

    Unhappy fonts of msgbox

    How can I change the font size and tipe of the msgbox, and how can I remove the close button(top right) from the msgbox?
    JGL

  2. #2
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Sounds to me

    Sounds to me that you may be better off building your own form to act as a messagebox. You can still control the icons, buttons, and such, but this way you could have control over the font size, color, typeface...
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

  3. #3
    Megatron
    Guest
    One way would be to set up a hook and catch the WM_CREATE message (when the messagebox is created). By doing this, you can subclass the messagebox when it gets created. Then you can set the font via the WM_SETFONT message.

  4. #4
    Fanatic Member ExcalibursZone's Avatar
    Join Date
    Feb 2000
    Location
    Western NY State
    Posts
    908
    You know, on the AmigaDos OS, there was a nifty program that let you use different dialogs for the standard message boxes and such. It would be nifty to do that here as well. Subclass the Message Box and display your own instead. But I get off topic Good solution, Megatron. ... Have you met my friend Unicron yet?
    -Excalibur

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width