Set correct size for property page

Z

zen

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
 
Z

zen

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;
};
 

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