다음을 통해 공유


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

참고 항목

참조

CDC::GrayString

기타 리소스

구조체, 스타일, 콜백 및 메시지 맵