Dumb question is there an ea开发者_开发问答sy way to clear to the desktop and then open two explorer windows and call the "Show windows side by side" task bar call ? Just wondering if there is an api in an MS library way to do this.
You can use the TileWindows
WinAPI function via p/invoke to resize the desired windows to side-by-side.
To hide all other windows, just enumerate through them and minimise them.
A lot of API functions can be easily found on MSDN Dev Center. Without having worked with the Win API much, this is where I would start:
- Get collection of Windows with
EnumWindows
orEnumChildWindows
- Manipulate Window State with
ShowWindow
orTileWindows
精彩评论