cybertank
02-04-2005, 02:17 AM
This is programming in C++ .Net on XP/win2k3.
Could someone point me to resources describing what kind of API is available to work on a window's handle pointer (for example, using Process:GetProcessByID(id) and then referencing the MainWindowHandle member of the Process object)? e.g. once I get a window's handle, what can I do with it?
One example of something I'd like to do is having gotten the handle to a window in a process I have access to, I'd like to change the way the top bar is painted (lets say from the theme'd blue to a red). Is this possible? What kinds of other operations can one do on a window handle?
Any kinds of docs would be greatly appreciated. Searching the MSDN doesn't result in too much useful info.
Could someone point me to resources describing what kind of API is available to work on a window's handle pointer (for example, using Process:GetProcessByID(id) and then referencing the MainWindowHandle member of the Process object)? e.g. once I get a window's handle, what can I do with it?
One example of something I'd like to do is having gotten the handle to a window in a process I have access to, I'd like to change the way the top bar is painted (lets say from the theme'd blue to a red). Is this possible? What kinds of other operations can one do on a window handle?
Any kinds of docs would be greatly appreciated. Searching the MSDN doesn't result in too much useful info.