pro_vb thread: WinAPI
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
|





