Set correct size for property page

  • Thread starter Thread starter zen
  • Start date Start date
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
 
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;
};
 
Back
Top