Results 1 to 11 of 11

Thread: [RESOLVED] Formatting a Msgbox

  1. #1

    Thread Starter
    Fanatic Member Kzin's Avatar
    Join Date
    Dec 2000
    Posts
    611

    [RESOLVED] Formatting a Msgbox

    Anyone know how to dispaly bold text in a msgbox?
    Last edited by Kzin; Dec 3rd, 2001 at 09:34 AM.
    Looking for a friendly intelligent chat forum? Visit the white-hart.net

  2. #2
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288
    Search www.allapi.net for an example.

  3. #3

    Thread Starter
    Fanatic Member Kzin's Avatar
    Join Date
    Dec 2000
    Posts
    611
    Originally posted by amitabh
    Search www.allapi.net for an example.
    I searched and found nothing useful for this
    Looking for a friendly intelligent chat forum? Visit the white-hart.net

  4. #4
    Matthew Gates
    Guest
    Just create your own Messagebox by using a Form and a Label.

  5. #5

    Thread Starter
    Fanatic Member Kzin's Avatar
    Join Date
    Dec 2000
    Posts
    611
    Originally posted by Matthew Gates
    Just create your own Messagebox by using a Form and a Label.
    I thought of that but I want to keep the exe file size right down as the app is an activeX exe
    Looking for a friendly intelligent chat forum? Visit the white-hart.net

  6. #6
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    dont think you can

    suggest creating another form adding the massage on and use

    formOld.Hide
    formNew.show

    and on an ok or quit button

    formOld.Show
    formNew.Hide

    any problems give us a shout
    -----------------------------------------------
    "The hall is rented,"
    "the orchestra is engaged,"
    "its now time to see if you can dance!"
    Q, Q-Who, Star Trek The Next Generation
    -----------------------------------------------
    General Work day

    -----------------------------------------------
    DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle

  7. #7

    Thread Starter
    Fanatic Member Kzin's Avatar
    Join Date
    Dec 2000
    Posts
    611
    thanks
    Looking for a friendly intelligent chat forum? Visit the white-hart.net

  8. #8
    Fanatic Member Kings's Avatar
    Join Date
    Aug 2001
    Posts
    673
    it is possible try http://www.planetsourcecode.com.
    I think you need to subclass the MsgBox or something like that.
    Megatron has the code to do that
    K i n g s

  9. #9
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    The standard message box is renown throughtout the civilized world for being extremely inflexiable. Short of creating your own message box with a standard VB form (as has been suggested), I'm afraid you are out of luck.

  10. #10
    Fanatic Member Kings's Avatar
    Join Date
    Aug 2001
    Posts
    673
    I found it, http://www.allapi.net/vbexamples/vbe...ategory=SOURCE

    It has the code to manipulate the MsgBox
    K i n g s

  11. #11

    Thread Starter
    Fanatic Member Kzin's Avatar
    Join Date
    Dec 2000
    Posts
    611
    Thanks - I just found this too http://www.planetsourcecode.com./xq/...s/ShowCode.htmChanging style, position, and SelF-Closing msgboxs
    Looking for a friendly intelligent chat forum? Visit the white-hart.net

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