Adding events or changeing properties of a window useing its handel

  • Thread starter Thread starter Brian Henry
  • Start date Start date
B

Brian Henry

If I have the handel of a application window.. like the handel for the
system tray "Shell_TrayWnd" how would i be able to interface to that handel?
so i could add events or properties? Thanks!
 
It may be possible if the interface to the object is known to convert the
handle to an object interface using the system.reflection namespace
 
* "Brian Henry said:
If I have the handel of a application window.. like the handel for the
system tray "Shell_TrayWnd" how would i be able to interface to that handel?
so i could add events or properties? Thanks!

What exactly do you want to do? You can use various platform functions
(like 'SendMessage', ...) to manipulate the window. You can use a hook
to get messages sent to the window.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top