Results 1 to 21 of 21

Thread: Changing the size of the font of msgbox function

  1. #1

    Thread Starter
    Fanatic Member Kings's Avatar
    Join Date
    Aug 2001
    Posts
    673

    I dunno how to make a bigger font but

    why don't you add another form to your project
    and make it the same as a msgbox.
    Very easily done and you can change whatever you like
    K i n g s

  2. #2
    Addicted Member
    Join Date
    Sep 2001
    Location
    UK
    Posts
    136
    I dont think its possible to change the font of a msgbox. I believe its a standered message with unchangeable text properties. However i am new to vb so i may and quiet possibly be wrong. But i agree with Kings idea making a new form would be just as easy then you can change size colour font etc.

  3. #3
    Addicted Member
    Join Date
    Sep 2001
    Location
    UK
    Posts
    136
    GRRRRR typos...


    I dont think its possible to change the font of a msgbox. I believe its a standard message with unchangable text properties. However i am new to vb so i may and queit possibly be wrong. But i agree with Kings idea making a new form would be just as easy then you can change size colour font etc.

  4. #4
    DaoK
    Guest
    Make a form and open it a vbmodal

  5. #5
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288
    It is possible. Look at this example
    http://www.allapi.net/vbexamples/vbe...ategory=SOURCE

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    Thanks for the link amitabh. I didn't think you could do it either.

  7. #7
    Addicted Member
    Join Date
    Sep 2001
    Location
    UK
    Posts
    136
    Wicked thanks for link.

  8. #8
    DaoK
    Guest
    This link is usefull but I am sure than you can make your own msgbox who will be much easy

  9. #9

    Thread Starter
    Fanatic Member Kings's Avatar
    Join Date
    Aug 2001
    Posts
    673
    yeh, do what daok says.

    That is much better cause you can have your own logos, pictures, buttons, labels or what ever you like in it
    K i n g s

  10. #10
    Addicted Member
    Join Date
    Sep 2001
    Location
    UK
    Posts
    136
    lol Kings.

    Oh yea what does download SWB soon mean?

  11. #11

    Thread Starter
    Fanatic Member Kings's Avatar
    Join Date
    Aug 2001
    Posts
    673
    that ya can download my game soon
    K i n g s

  12. #12
    Addicted Member
    Join Date
    Sep 2001
    Location
    UK
    Posts
    136
    lol!!!!!!!!
    What game is it?
    -----------------------------------------------
    Gavin is a newbie at programming and knows almost nothing
    -----------------------------------------------

  13. #13

    Thread Starter
    Fanatic Member Kings's Avatar
    Join Date
    Aug 2001
    Posts
    673
    SWP

    a strategy game
    K i n g s

  14. #14
    DaoK
    Guest
    Where can we download it ?

  15. #15
    New Member
    Join Date
    Sep 2001
    Posts
    3

    Red face

    Hi
    I am not a professional, but what I know that your request is impossible

    you should make your own MsgBox function

    thanks

  16. #16
    DaoK
    Guest
    They have the same topic in the General forum, you can add a new button in just before the [-] one but you cant change font or icon.

  17. #17

    Thread Starter
    Fanatic Member Kings's Avatar
    Join Date
    Aug 2001
    Posts
    673
    Originally posted by DaoK
    Where can we download it ?
    You can't download it yet. I've just started it yet.

    I should change my sig into Dowload SWP...Sometime
    K i n g s

  18. #18
    Megatron
    Guest
    Where is everyone getting this idea that setting the font is impossible?? It is possible. Subclass the messagebox, and send the WM_SETFONT message to it.

    I'll see if I can post some code.

  19. #19

    Thread Starter
    Fanatic Member Kings's Avatar
    Join Date
    Aug 2001
    Posts
    673
    Originally posted by amitabh
    It is possible. Look at this example
    http://www.allapi.net/vbexamples/vbe...ategory=SOURCE
    ehhh, amitabh already told us it could be done
    K i n g s

  20. #20
    Megatron
    Guest
    Darn, I worked on some for almost 10 minutes!

    oh well.

  21. #21
    DaoK
    Guest
    ah i see ... so I will wait

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