Option page in Outlook 2003

Add-in Express™ Support Service
That's what is more important than anything else

Option page in Outlook 2003
 
Thomas Grossen


Guest


Hi,

The Option page in Outlook 2003 is bigger than in previous versions of Outlook (highest).

Is there a way to uses the whole size? I mean changing the height property of the option page in my project does not resolve the problem. There is still an unusable space at the bottom of the option page.

Thank you.
Posted 27 Nov, 2006 12:16:39 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Thomas,

You can handle the WM_SIZE windows message and adjust size of your form. See the code below:


  TMyOptionsPage = class(TActiveForm, IADX_OptionsPageXP, PropertyPage)
  private
    FLock: boolean;
    procedure WMSize(var Message: TWMSize); message WM_SIZE;
    ...
  end;

...

procedure TMyOptionsPage.WMSize(var Message: TWMSize);
begin
  inherited;
  if not FLock then begin
    FLock := True;
    try
      Height := Height + 32;
    finally
      FLock := False;
    end;
  end;
end;



P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.


Posted 28 Nov, 2006 04:30:14 Top
Thomas Grossen


Guest


Thank you again Dmitry.

Posted 28 Nov, 2006 07:15:39 Top