Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: WinAPI


Message #1 by "Brendan Ingram" <brendan.ingram@q...> on Tue, 26 Sep 2000 02:44:09 +0100
I am creating a DLL of windows API functions that take the handle of a
window (hWnd) as the sole parameter. I need to know if there is a way I
can get the Icon of a window using the hWnd. I have looked at LoadIcon and
LoadImage, but have had no success. The end point is to use the returned
Icon in combination with a SendToTray function to send a window, icon,
caption, and menu to the system tray like this:
objWinAPI.SendToTray(frmMain.hWnd)

Thanks for you help
Brendan

  Return to Index