CWinApp::LoadOEMCursor

HCURSOR LoadOEMCursor ( UINT nIDCursor ) const;

¹Ýȯ °ª

¼º°ø ÇÏ´Â °æ¿ì Ä¿¼­¿¡ ´ë ÇÑ ÇÚµé ±×·¸Áö ¾ÊÀ¸¸é NULL¡£

¸Å°³ º¯¼ö

nIDCursor

OCR_ ´Â ¹Ì¸® Á¤ÀÇ µÈ Windows Ä¿¼­¸¦ ÁöÁ¤ ÇÏ´Â »ó¼ö ½Äº°ÀÚ¸¦ Âü°í. # Define OEMRESOURCE Çϱâ Àü¿¡ ÇØ¾ß ÇÕ´Ï´Ù # include lt;afxwin.h > WINDOWS¿¡¼­ OCR_ »ó¼ö¿¡ ¾×¼¼½ºÇÒ ¼ö ÀÖ½À´Ï´Ù.H¡£

ÁÖÀÇ

·Îµå âÀ» ¹Ì¸® Á¤ÀÇ µÈ nIDCursor ¿¡ ÀÇÇØ ÁöÁ¤ µÈ Ä¿¼­ ¸®¼Ò½º¡£

LoadOEMCursor ¶Ç´Â LoadStandardCursor ¸â¹ö ÇÔ¼ö¸¦ »ç¿ë ÇÏ ¿© ¹Ì¸® Á¤ÀÇ µÈ Windows Ä¿¼­ ¾×¼¼½º¡£

¿¹Á¦

/ / Stdafx.h ÆÄÀÏ Ãß°¡ # Á¤ÀÇ ÇÏ´Â OEMRESOURCE
/ / OCR_ °ªÀÇ windows.h Á¤ÀÇ Æ÷ÇÔ ÇÕ´Ï´Ù.
# define OEMRESOURCE
# include lt;afxwin.h > / / MFC ÇÙ½É ¹× Ç¥ÁØ ±¸¼º ¿ä¼Ò
# include <afxext.h> / / MFC È®Àå (VB Æ÷ÇÔ)

HCURSOR hCursor;
 ? / / ¹Ì¸® Á¤ÀÇ µÈ â "Å©±â ¸ðµÎ" Ä¿¼­¸¦ ·Îµå ÇÕ´Ï´Ù.
 ? hCursor = AfxGetApp()-> LoadOEMCursor(OCR_SIZEALL)

CWinApp °³¿ä |nbsp; Ŭ·¡½º ¸â¹ö (ko) | °èÃþ ±¸Á¶ Â÷Æ®(&N)

Âü°í Ç׸ñnbsp;CWinApp::LoadCursor, CWinApp::LoadStandardCursor, :: LoadCursor(&N)

Index