PowerPoint 2007 Add-in...Capture Size Change of PowerPoint Window

D

D.C

Hi,

I am working on a project which requires me to create a Managed Add-in to
work with PowerPoint 2007.

I have created a WinForm to hold the buttons required for Add-in as the
Add-in requires to have a Floating Toolbar.

Now here in PowerPoint we don't have any event as WindowSize like we have in
Word.

I want to change the location of the Floating Toolbar(WinForm) if the
PowerPoint Window is Resized or Moved and Hide it if PP Window is Minimized.

I am using VS 2005, .Net 3.0, Office 2007.

Can any one please give me any solution for the same..?

Thanks in Advance...


--
D.C

....on the deadline, project should be buried where it belongs...

....can be done...
 
A

Austin Myers

How about using,

Returns or sets the state of the specified window. Read/write PpWindowState.

PpWindowState can be one of these PpWindowState constants.
ppWindowMaximized
ppWindowMinimized
ppWindowNormal

expression.WindowState

expression Required. An expression that returns one of the objects in the
Applies To list.



Austin Myers
MS PowerPoint MVP Team

Provider of PFCMedia, PFCPro, PFCExpress
http://www.pfcmedia.com
 
D

D.C

Hey Austin,

Thanks for the post...I am sorry for being late but I was busy with some
other releases...

I am a novice to Office Programming can you please tell me, how I can check
weather the power point window has been resized or minimized..?

--
D.C

....on the deadline, project should be buried where it belongs...

....can be done...
 
D

D.C

Hey Austin,

Thanks for the post...I am sorry for being late but I was busy with some
other releases...

I am a novice to Office Programming can you please tell me, how I can check
weather the power point window has been resized or minimized..?

--
D.C

....on the deadline, project should be buried where it belongs...

....can be done...
 
D

D.C

Hi Steve,

I will give it a go and try to find the way...

Thanks.
--
D.C

....on the deadline, project should be buried where it belongs...

....can be done...
 

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