This can be done in the usual manner, i. e. by using the Windows API:
Get the handle of OneNote's main window by searching for a window with class name "Framework::CFrame" (Use the FindWindow Function). Then apply the ShowWindow Function.
"xiao" wrote:
[Quoted Text] > Hi, > Does OneNote API allow us to maximaize the OneNote window programmatically? > If yes, what is the method? > Thx.
|