DisplayGetStretchBltMode

#include "BIDISP.H"

 

int CALLBACK DisplayGetStretchBltMode ()

Description

The DisplayGetStretchBltMode function returns the current StretchBltMode that is used to display the image.

Parameters

HWND

hWnd

Window handle to get client parameters.

Return values

The function returns the current StretchBltMode. Valid values are the following:

BLACKONWHITE                                            1
WHITEONBLACK                                            2
COLORONCOLOR                                           3
HALFTONE                                                       4

For more information about these values, please refer to the description of the SetStretchBltMode WIN32 function in the WIN32 documentation.

Requirements

Header :     Declared in BIDisp.h; include BIDisp.h.

Library :    Use BIDisp.lib.

DLLs :       BIDisp.dll.

Code example

See sample code at DisplayWmCreate().