CDC::GrayString에 대한 콜백 함수
OutputFunc is a placeholder for the application-supplied callback function name.
BOOL CALLBACK EXPORT OutputFunc(
HDC hDC,
LPARAM lpData,
int nCount
);
매개 변수
hDC
Identifies a memory device context with a bitmap of at least the width and height specified by nWidth and nHeight to GrayString.lpData
Points to the character string to be drawn.nCount
Specifies the number of characters to output.
반환 값
The callback function's return value must be TRUE to indicate success; otherwise it is FALSE.
설명
The callback function (OutputFunc) must draw an image relative to the coordinates (0,0) rather than (x, y).
요구 사항
헤더: afxwin.h