I am planning to follow one of the suggestions made here to control window dimensions, hide/show and bring to front of a window owned by a different process from m开发者_运维知识库y process.
Window manipulation using window-handle from different process on MS Windows(XP)
How can I control the size and position of a new process Window from a WinForms app?
Will my process be reported as malware by any of the malware detection software you know?
Will my process need any higher privileges to control the other process window than the highest of the privileges with which my process and the other process are running?
I suggest you use UI Automation to manipulate another application's window.
This is probably the best way to ensure your manipulating application will not be seen as malware, as UI Automation is 100% part of the OS, not a HACK, supports security. It also application authors to add or remove automation capabilities to their application. See this somewhat related thread here on SO: https://stackoverflow.com/questions/5383600/win32-vs-ui-automation
精彩评论