Small Icon

Announcements and discussion for PInvoke

Moderators: Luke Jefferson, Robert

Small Icon

Postby Zamdrist » Mon Dec 31, 2007 4:56 pm

I need to retrieve a small icon from a list of windows (window text, handle) I'm populating in a listview/imagelist.

I'm not quite sure how to do this and any help would be appreciated. As I understand it I would likely need to use the functions GetClassLongPtr to populate a WindowClassEx?

Or else I've also read that I could use the WM_GETICON notification in conjuction with the WindowProc() function?

Forgive me but my knowledge of using the Win32API with VB.Net is relatively limited. I've been able to cobble together enough to populate the listview with the windowtext and window handle, but this last part is a bit beyond me.

Any help would be greatly appreciated. Thanks!
Zamdrist
 
Posts: 2
Joined: Mon Dec 31, 2007 4:47 pm

Postby Zamdrist » Tue Jan 08, 2008 9:48 pm

I've come to the conclusion this is not possible.
Zamdrist
 
Posts: 2
Joined: Mon Dec 31, 2007 4:47 pm


Return to PInvoke.Net

Who is online

Users browsing this forum: No registered users and 0 guests