{"id":305,"date":"2014-08-07T23:25:34","date_gmt":"2014-08-08T08:25:34","guid":{"rendered":"http:\/\/blog.box.kr\/?p=305"},"modified":"2014-08-07T23:25:34","modified_gmt":"2014-08-08T08:25:34","slug":"mfc-%eb%82%b4%eb%b6%80-%ec%b0%bd%eb%81%bc%eb%a6%ac-%eb%a9%94%ec%8b%9c%ec%a7%80-%ec%86%a1%ec%88%98%ec%8b%a0","status":"publish","type":"post","link":"https:\/\/blog.box.kr\/?p=305","title":{"rendered":"[MFC] \ub0b4\ubd80 \ucc3d\ub07c\ub9ac \uba54\uc2dc\uc9c0 \uc1a1\uc218\uc2e0"},"content":{"rendered":"<p><span class=\"Apple-style-span\" style=\"color: #000000;\">\ud074\ub798\uc2a4\uac04 \ub370\uc774\ud130 \uc804\ub2ec\uc744 \ud558\ub294 \ubc29\ubc95\uc774 \ubb34\uc5c7\uc774 \uc788\uc744\uae4c.<\/span><\/p>\n<div style=\"color: #000000;\">\n<\/div>\n<div style=\"color: #888888;\"><span style=\"color: #b8d63d;\"><b>1. \uc804\uc5ed\ubcc0\uc218<\/b><\/span>\n<\/div>\n<div style=\"color: #888888;\"><span style=\"color: #b8d63d;\"><b>2. \ud5e4\ub354 include \ud6c4 \ubcc0\uc218 \uc811\uadfc<\/b><\/span>\n<\/div>\n<div style=\"color: #888888;\"><span style=\"color: #b8d63d;\"><b>3. SendMessage<\/b><\/span>\n<\/div>\n<div style=\"color: #000000;\">\n<\/div>\n<div style=\"color: #000000;\">SendMessage\ub97c \uc774\uc6a9\ud558\uba74 \ud074\ub798\uc2a4\uac04 \ub370\uc774\ud130 \uc804\ub2ec\uc774 \uc6a9\uc774\ud568\uc744 \uc54c\uace0, \uc0ac\uc6a9\ud574\ubcf4\uc558\ub2e4(\uba87\ubc88\uc758 \uc0bd\uc9c8\uacfc \ud568\uaed8&#8230;)\n<\/div>\n<div style=\"color: #000000;\">\n<\/div>\n<div style=\"color: #888888;\">\n<div>\n<div id=\"highlighter_771411\" class=\"syntaxhighlighter  c\">\n<div class=\"toolbar\" style=\"font-style: normal !important; color: white !important;\"><a class=\"toolbar_item command_help help\" style=\"font-style: normal !important; color: white !important;\" href=\"http:\/\/hatti.tistory.com\/24#\">?<\/a>\n<\/div>\n<table style=\"font-style: normal !important;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody style=\"font-style: normal !important;\">\n<tr style=\"font-style: normal !important;\">\n<td class=\"gutter\" style=\"font-style: normal !important; color: #afafaf !important;\">\n<div class=\"line number1 index0 alt2\" style=\"font-style: normal !important;\">1\n<\/div>\n<div class=\"line number2 index1 alt1\" style=\"font-style: normal !important;\">2\n<\/div>\n<div class=\"line number3 index2 alt2\" style=\"font-style: normal !important;\">3\n<\/div>\n<div class=\"line number4 index3 alt1\" style=\"font-style: normal !important;\">4\n<\/div>\n<div class=\"line number5 index4 alt2\" style=\"font-style: normal !important;\">5\n<\/div>\n<div class=\"line number6 index5 alt1\" style=\"font-style: normal !important;\">6\n<\/div>\n<div class=\"line number7 index6 alt2\" style=\"font-style: normal !important;\">7\n<\/div>\n<div class=\"line number8 index7 alt1\" style=\"font-style: normal !important;\">8\n<\/div>\n<div class=\"line number9 index8 alt2\" style=\"font-style: normal !important;\">9\n<\/div>\n<div class=\"line number10 index9 alt1\" style=\"font-style: normal !important;\">10\n<\/div>\n<div class=\"line number11 index10 alt2\" style=\"font-style: normal !important;\">11\n<\/div>\n<div class=\"line number12 index11 alt1\" style=\"font-style: normal !important;\">12\n<\/div>\n<\/td>\n<td class=\"code\" style=\"font-style: normal !important;\">\n<div class=\"container\" style=\"font-style: normal !important;\">\n<div class=\"line number1 index0 alt2\" style=\"font-style: normal !important;\"><code class=\"c color1 bold\" style=\"font-weight: bold !important; font-style: normal !important; color: gray !important;\">LRESULT<\/code> <code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">SendMessage(<\/code>\n<\/div>\n<div class=\"line number2 index1 alt1\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c color1 bold\" style=\"font-weight: bold !important; font-style: normal !important; color: gray !important;\">UINT<\/code> <code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">message,<\/code>\n<\/div>\n<div class=\"line number3 index2 alt2\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c color1 bold\" style=\"font-weight: bold !important; font-style: normal !important; color: gray !important;\">WPARAM<\/code> <code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">wParam = 0,<\/code>\n<\/div>\n<div class=\"line number4 index3 alt1\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c color1 bold\" style=\"font-weight: bold !important; font-style: normal !important; color: gray !important;\">LPARAM<\/code> <code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">lParam = 0<\/code>\n<\/div>\n<div class=\"line number5 index4 alt2\" style=\"font-style: normal !important;\"><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">) <\/code><code class=\"c keyword bold\" style=\"font-weight: bold !important; font-style: normal !important; color: #006699 !important;\">throw<\/code><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">();<\/code>\n<\/div>\n<div class=\"line number6 index5 alt1\" style=\"font-style: normal !important;\">\n<\/div>\n<div class=\"line number7 index6 alt2\" style=\"font-style: normal !important;\"><code class=\"c keyword bold\" style=\"font-weight: bold !important; font-style: normal !important; color: #006699 !important;\">static<\/code> <code class=\"c color1 bold\" style=\"font-weight: bold !important; font-style: normal !important; color: gray !important;\">LRESULT<\/code> <code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">SendMessage(<\/code>\n<\/div>\n<div class=\"line number8 index7 alt1\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c color1 bold\" style=\"font-weight: bold !important; font-style: normal !important; color: gray !important;\">HWND<\/code> <code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">hWnd,\u00a0 <\/code>\n<\/div>\n<div class=\"line number9 index8 alt2\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c color1 bold\" style=\"font-weight: bold !important; font-style: normal !important; color: gray !important;\">UINT<\/code> <code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">message,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/code><code class=\"c comments\" style=\"font-style: normal !important; color: #008200 !important;\">\/\/ \uba54\uc2dc\uc9c0 \uc774\ub984<\/code>\n<\/div>\n<div class=\"line number10 index9 alt1\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c color1 bold\" style=\"font-weight: bold !important; font-style: normal !important; color: gray !important;\">WPARAM<\/code> <code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">wParam,\u00a0 <\/code><code class=\"c comments\" style=\"font-style: normal !important; color: #008200 !important;\">\/\/ \uc815\uc218\ud615 \ud3ec\uc778\ud130 \uc804\ub2ec\uc778\uc790<\/code>\n<\/div>\n<div class=\"line number11 index10 alt2\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c color1 bold\" style=\"font-weight: bold !important; font-style: normal !important; color: gray !important;\">LPARAM<\/code> <code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">lParam\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/code><code class=\"c comments\" style=\"font-style: normal !important; color: #008200 !important;\">\/\/ \uc2e4\uc218\ud615 \ud3ec\uc778\ud130 \uc804\ub2ec\uc778\uc790<\/code>\n<\/div>\n<div class=\"line number12 index11 alt1\" style=\"font-style: normal !important;\"><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">) <\/code><code class=\"c keyword bold\" style=\"font-weight: bold !important; font-style: normal !important; color: #006699 !important;\">throw<\/code><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">();<\/code>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<div style=\"color: #000000;\">\n<\/div>\n<div style=\"color: #000000;\">\uc8fc\ub85c static\uc744 \uc4f0\uac8c \ub420\ud150\ub370&#8230;\n<\/div>\n<div style=\"color: #000000;\">\n<\/div>\n<div style=\"color: #000000;\">\uc120\uc5b8\ud574\uc8fc\uc5b4\uc57c \ud558\ub294 \ud30c\ud2b8\ub294 3\ud30c\ud2b8.\n<\/div>\n<div style=\"color: #000000;\">\n<\/div>\n<div style=\"color: #000000;\"><b>1. \uba54\uc2dc\uc9c0 \ub4f1\ub85d<\/b>\n<\/div>\n<div style=\"color: #000000;\">&#8211; &#8216;\uc774\ub7f0 \uba54\uc2dc\uc9c0\ub97c \uc4f0\uaca0\uc2b5\ub2c8\ub2e4.&#8217; \ud558\ub294 \ubd80\ubd84\n<\/div>\n<div style=\"color: #000000;\">\u00a0 \u00a0 \u00a0 \u00a0 &#8211; \uba54\uc2dc\uc9c0 \ub4f1\ub85d\uc740 \uc774 \uba54\uc2dc\uc9c0\ub97c \ubc1b\uc744 \uacf3 \uba54\uc2dc\uc9c0 \ub9f5\uc5d0 \ub4f1\ub85d\uc744 \ud55c\ub2e4. \ub358\uc838\uc92c\ub294\ub370 \ubc1b\ub294\ub188\uc774 \ubb54\uc9c0 \ubaa8\ub974\uba74 \uadf8\uac74 \uc2a4\ud338\uc77c\ud14c\ub2c8&#8230; \ub9e4\uc2dc\uc9c0 \ub9f5\uc758 \uc5ed\ud560\uc5d0 \ub300\ud574\uc11c\ub294 \ub530\ub85c \uacf5\ubd80..<br \/>\n<span id=\"callbacknesthattitistorycom249583\"><\/span>\n<\/div>\n<div style=\"color: #000000;\">\u00a0 \u00a0 \u00a0 \u00a0 ex)\u00a0BEGIN_MESSAGE_MAP(CsendMessageDlg, CDialog)\n<\/div>\n<div style=\"color: #000000;\">ON_MESSAGE(\uba54\uc2dc\uc9c0 \uad6c\ubcc4\uc790, \ucc98\ub9ac\ud568\uc218)\n<\/div>\n<div style=\"color: #000000;\">\u00a0 \u00a0 \u00a0\u00a0END_MESSAGE_MAP()\n<\/div>\n<div style=\"color: #000000;\"><b>2. \ucc98\ub9ac\ud568\uc218 \uc815\uc758<\/b>\n<\/div>\n<div style=\"color: #000000;\">&#8211; \uc704\uc758 \ucc98\ub9ac\ud568\uc218\ub97c \uc815\uc758\ud558\ub294 \ubd80\ubd84.\n<\/div>\n<div style=\"color: #000000;\"><b>3. \uba54\uc2dc\uc9c0 \uc804\ub2ec<\/b>\n<\/div>\n<div style=\"color: #000000;\">&#8211; \uba54\uc2dc\uc9c0\ub97c \uc804\ub2ec\ud558\ub294 \ubd80\ubd84\n<\/div>\n<div style=\"color: #000000;\">ex)\u00a0::SendMessage(\uc804\ub2ec \ubc1b\uc744 \uacf3\uc758 \ud578\ub4e4(\ubc1b\ub294\uc0ac\ub78c) , \uba54\uc2dc\uc9c0 \uad6c\ubcc4\uc790, \uc804\ub2ec\uc778\uc7901, \uc804\ub2ec\uc778\uc7902);\n<\/div>\n<div style=\"color: #000000;\">\n<div>\n<hr \/>\n<\/div>\n<\/div>\n<div style=\"color: #000000;\">\ud750\ub984\n<\/div>\n<div style=\"color: #000000;\">\n<\/div>\n<div style=\"color: #000000;\">SendMessage &#8211; \ubc1b\ub294 \ud578\ub4e4 \ucc3e\uc74c &#8211; \ucc98\ub9ac \ud568\uc218 \ud638\ucd9c\n<\/div>\n<div style=\"color: #000000;\">\n<\/div>\n<div style=\"color: #000000;\">\n<div>\n<hr \/>\n<\/div>\n<\/div>\n<div>\n<p><b><span style=\"color: #e31600;\">#sendMessageDlg.cpp <\/span><\/b><span class=\"Apple-style-span\"><span style=\"color: #5fb636;\">\/\/ \ubd80\ubaa8 Dialog<\/span><\/span><\/p>\n<div>\n<div id=\"highlighter_152100\" class=\"syntaxhighlighter  c\">\n<div class=\"toolbar\" style=\"font-style: normal !important; color: white !important;\"><a class=\"toolbar_item command_help help\" style=\"font-style: normal !important; color: white !important;\" href=\"http:\/\/hatti.tistory.com\/24#\">?<\/a>\n<\/div>\n<table style=\"font-style: normal !important;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody style=\"font-style: normal !important;\">\n<tr style=\"font-style: normal !important;\">\n<td class=\"gutter\" style=\"font-style: normal !important; color: #afafaf !important;\">\n<div class=\"line number1 index0 alt2\" style=\"font-style: normal !important;\">1\n<\/div>\n<div class=\"line number2 index1 alt1\" style=\"font-style: normal !important;\">2\n<\/div>\n<div class=\"line number3 index2 alt2\" style=\"font-style: normal !important;\">3\n<\/div>\n<div class=\"line number4 index3 alt1\" style=\"font-style: normal !important;\">4\n<\/div>\n<div class=\"line number5 index4 alt2\" style=\"font-style: normal !important;\">5\n<\/div>\n<div class=\"line number6 index5 alt1\" style=\"font-style: normal !important;\">6\n<\/div>\n<div class=\"line number7 index6 alt2\" style=\"font-style: normal !important;\">7\n<\/div>\n<div class=\"line number8 index7 alt1\" style=\"font-style: normal !important;\">8\n<\/div>\n<div class=\"line number9 index8 alt2\" style=\"font-style: normal !important;\">9\n<\/div>\n<div class=\"line number10 index9 alt1\" style=\"font-style: normal !important;\">10\n<\/div>\n<div class=\"line number11 index10 alt2\" style=\"font-style: normal !important;\">11\n<\/div>\n<div class=\"line number12 index11 alt1\" style=\"font-style: normal !important;\">12\n<\/div>\n<div class=\"line number13 index12 alt2\" style=\"font-style: normal !important;\">13\n<\/div>\n<div class=\"line number14 index13 alt1\" style=\"font-style: normal !important;\">14\n<\/div>\n<div class=\"line number15 index14 alt2\" style=\"font-style: normal !important;\">15\n<\/div>\n<div class=\"line number16 index15 alt1\" style=\"font-style: normal !important;\">16\n<\/div>\n<\/td>\n<td class=\"code\" style=\"font-style: normal !important;\">\n<div class=\"container\" style=\"font-style: normal !important;\">\n<div class=\"line number1 index0 alt2\" style=\"font-style: normal !important;\"><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">BEGIN_MESSAGE_MAP(CsendMessageDlg, CDialog)<\/code>\n<\/div>\n<div class=\"line number2 index1 alt1\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">ON_WM_SYSCOMMAND()<\/code>\n<\/div>\n<div class=\"line number3 index2 alt2\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">ON_WM_PAINT()<\/code>\n<\/div>\n<div class=\"line number4 index3 alt1\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">ON_WM_QUERYDRAGICON()<\/code>\n<\/div>\n<div class=\"line number5 index4 alt2\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c comments\" style=\"font-style: normal !important; color: #008200 !important;\">\/\/}}AFX_MSG_MAP<\/code>\n<\/div>\n<div class=\"line number6 index5 alt1\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">ON_BN_CLICKED(IDOK, &amp;CsendMessageDlg::OnBnClickedOk)<\/code>\n<\/div>\n<div class=\"line number7 index6 alt2\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">ON_BN_CLICKED(IDC_BUTTON1, &amp;CsendMessageDlg::OnBnClickedButton1)<\/code>\n<\/div>\n<div class=\"line number8 index7 alt1\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">ON_MESSAGE(UM_TEST_SENDMESSAGE, &amp;CsendMessageDlg::sets) <\/code><code class=\"c comments\" style=\"font-style: normal !important; color: #008200 !important;\">\/\/ 1. \uba54\uc2dc\uc9c0 \ub4f1\ub85d<\/code>\n<\/div>\n<div class=\"line number9 index8 alt2\" style=\"font-style: normal !important;\"><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">END_MESSAGE_MAP()<\/code>\n<\/div>\n<div class=\"line number10 index9 alt1\" style=\"font-style: normal !important;\">\n<\/div>\n<div class=\"line number11 index10 alt2\" style=\"font-style: normal !important;\"><code class=\"c color1 bold\" style=\"font-weight: bold !important; font-style: normal !important; color: gray !important;\">LRESULT<\/code> <code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">CsendMessageDlg::sets(<\/code><code class=\"c color1 bold\" style=\"font-weight: bold !important; font-style: normal !important; color: gray !important;\">WPARAM<\/code> <code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">wParam, <\/code><code class=\"c color1 bold\" style=\"font-weight: bold !important; font-style: normal !important; color: gray !important;\">LPARAM<\/code> <code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">lParam) <\/code><code class=\"c comments\" style=\"font-style: normal !important; color: #008200 !important;\">\/\/ 2. \ucc98\ub9ac\ud568\uc218 \uc815\uc758<\/code>\n<\/div>\n<div class=\"line number12 index11 alt1\" style=\"font-style: normal !important;\"><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">{<\/code>\n<\/div>\n<div class=\"line number13 index12 alt2\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">CString *data = (CString*)lParam; <\/code>\n<\/div>\n<div class=\"line number14 index13 alt1\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c comments\" style=\"font-style: normal !important; color: #008200 !important;\">\/\/ \uc774\ub807\uac8c \ubc1b\uc544\uc634. \uc65c\ub0d0\ud558\uba74 lParam \uc740 \ud3ec\uc778\ud130\ub2c8\uae4c!! CString\uc744 \ub118\uae34 \uc8fc\uc18c\ub97c \uac00\ub9ac\ud0a4\uace0 \uc788\ub2e4.<\/code>\n<\/div>\n<div class=\"line number15 index14 alt2\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">::MessageBox(NULL, _T(<\/code><code class=\"c string\" style=\"font-style: normal !important; color: blue !important;\">\"asdf\"<\/code><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">), (<\/code><code class=\"c color1 bold\" style=\"font-weight: bold !important; font-style: normal !important; color: gray !important;\">LPCWSTR<\/code><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">)data, MB_OK); <\/code><code class=\"c comments\" style=\"font-style: normal !important; color: #008200 !important;\">\/\/ \uc774\uac74 \uadf8\ub0e5 \ud655\uc778\uc6a9<\/code>\n<\/div>\n<div class=\"line number16 index15 alt1\" style=\"font-style: normal !important;\"><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">}<\/code>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<div>\n<hr \/>\n<\/div>\n<p><span class=\"Apple-style-span\"><span style=\"color: #e31600;\"><b><br \/>\n#Modaless.h<\/b><\/span><\/span><\/p>\n<div>\n<div id=\"highlighter_531260\" class=\"syntaxhighlighter  c\">\n<div class=\"toolbar\" style=\"font-style: normal !important; color: white !important;\"><a class=\"toolbar_item command_help help\" style=\"font-style: normal !important; color: white !important;\" href=\"http:\/\/hatti.tistory.com\/24#\">?<\/a>\n<\/div>\n<table style=\"font-style: normal !important;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody style=\"font-style: normal !important;\">\n<tr style=\"font-style: normal !important;\">\n<td class=\"gutter\" style=\"font-style: normal !important; color: #afafaf !important;\">\n<div class=\"line number1 index0 alt2\" style=\"font-style: normal !important;\">1\n<\/div>\n<\/td>\n<td class=\"code\" style=\"font-style: normal !important;\">\n<div class=\"container\" style=\"font-style: normal !important;\">\n<div class=\"line number1 index0 alt2\" style=\"font-style: normal !important;\"><code class=\"c preprocessor\" style=\"font-style: normal !important; color: gray !important;\">#define UM_TEST_SENDMESSAGE WM_USER +1\u00a0 \/\/ \uba54\uc2dc\uc9c0 \uad6c\ubcc4\uc790 \ub4f1\ub85d<\/code>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<div>\n<hr \/>\n<\/div>\n<p><span class=\"Apple-style-span\"><span style=\"color: #e31600;\"><b><br \/>\n#Modaless.cpp<\/b><\/span><\/span><span class=\"Apple-style-span\"><span style=\"color: #5fb636;\">\/\/ \uc790\uc2dd Dialog<\/span><\/span><\/p>\n<div>\n<div id=\"highlighter_573657\" class=\"syntaxhighlighter  c\">\n<div class=\"toolbar\" style=\"font-style: normal !important; color: white !important;\"><a class=\"toolbar_item command_help help\" style=\"font-style: normal !important; color: white !important;\" href=\"http:\/\/hatti.tistory.com\/24#\">?<\/a>\n<\/div>\n<table style=\"font-style: normal !important;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody style=\"font-style: normal !important;\">\n<tr style=\"font-style: normal !important;\">\n<td class=\"gutter\" style=\"font-style: normal !important; color: #afafaf !important;\">\n<div class=\"line number1 index0 alt2\" style=\"font-style: normal !important;\">1\n<\/div>\n<div class=\"line number2 index1 alt1\" style=\"font-style: normal !important;\">2\n<\/div>\n<div class=\"line number3 index2 alt2\" style=\"font-style: normal !important;\">3\n<\/div>\n<div class=\"line number4 index3 alt1\" style=\"font-style: normal !important;\">4\n<\/div>\n<div class=\"line number5 index4 alt2\" style=\"font-style: normal !important;\">5\n<\/div>\n<div class=\"line number6 index5 alt1\" style=\"font-style: normal !important;\">6\n<\/div>\n<div class=\"line number7 index6 alt2\" style=\"font-style: normal !important;\">7\n<\/div>\n<div class=\"line number8 index7 alt1\" style=\"font-style: normal !important;\">8\n<\/div>\n<div class=\"line number9 index8 alt2\" style=\"font-style: normal !important;\">9\n<\/div>\n<div class=\"line number10 index9 alt1\" style=\"font-style: normal !important;\">10\n<\/div>\n<div class=\"line number11 index10 alt2\" style=\"font-style: normal !important;\">11\n<\/div>\n<\/td>\n<td class=\"code\" style=\"font-style: normal !important;\">\n<div class=\"container\" style=\"font-style: normal !important;\">\n<div class=\"line number1 index0 alt2\" style=\"font-style: normal !important;\"><code class=\"c color1 bold\" style=\"font-weight: bold !important; font-style: normal !important; color: gray !important;\">BOOL<\/code> <code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">CModaless::OnInitDialog()<\/code>\n<\/div>\n<div class=\"line number2 index1 alt1\" style=\"font-style: normal !important;\"><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">{<\/code>\n<\/div>\n<div class=\"line number3 index2 alt2\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">CDialog::OnInitDialog();<\/code>\n<\/div>\n<div class=\"line number4 index3 alt1\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">CString *str = <\/code><code class=\"c keyword bold\" style=\"font-weight: bold !important; font-style: normal !important; color: #006699 !important;\">new<\/code> <code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">CString(<\/code><code class=\"c string\" style=\"font-style: normal !important; color: blue !important;\">\"asdf\"<\/code><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">);<\/code>\n<\/div>\n<div class=\"line number5 index4 alt2\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">::SendMessage(((CSendMessageDlg*)GetParent())-&gt;GetSafeHwnd(), UM_TEST_SENDMESSAGE, 0, (<\/code><code class=\"c color1 bold\" style=\"font-weight: bold !important; font-style: normal !important; color: gray !important;\">LPARAM<\/code><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">)str);<\/code>\n<\/div>\n<div class=\"line number6 index5 alt1\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c comments\" style=\"font-style: normal !important; color: #008200 !important;\">\/\/ ((CSendMessageDlg*)GetParent())-&gt;GetSafeHwnd() : \uc0c1\uc704 Dialog\uc758 \ud578\ub4e4\uc744 \uac00\uc838\uc634<\/code>\n<\/div>\n<div class=\"line number7 index6 alt2\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c comments\" style=\"font-style: normal !important; color: #008200 !important;\">\/\/ \ub9cc\uc57d \ud558\uc704 Dialog\uc5d0\uac8c \ubcf4\ub0b4\ub824\uba74 \ud558\uc704 Dialog\uc758 \uac1d\uccb4\uc5d0 sendMessage\ub97c \ub358\uc838\uc8fc\uba74\ub41c\ub2e4.<\/code>\n<\/div>\n<div class=\"line number8 index7 alt1\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c comments\" style=\"font-style: normal !important; color: #008200 !important;\">\/\/ \uadf8\ub550 \uc8fc\uc18c(hWnd\uac00 \ud544\uc694\uc5c6\ub2e4. :D)<\/code>\n<\/div>\n<div class=\"line number9 index8 alt2\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c comments\" style=\"font-style: normal !important; color: #008200 !important;\">\/\/ 3. \uba54\uc2dc\uc9c0 \uc804\ub2ec<\/code>\n<\/div>\n<div class=\"line number10 index9 alt1\" style=\"font-style: normal !important;\"><code class=\"c spaces\" style=\"font-style: normal !important;\">\u00a0\u00a0\u00a0\u00a0<\/code><code class=\"c keyword bold\" style=\"font-weight: bold !important; font-style: normal !important; color: #006699 !important;\">return<\/code> <code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">TRUE;<\/code>\n<\/div>\n<div class=\"line number11 index10 alt2\" style=\"font-style: normal !important;\"><code class=\"c plain\" style=\"font-style: normal !important; color: black !important;\">}<\/code>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"color: #000000;\">\n<\/div>\n<div style=\"color: #000000;\">\n<\/div>\n<div style=\"color: #000000;\">\uc5ec\uae30\uc5d0\uc11c \ubcf4\uba74 \uac00\uc7a5 \uc911\uc694\ud55c \ubd80\ubd84\uc774\u00a0<b>SendMessage\u00a0<\/b>\ubd80\ubd84\uc778\uac83 \uac19\ub2e4.\n<\/div>\n<div style=\"color: #000000;\">\n<\/div>\n<div style=\"color: #000000;\">\uccab\ubc88\uc9f8 \uc804\ub2ec\uc778\uc790\ub294 \ubc1b\uc744 \ud074\ub798\uc2a4\uc758 \ud578\ub4e4\ub7ec\uac00 \ub4e4\uc5b4\uac04\ub2e4. \uc989,\u00a0<b>\ubc1b\ub294\uc0ac\ub78c \uc8fc\uc18c<\/b>\uc778 \uc148.\n<\/div>\n<div style=\"color: #000000;\">\ub098\ub294 \ubd80\ubaa8 \ub2e4\uc774\uc5bc\ub85c\uadf8\uc5d0 \uc804\ub2ec\ud558\uae30\uc704\ud574\uc11c getparent\ub97c \uc774\uc6a9\ud574\uc11c \ud578\ub4e4\ub7ec\ub97c \ubc1b\uc544\uc654\ub2e4.\n<\/div>\n<div style=\"color: #000000;\">\n<\/div>\n<div style=\"color: #000000;\">\uc804\ub2ec\uc778\uc790\ub294 WPARAM \uacfc LPARAM.\n<\/div>\n<div style=\"color: #000000;\">\ub458\ub2e4 dword \ud615\uc73c\ub85c\n<\/div>\n<div style=\"color: #000000;\">WPARAM\uc740 UINT, LPARAM\uc740 LONG \ud615\uc73c\ub85c \uac01\uac01 \uc815\uc218\ud615, \uc2e4\uc218\ud615 \ud3ec\uc778\ud130\uc774\ub2e4.\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\ud074\ub798\uc2a4\uac04 \ub370\uc774\ud130 \uc804\ub2ec\uc744 \ud558\ub294 \ubc29\ubc95\uc774 \ubb34\uc5c7\uc774 \uc788\uc744\uae4c. 1. \uc804\uc5ed\ubcc0\uc218 2. \ud5e4\ub354 include \ud6c4 \ubcc0\uc218 \uc811\uadfc 3. SendMessage SendMessage\ub97c \uc774\uc6a9\ud558\uba74 \ud074\ub798\uc2a4\uac04 \ub370\uc774\ud130 \uc804\ub2ec\uc774 \uc6a9\uc774\ud568\uc744 \uc54c\uace0, \uc0ac\uc6a9\ud574\ubcf4\uc558\ub2e4(\uba87\ubc88\uc758 \uc0bd\uc9c8\uacfc \ud568\uaed8&#8230;) ? 1 2 3 4 5 6 7 8 9 10 11 12 LRESULT SendMessage( \u00a0\u00a0\u00a0\u00a0UINT message, \u00a0\u00a0\u00a0\u00a0WPARAM wParam = 0, \u00a0\u00a0\u00a0\u00a0LPARAM lParam = 0 ) throw(); static LRESULT SendMessage( \u00a0\u00a0\u00a0\u00a0HWND hWnd,\u00a0 \u00a0\u00a0\u00a0\u00a0UINT message,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/\/ \uba54\uc2dc\uc9c0 \uc774\ub984 \u00a0\u00a0\u00a0\u00a0WPARAM wParam,\u00a0 \/\/ \uc815\uc218\ud615 \ud3ec\uc778\ud130 \uc804\ub2ec\uc778\uc790 \u00a0\u00a0\u00a0\u00a0LPARAM lParam\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/\/ \uc2e4\uc218\ud615 \ud3ec\uc778\ud130 \uc804\ub2ec\uc778\uc790 ) throw(); \uc8fc\ub85c static\uc744 \uc4f0\uac8c \ub420\ud150\ub370&#8230; \uc120\uc5b8\ud574\uc8fc\uc5b4\uc57c \ud558\ub294 \ud30c\ud2b8\ub294 3\ud30c\ud2b8. 1. \uba54\uc2dc\uc9c0 \ub4f1\ub85d &#8211; &#8216;\uc774\ub7f0 \uba54\uc2dc\uc9c0\ub97c \uc4f0\uaca0\uc2b5\ub2c8\ub2e4.&#8217; \ud558\ub294 \ubd80\ubd84 \u00a0 \u00a0 \u00a0 \u00a0 &#8211; \uba54\uc2dc\uc9c0 \ub4f1\ub85d\uc740 \uc774 \uba54\uc2dc\uc9c0\ub97c \ubc1b\uc744 \uacf3 \uba54\uc2dc\uc9c0 \ub9f5\uc5d0 \ub4f1\ub85d\uc744 \ud55c\ub2e4. \ub358\uc838\uc92c\ub294\ub370 \ubc1b\ub294\ub188\uc774 \ubb54\uc9c0 \ubaa8\ub974\uba74 \uadf8\uac74 \uc2a4\ud338\uc77c\ud14c\ub2c8&#8230; \ub9e4\uc2dc\uc9c0 \ub9f5\uc758 \uc5ed\ud560\uc5d0 \ub300\ud574\uc11c\ub294 \ub530\ub85c \uacf5\ubd80.. \u00a0 \u00a0 \u00a0 \u00a0 ex)\u00a0BEGIN_MESSAGE_MAP(CsendMessageDlg, CDialog) ON_MESSAGE(\uba54\uc2dc\uc9c0 \uad6c\ubcc4\uc790, \ucc98\ub9ac\ud568\uc218) \u00a0 \u00a0 \u00a0\u00a0END_MESSAGE_MAP() 2. \ucc98\ub9ac\ud568\uc218 \uc815\uc758 &#8211; \uc704\uc758 \ucc98\ub9ac\ud568\uc218\ub97c \uc815\uc758\ud558\ub294 \ubd80\ubd84. 3. \uba54\uc2dc\uc9c0 \uc804\ub2ec &#8211; \uba54\uc2dc\uc9c0\ub97c \uc804\ub2ec\ud558\ub294 \ubd80\ubd84 ex)\u00a0::SendMessage(\uc804\ub2ec \ubc1b\uc744 \uacf3\uc758 \ud578\ub4e4(\ubc1b\ub294\uc0ac\ub78c) , \uba54\uc2dc\uc9c0 \uad6c\ubcc4\uc790, \uc804\ub2ec\uc778\uc7901, \uc804\ub2ec\uc778\uc7902); \ud750\ub984 SendMessage &#8211; \ubc1b\ub294 \ud578\ub4e4 \ucc3e\uc74c &#8211; \ucc98\ub9ac \ud568\uc218 \ud638\ucd9c #sendMessageDlg.cpp \/\/ \ubd80\ubaa8 Dialog ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 BEGIN_MESSAGE_MAP(CsendMessageDlg, CDialog) \u00a0\u00a0\u00a0\u00a0ON_WM_SYSCOMMAND() \u00a0\u00a0\u00a0\u00a0ON_WM_PAINT() \u00a0\u00a0\u00a0\u00a0ON_WM_QUERYDRAGICON() \u00a0\u00a0\u00a0\u00a0\/\/}}AFX_MSG_MAP \u00a0\u00a0\u00a0\u00a0ON_BN_CLICKED(IDOK, &amp;CsendMessageDlg::OnBnClickedOk) \u00a0\u00a0\u00a0\u00a0ON_BN_CLICKED(IDC_BUTTON1, &amp;CsendMessageDlg::OnBnClickedButton1) \u00a0\u00a0\u00a0\u00a0ON_MESSAGE(UM_TEST_SENDMESSAGE, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"ngg_post_thumbnail":0,"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[9,19,7],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5q9Zn-4V","jetpack-related-posts":[{"id":329,"url":"https:\/\/blog.box.kr\/?p=329","url_meta":{"origin":305,"position":0},"title":"[MFC] &#8211; \ub2e4\uc774\uc5bc\ub85c\uadf8 \uae30\ubc18 \ud504\ub85c\uadf8\ub7a8\uc5d0\uc11c \uc2e4\ud589\uacfc \ub3d9\uc2dc\uc5d0 \ub2e4\uc774\uc5bc\ub85c\uadf8 \uac10\ucd94\uae30","date":"2014-08-09","format":false,"excerpt":"[\ucd9c\ucc98] -\u00a0http:\/\/frog3147.tistory.com\/entry\/\ub2e4\uc774\uc5bc\ub85c\uadf8-\uae30\ubc18-\ud504\ub85c\uadf8\ub7a8\uc5d0\uc11c-\uc2e4\ud589\uacfc-\ub3d9\uc2dc\uc5d0-\ub2e4\uc774\uc5bc\ub85c\uadf8-\uac10\ucd94\uae30 \ub2e4\uc774\uc5bc\ub85c\uadf8\ub97c domodal\ub85c \ub744\uc6b8 \ub54c \uc2e4\ud589\uacfc \ub3d9\uc2dc\uc5d0 \ub2e4\uc774\uc5bc\ub85c\uadf8\ub97c \ud2b8\ub808\uc774\ub85c \ub0b4\ub9ac\uac70\ub098 \uac10\ucd94\uc5b4\uc57c \ud560 \uacbd\uc6b0 \uc77c\ubc18\uc801\uc73c\ub85c \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95\uc73c\ub85c \uc708\ub3c4\uc6b0\ub97c \ubcf4\uc774\uc9c0 \uc54a\uac8c \ud558\ub824\uba74 ShowWindow(FALSE); \uc640 \uac19\uc774 \ud558\uba74 \ub418\uc9c0\ub9cc \u00a0\ub2e4\uc774\uc5bc\ub85c\uadf8 \uae30\ubc18\uc758 \ud504\ub85c\uadf8\ub7a8\uc5d0\uc11c\ub294 DoModal \ud568\uc218\uac00 \ub0b4\ubd80\uc801\uc73c\ub85c WM_SHOWWINDOW \uba54\uc2dc\uc9c0\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc708\ub3c4\uc6b0\ub97c \ub744\uc6cc\ubc84\ub9ac\uae30 \ub54c\ubb38\uc5d0 OnInitalDialog\ub098 OnCreate \ucc98\ub9ac\uae30\uc5d0\uc11c \uc778\uc704\uc801\uc73c\ub85c ShowWindow(SW_HIDE); \ub77c\uace0 \ucf54\ub529\uc744 \ud574\ub193\uc544\ub3c4 \ud574\ub2f9 \uc791\uc5c5\uc774 \ubb34\uc2dc\ub418\uc5b4 \ubc84\ub9b0\ub2e4.\u2026","rel":"","context":"In &quot;C\/C++&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":162,"url":"https:\/\/blog.box.kr\/?p=162","url_meta":{"origin":305,"position":1},"title":"[Tip] WM_COPYDATA \uba54\uc2dc\uc9c0\ub85c \ud504\ub85c\uadf8\ub7a8\uac04\uc5d0 \ub370\uc774\ud130 \uc8fc\uace0\ubc1b\ub294 \ubc29\ubc95","date":"2014-07-08","format":false,"excerpt":"\ud2b8\ub799\ubc31 \uc8fc\uc18c : http:\/\/www.tipssoft.com\/bulletin\/tb.php\/FAQ\/319 \ud301\uc2a4\uc18c\ud504\ud2b8\uc5d0\uc11c \uc81c\uacf5\ud558\ub294 \ud504\ub85c\uadf8\ub798\ubc0d\uacfc \uad00\ub828\ub41c \uc790\ub8cc\ub098 \uc815\ubcf4\ub4e4\uc744 \ubb34\ub2e8\uc73c\ub85c \ubcf5\uc81c\ud558\uac70\ub098 \uac8c\uc7ac\ud558\ub294 \ud589\uc704\ub294 \uc0c1\ud638\uac04\uc758 \uc2e0\ub8b0\ub97c \ubb34\ub108\ub728\ub9ac\ub294 \ud589\uc704\uc774\uba70, \ubc95\uc801\uc778 \ubb38\uc81c\ub97c \uc57c\uae30\ud560 \uc218 \uc788\uc73c\ubbc0\ub85c \uac01\ubcc4\ud55c \uc8fc\uc758\ub97c \ub2f9\ubd80\ub4dc\ub9bd\ub2c8\ub2e4. * \ud301\uc2a4\uc18c\ud504\ud2b8 \uc800\uc791\uad8c \uc815\ucc45 \ubcf4\uae30 - http:\/\/www.tipssoft.com\/bulletin\/tb.php\/FAQ\/637 \uc774 \uc790\ub8cc\ub4e4\uc740 \ud301\uc2a4\uc18c\ud504\ud2b8\uc5d0\uc11c \uc81c\uacf5\ud558\ub294 [ \uc54c\uc9dc\ubc30\uae30 ] \ud504\ub85c\uadf8\ub7a8\uc744 \uc774\uc6a9\ud558\uba74 \ub354 \ud3b8\ub9ac\ud558\uac8c \ubcfc\uc218 \uc788\uc2b5\ub2c8\ub2e4. * \uc54c\uc9dc\ubc30\uae30 \ud504\ub85c\uadf8\ub7a8 \ubc1b\uae30\u2026","rel":"","context":"In &quot;\uc77c\uc0c1&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":164,"url":"https:\/\/blog.box.kr\/?p=164","url_meta":{"origin":305,"position":2},"title":"\ud504\ub85c\uc138\uc2a4 \uac04\uc758 \ud1b5\uc2e0","date":"2014-07-08","format":false,"excerpt":"\ud504\ub85c\uc138\uc2a4 \uac04\uc758 \ud1b5\uc2e0(IPC)\uc740 \ud504\ub85c\uc138\uc2a4 \uac04\uc5d0 \uc815\ubcf4\ub97c \uc8fc\uace0 \ubc1b\uc744 \uc218 \uc788\ub3c4\ub85d \ud558\ub294 \ud1b5\uc2e0 \uae30\ubc95\uc785\ub2c8\ub2e4. \ud504\ub85c\uc138\uc2a4 \uac04\uc758 \ud1b5\uc2e0 \ubc29\ubc95\uc740 \uc11c\ub85c \uac04\uc5d0 \uba54\uc2dc\uc9c0\ub97c \uc804\ub2ec\ud558\ub294 \ubc29\ubc95\uacfc \uacf5\uc720 \uba54\ubaa8\ub9ac\ub97c \uc774\uc6a9\ud558\ub294 \ubc29\ubc95 \uadf8\ub9ac\uace0 \ud074\ub9bd\ubcf4\ub4dc\ub97c \uc774\uc6a9\ud558\ub294 \ubc29\ubc95 \ub4f1\uc774 \uc788\uc2b5\ub2c8\ub2e4. 1. \ud504\ub85c\uc138\uc2a4 \uc0ac\uc774\uc758 \uba54\uc2dc\uc9c0 \uc804\ub2ec 1)\ub3d9\uc77c\ud55c \ud504\ub85c\uadf8\ub7a8\uc774 \uc5ec\ub7ec \uac1c \uc2e4\ud589 \uc911\uc77c \ub54c \uba54\uc2dc\uc9c0 \uc804\uc1a1 RegisterWindowMessage \uc774\uc6a9 \ud504\ub85c\uc138\uc2a4 \ub610\ub294\u2026","rel":"","context":"In &quot;MFC &amp; WINDOWS&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":333,"url":"https:\/\/blog.box.kr\/?p=333","url_meta":{"origin":305,"position":3},"title":"[MFC] &#8211; \ud2b8\ub808\uc774 \uc544\uc774\ucf58 \ub4f1\ub85d \ubc0f \uc708\ub3c4\uc6b0 \uac10\ucd94\uae30","date":"2014-08-09","format":false,"excerpt":"\ucd9c\ucc98 :\u00a0http:\/\/hotangs.tistory.com\/28 \uc708\ub3c4\uc6b0 \uc6b0\uce21 \ud558\ub2e8\uc5d0 \ud2b8\ub808\uc774 \uc544\uc774\ucf58\uc744 \ub4f1\ub85d\ud558\ub294 \ubc29\ubc95\uc774\ub2e4. \uc6b0\uc120 \ud504\ub85c\uc81d\ud2b8\uc5d0 \ud604\uc7ac \ud2b8\ub808\uc774 \uc0c1\ud0dc\ub97c \uc54c\uc218 \uc788\ub294 BOOL \ubcc0\uc218\ub97c \uc120\uc5b8\ud55c\ub2e4. Protected \uc5d0 \uc120\uc5b8 \ubcc0\uc218 \uc774\ub984\uc740 m_bIsTrayIcon \ub85c \ud558\uaca0\ub2e4. \u00a0 \ub2e4\uc74c \ud2b8\ub808\uc774\uc544\uc774\ucf58\uc744 \ub4f1\ub85d\ud558\ub294 \ud568\uc218\ub97c \ub9cc\ub4e0\ub2e4. \ud568\uc218 \uc774\ub984\uc740 RegistTrayIcon \ub85c \ud558\uaca0\ub2e4. Private \ub85c \uc120\uc5b8 \uadf8\ub9ac\uace0 \ucf54\ub529\ud55c\ub2e4. void CTrayDlg::RegistTrayIcon() { NOTIFYICONDATA\u00a0 nid; nid.cbSize =\u2026","rel":"","context":"In &quot;C\/C++&quot;","img":{"alt_text":"\u00ec\u0082\u00ac\u00ec\u009a\u00a9\u00ec\u009e\u0090 \u00ec\u0082\u00bd\u00ec\u009e\u0085 \u00ec\u009d\u00b4\u00eb\u00af\u00b8\u00ec\u00a7\u0080","src":"https:\/\/i0.wp.com\/cfs3.tistory.com\/upload_control\/download.blog?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":809,"url":"https:\/\/blog.box.kr\/?p=809","url_meta":{"origin":305,"position":4},"title":"[scrap] Replication Startup Options","date":"2015-05-18","format":false,"excerpt":"http:\/\/simonshin.egloos.com\/2247545 \u00a0 \ub9ac\ud50c\ub9ac\ucf00\uc774\uc158 \uc2a4\ud0c0\ud2b8\uc5c5 \uc635\uc158\ub4e4 \uc774 \uc139\uc158\uc5d0\uc11c\ub294 \uc5ec\ub7ec\ubd84\uc774 \uc2ac\ub808\uc774\ube0c \ub9ac\ud50c\ub9ac\ucf00\uc774\uc158 \uc11c\ubc84\uc5d0\uc11c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \uc635\uc158\ub4e4\uc5d0 \ub300\ud574 \uc124\uba85\ud558\uae30\ub85c \ud55c\ub2e4. \uc774 \uc635\uc158\ub4e4\uc740 \uba85\ub839\uc5b4 \ub77c\uc778 \ub610\ub294 \uc635\uc158 \ud30c\uc77c\uc5d0\uc11c \uc9c0\uc815\ud560 \uc218 \uc788\ub2e4. \ub9c8\uc2a4\ud130\uc640 \uac01 \uc2ac\ub808\uc774\ube0c\uc5d0\uc11c, \uc5ec\ub7ec\ubd84\uc740 \uace0\uc720\uc758 \ub9ac\ud50c\ub9ac\ucf00\uc774\uc158 ID\ub97c \uc124\uc815\ud558\uae30 \uc704\ud574\uc11c \ubc18\ub4dc\uc2dc server-id\uc635\uc158\uc744 \uc0ac\uc6a9\ud574\uc57c \ud55c\ub2e4. \uac01 \uc11c\ubc84\uc758 \uacbd\uc6b0, \uc5ec\ub7ec\ubd84\uc740 1 \uc5d0\uc11c 232 \u2013 1\u2026","rel":"","context":"In &quot;DB\uad00\ub828&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":176,"url":"https:\/\/blog.box.kr\/?p=176","url_meta":{"origin":305,"position":5},"title":"MFC \ud2b8\ub808\uc774 \uc544\uc774\ucf58(Tray Icon)","date":"2014-07-09","format":false,"excerpt":"1. NOTIFYICONDATA \uad6c\uc870\uccb4 \u00a0\u00a0\u00a0 \uc0c1\ud0dc\ubc14 \uc601\uc5ed\uc5d0 \ud544\uc694\ud55c \uba54\uc2dc\uc9c0 \uc815\ubcf4\ub97c \ub0b4\ud3ec\ud55c\ub2e4. \u00a0\u00a0\u00a0\u00a0\u00a0typedef struct _NOTIFYICONDATAA\u00a0{ DWORD\u00a0\u00a0 cdSize;\u00a0\/\/ \uad6c\uc870\uccb4\uc758 \ud06c\uae30(byte) \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0HWND\u00a0\u00a0\u00a0 hWnd;\u00a0\u00a0\u00a0\/\/ \ud2b8\ub808\uc774\ub97c \uc18c\uc720\ud55c \ud578\ub4e4 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0UINT\u00a0\u00a0\u00a0 uID;\u00a0\u00a0\u00a0\u00a0\/\/ \uad6c\ubd84\ud560\uc218 \uc788\ub294 ID \uac12 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0UINT\u00a0\u00a0\u00a0 uFlags;\u00a0\/\/ \uba64\ubc84\ub4e4\uc774 \ub0b4\ud3ec\ud558\uace0 \uc788\ub294 \ub370\uc774\ud130\uc758 \ucd94\uac00 \uc815\ubcf4\ub97c \uc5b4\ub5bb\uac8c \ub098\ud0c0\ub0bc\uc9c0 \uacb0\uc815 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0UINT\u00a0\u00a0\u00a0 uCallbackMessage; HICON\u00a0\u00a0 hIcon; \u00a0#if\u00a0(NTDDI_VERSION\u00a0<\u00a0NTDDI_WIN2K) TCHAR\u00a0szTip[64]; \u00a0#endif \u00a0\u00a0\u00a0\u00a0#if\u00a0(NTDDI_VERSION\u00a0>=\u00a0NTDDI_WIN2K) TCHAR\u00a0\u00a0 szTip[128]; DWORD\u00a0\u00a0\u2026","rel":"","context":"In &quot;C\/C++&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/305"}],"collection":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=305"}],"version-history":[{"count":0,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/305\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}