Share via


IMessageForm::ShowForm

The ShowForm method shows or hides the message form.

Syntax

HRESULT ShowForm (
  ULONG ulAction
);

Parameters

  • ulAction
    [in] Specifies how the window is to be shown. See Remarks for more information.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

  • S_OK
    Indicates success.

Remarks

The ulAction parameter can be one of the following values from the ShowWindow Windows CE function, defined in the winuser.h header file.

Constant Value Description
SW_HIDE 0 Hides the form.
SW_SHOW 5 Activates and displays the form.

Requirements

Pocket PC: Windows Mobile 2002
OS Versions: Windows CE 3.0
Header: cemapi.h
Library: cemapi.lib

See Also

IMessageForm

Messaging

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.