My application needs to identify every form of every opened application. For example, if i press “Ctrl+f1” when i am in any application(lets say microsoft outlook), and if i am in the “new message” form, i need to send a message to my application with the following information:
process=outlook.exe
form=”new message” form id? (or whatever identifies the form uniquely?
is that possible?
In other words, are windows forms uniquely identified?
Oh, and window handles are not the solution because they change everytime, i need something that identifies the form and that doesnt change if i close the application and reopen it.
Although window handles are unique, but they are never the same value for the same form, they are only unique between themselves, but a window will never have the same and unique value of its handle, that will identify it.
Windows forms can NOT be uniquely identified.