VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Msgbox API Icons

by Kelley Hendrix (1 Submission)
Category: Miscellaneous
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (4 Votes)

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

Download Msgbox API Icons

Download Msgbox API Icons (3 KB)

Msgbox API Icons Comments

No comments have been posted about Msgbox API Icons. Why not be the first to post a comment about Msgbox API Icons.

Post your comment

Subject:
Message:
0/1000 characters