Group:  Other Microsoft Office Products ยป microsoft.public.onenote
Thread: How to maximize the OneNote window programmatically

Geek News

How to maximize the OneNote window programmatically
xiao 12/2/2008 12:41:00 AM
Hi,
Does OneNote API allow us to maximaize the OneNote window programmatically?
If yes, what is the method?
Thx.
RE: How to maximize the OneNote window programmatically
John Guin [msft] 12/3/2008 5:09:01 AM
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.

--
Thanks,
John Guin
OneNote Test Team
http://blogs.msdn.com/johnguin


"xiao" wrote:

[Quoted Text]
> Hi,
> Does OneNote API allow us to maximaize the OneNote window programmatically?
> If yes, what is the method?
> Thx.
RE: How to maximize the OneNote window programmatically
Ricco Reimann 12/3/2008 4:38:01 PM
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.

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net