Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How change HWND of process with win api c#?
Posted
Comments
George Jonsson 5-Nov-15 2:35am    
What is it you really want to do? Seems like a strange request to me.
Richard MacCutchan 5-Nov-15 3:47am    
You cannot change it. And in reality any process may have multiple HWND objects attached, so which one would you change?

You cannot - it is a system unique identifier created when the window itself is created, and it is not persisted from run to run.
 
Share this answer
 
Process doesn't have property called HWND. HWND is the handle to Window and process may work with several Windows. What is your requirement and what are you trying to do? It is not clear.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900