CWinApp::ProcessShellCommand

BOOL ProcessShellCommand (CCommandLineInfoamp;rCmdInfo );(&A)

¹Ýȯ °ª

¼Ð ¸í·ÉÀÌ ¼º°øÀûÀ¸·Î ó¸® ÇÏ´Â °æ¿ì 0ÀÌ ¾Æ´Ñ. 0 À̸é InitInstance ¿¡¼­ FALSE ¹Ýȯ¡£

¸Å°³ º¯¼ö

rCmdInfo

CCommandLineInfo °³Ã¼¿¡ ´ë ÇÑ ÂüÁ¶¡£

ÁÖÀÇ

InitInstance º¯¼ö¿Í rCmdInfo¿¡ ÀÇÇØ ½Äº° µÇ´Â CCommandLineInfo °³Ã¼¿¡¼­ Àü´Þ µÈ ÁöÁ¤ µÈ ÀÛ¾÷ ¼öÇàÀ» Àû¿ë ÇÏ·Á¸éÀÌ ¸â¹ö ÇÔ¼ö¸¦ È£ÃâÇÒ¡£

Appwizard¸¦ »ç¿ë ÇÏ ¿© »õ MFC ÇÁ·ÎÁ§Æ®¸¦ ½ÃÀÛÇÒ ¶§ AppWizard CCommandLineInfoÀÇ ·ÎÄà ÀνºÅϽº¸¦ ¸¸µé°í ProcessShellCommand ¹× ParseCommandLine InitInstance ¸â¹ö ÇÔ¼ö¸¦ È£Ãâ ÇÕ´Ï´Ù. Ä¿¸Çµå ¶óÀÎ ¾Æ·¡¿¡¼­ ¼³¸í ÇÏ´Â °æ·Î ´ÙÀ½°ú °°½À´Ï´Ù.:

  1. InitInstance¿¡¼­ ¸¸µç ÈÄ CCommandLineInfo °³Ã¼ ParseCommandLine Àü´Þ¡£

  2. ParseCommandLine ´ÙÀ½ È£Ãâ CCommandLineInfo::ParseParam ¹Ýº¹, ÇÑ ¹ø °¢ ¸Å°³ º¯¼ö¿¡ ´ëÇØ¡£

  3. ParseParam ´ÙÀ½ ProcessShellCommand ¿¡ Àü´Þ µÈ CCommandLineInfo °³Ã¼¸¦ ä¿ó´Ï´Ù.

  4. ¸í·ÉÁÙ Àμö ¹× Ç÷¡±×¸¦ ó¸® ÇÏ´Â ProcessShellCommand¡£

CCommandLineInfo::m_nShellCommand¿¡ ÀÇÇØ ½Äº° µÇ´Â CCommandLineInfo °³Ã¼ÀÇ µ¥ÀÌÅÍ ¸â¹ö´Â CCommandLineInfo Ŭ·¡½º ³»¿¡¼­ Á¤ÀÇ µÈ ´ÙÀ½ ¿­°Å Çü½Ä¡£

enum {
 nbsp; FileNew,
 ? FileOpen,
 ? FilePrint,
 ? FilePrintTo,
 ? FileDDE,
}(&N)

ÀÌ·¯ÇÑ °ª °¢°¢ÀÇ °£·« ÇÑ ¼³¸í¿¡ ´ë ÇÑ ´ÙÀ½ À¥ »çÀÌÆ®¸¦ ÂüÁ¶ ÇϽʽÿÀ. CCommandLineInfo::m_nShellCommand¡£

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

Âü°í Ç׸ñnbsp;CWinApp::ParseCommandLine, CCommandLineInfo, CCommandLineInfo::ParseParam, CCommandLineInfo::m_nShellCommand(&N)

Index