Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

This message is sent by an application to determine the layout height (in pixels) occupied by the text.

Syntax

DTM_LAYOUTHEIGHT
  wParam = 0;
  lParam = 0;

Parameters

None.

Return Value

The value is the height (in pixels) occupied by the text.

Remarks

Windows Mobile Classic and Windows Mobile Professional layout height number increases when more lines are added to the page.

The layout height can be 10, 25, 40, ... 1160, and so on. The layout height does not depend on the client area, scroll bars, or any other visual effects.

If there is a blank page or when "blank page" == DTM_CLEAR, both width and height should be 0 and DTM_LAYOUTHEIGHT returns 0.

The following example shows how you might use this message.

Copy Code
lHeight=SendMessage(hWndCtrl, DTM_LAYOUTHEIGHT, 0, 0);

Requirements

Header htmlctrl.h
Library htmlctrl.lib
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.