* "VJ" <vi********@yahoo.com> scripsit:
Is there a standard message box with a Checkbox..?, or do I have to write
one?
You'll have to write one.
<URL:http://www.codeproject.com/cs/miscctrl/MessageBoxChk.asp>
For the system icons:
Have a look at the 'SystemIcons' class.
For the system sounds:
\\\
Private Declare Auto Function MessageBeep Lib "user32.dll" ( _
ByVal wType As Int32 _
) As Boolean
Private Const MB_ICONASTERISK As Int32 = &H40 ' Information.
Private Const MB_ICONEXCLAMATION As Int32 = &H30 ' Ausrufezeichen.
Private Const MB_ICONHAND As Int32 = &H10 ' Stopschild.
Private Const MB_ICONQUESTION As Int32 = &H20 ' Fragezeichen.
Private Const MB_OK As Int32 = &H0 ' Standard-OK.
///
Usage:
\\\
MessageBeep(MB_ICONHAND)
///
Notice that Windows' messagebox supports copying its contents to the
clipboard by pressing Ctrl+C.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>