Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / September 2005

Tip: Looking for answers? Try searching our database.

Set correct size for property page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
zen - 28 Sep 2005 09:11 GMT
Hi!

How do I resize my property page to fit into Outlook 2003's (Tools->Options)
property page control?

I created 1 property page for the Tools->Options menu and the folder context
menu ->properties.

When shown via Tools->Options the bottom 48 pixels are not drawn.
After clicking on the property page the bottom area is drawn.
It is using the size for the folder context menu.

regards,
~Zen
zen - 28 Sep 2005 16:26 GMT
Never mind, I discovered it by accident...
implement this method:

STDMETHOD (SetObjectRects)( LPCRECT lprcPosRect, LPCRECT lprcClipRect )
{
ResizeClient( lprcPosRect->right, lprcPosRect->bottom+32, TRUE );
return S_OK;
};

> Hi!
>
[quoted text clipped - 11 lines]
> regards,
> ~Zen
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.