DTM_ENABLESHRINK

This message is sent by an application to command the HTML control to toggle the image shrink enable mode, or shrink mode. If shrink mode is enabled, the HTML control will shrink images as required to make the page fit the window.

DTM_ENABLESHRINK wParam = 0, 
lParam = (LPARAM)(BOOL) bEnableShrink;

Parameters

  • bEnableShrink
    Boolean that indicates whether to enable shrink mode. If set to TRUE, shrink mode is enabled. If set to FALSE, shrink mode is not enabled.

Return Values

None.

Remarks

This message only affects graphic files that are too large to fit in the window. Usually, in this situation, part of the graphic extends beyond the right edge of the window and the horizontal scroll bar is displayed. Sending DTM_ENABLESHRINK with the lParam set to TRUE removes the horizontal scroll bar and redraws the page so it fits inside the window.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Htmlctrl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.