VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Msgbox API Icons

Kelley Hendrix  (1 Submission)   Miscellaneous   Beginner   Wed 3rd February 2021

This code shows how to display the msgbox icons on your form. No Icons to include in your project, no picture controls, only API. UPDATED 12/22/06 - Simplified the little bit of code that was there and added an additional icon. If you like, please vote. Thanks!

API Declarations
Public Declare Function LoadStandardIcon Lib "user32" Alias _
"LoadIconA" (ByVal hInstance As Long, ByVal lpIconNum As _
MsgPicTypes) As Long

Public Declare Function DrawIcon Lib "user32" (ByVal hDC _
As Long, ByVal x As Long, ByVal y As Long, _
ByVal hIcon As Long) As Long

Rate Msgbox API Icons (4(4 Vote))

Download Msgbox API Icons

Msgbox API Icons Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters