VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Extract,Draw and Destroy Icon using ExtractIcon,DrawIcon and DestroyIcon API

Karthikeyan  (187 Submissions)   Windows API Call/Explanation   Visual Basic 5.0   Unknown Difficulty   Wed 17th January 2001   Mon 8th February 2021

Extract,Draw and Destroy Icon using ExtractIcon,DrawIcon and DestroyIcon API

API Declarations


Private Declare Function ExtractIcon Lib "shell32.dll" Alias "ExtractIconA" (ByVal hInst As Long, ByVal lpszExeFileName As String, ByVal nIconIndex As Long) As Long
Private Declare Function DrawIcon Lib "user32" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal hicon As Long) As Long
Private Declare Function DestroyIcon Lib "user32" (ByVal hicon As Long) As Long
Dim hicon As Long ' Handle to icon
Dim rval As Long ' Return value
Dim index As Long 'Icon index

Rate Extract,Draw and Destroy Icon using ExtractIcon,DrawIcon and DestroyIcon API (1(1 Vote))
Extract,Draw and Destroy Icon using ExtractIcon,DrawIcon and DestroyIcon API.bas

Extract,Draw and Destroy Icon using ExtractIcon,DrawIcon and DestroyIcon API Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters