hwnd

How can I tell if a given hWnd is still valid?

Please forgive my ignorance, I'm completely new when it comes to winforms programming. I'm using a third-party class that spawns an instance of Internet Explorer. This class has a property, hWnd, that returns the hWnd of the process. Later on down the line, I may want to reuse the instance of the application if it still exists, so I ne...

How to get the Handle that is executed in winexec or shellexecute?

i use to create a custom function like winexec(...):Hwnd that will retun the handle of executed application. i did use the findwindow() but having problem if it change window caption. ...

Find Messenger Hwnd

Hello, Does someone knows how can I find the HWND for all the msn messenger currently opened conversations windows? OR how can i find the HWND for the textbox whih is currently focused? TY ...

Window clicked - what happens then? (c++)

Hello! I am working on a limited remote control of another PC over network. At first the controlled window is chosen and the client may control that window and all child windows. I am having a problem with the mouse though, I can move it using SetCursorPos, but when I try to send the WM_LBUTTONDOWN and WM_LBUTTONUP messages, there is no ...

Passing Input events from HwndHost to underlying WPF controls?

hi there, is there a way to pass input events (primarily mouse, but eventually keyboard input too) that occurs on a HwndHost back to the underlying WPF controls (e.g. a panel) ? i can hook up to WndProc within the HwndHost and recveive the windows messages. can i manually create a routedevent for a mouse click and send it to the parent...

I want to disable the shadow effect on a specific aero window

I want to disable the shadow effect on a specific aero window. All I have is the HWND of this window, is this possible? ...