VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Display a message box using MessageBox API

Karthikeyan  (187 Submissions)   Windows API Call/Explanation   Visual Basic 5.0   Unknown Difficulty   Tue 2nd October 2001   Mon 8th February 2021

Display a message box using MessageBox API

API Declarations


Private Const MB_OKCANCEL = &H1&
Private Const MB_OK = &H0&
Private Const MB_ABORTRETRYIGNORE = &H2&
Private Const MB_YESNOCANCEL = &H3&
Private Const MB_YESNO = &H4&
Private Declare Function MessageBox Lib "user32" Alias "MessageBoxA" (ByVal hwnd As Long, ByVal lpText As String, ByVal lpCaption As String, ByVal wType As Long) As Long

Rate Display a message box using MessageBox API (1(1 Vote))
Display a message box using MessageBox API.bas

Display a message box using MessageBox API Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters