Results 1 to 4 of 4

Thread: how can I use the MsgBox icons?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091
    Hi,

    I want to create my own msgbox but I don't know how to use the MsgBox icons built in with VB. I was given some code in an earlier post but it doesn't seem to work..

    Any help would be appreciated..

    Dan

  2. #2
    Guest
    Specify vbCritical, vbExclamation, vbInformation and vbQuestion for the 4 different icons.
    Code:
    MsgBox "Prompt", vbCritical + vbOKOnly, "Title"

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091
    I appreciate your help, but I wanted to create my own msgbox but I need to somehow get a hold of the built in VB msgbox icons so that I can use them on "my own created" msgbox form... I'm not using the built in MsgBox..

    [Edited by dbassettt74 on 10-01-2000 at 03:59 PM]

  4. #4
    Guest
    When a MessageBox is up, press the Print Screen key to capture the screen and then manually retrieve the icon from the screenshot.

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