How to maximize the OneNote window programmatically

X

xiao

Hi,
Does OneNote API allow us to maximaize the OneNote window programmatically?
If yes, what is the method?
Thx.
 
J

John Guin [msft]

No, there is no way via the API to work with the OneNote UI. It's a APi to
allow for import and export of the XML information stored in notebooks.
 
R

Ricco Reimann

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top