VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Allows you to paint the system stock icons (as used by messageboxes, windows etc.) onto your form

Duncan Jones  (19 Submissions)   Windows API Call/Explanation   Visual Basic 4.0 (32-bit)   Unknown Difficulty   Tue 13th March 2001   Mon 8th February 2021

Allows you to paint the system stock icons (as used by messageboxes, windows etc.) onto your form

API Declarations


'\\ You have a royalty free right to use, reproduce, modify, publish and mess
'\\ with this code
'\\ I'd like you to visit http://www.merrioncomputing.com for updates, but
'\\ won't force you


'\\ Stock icons
Public Enum enStockIcons
IDI_WINLOGO = 32517&
IDI_APPLICATION = 32512&
IDI_ASTERISK = 32516&
IDI_EXCLAMATION = 32515&
IDI_HAND = 32513&
IDI_QUESTION = 32514&
IDI_UNKNOWN = 32518&
End Enum

Private Declare Function LoadIconApi Lib "user32" Alias "LoadIconA" (ByVal hInstance As Long, ByVal lpIconName As Long) As Long

'\\ Drawing related...
Private Declare Function DrawIconApi Lib "user32" Alias "DrawIcon" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal hIcon As Long) As Long



Rate Allows you to paint the system stock icons (as used by messageboxes, windows etc.) onto your form (2(2 Vote))
Allows you to paint the system stock icons (as used by messageboxes, windows etc.) onto your form.bas

Allows you to paint the system stock icons (as used by messageboxes, windows etc.) onto your form Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters