- PL/SQL
- Java
- Interaction developer
- postman pre-request
- UI/UX Engineer
- MFC
- postman collection variables
- postman html parse
- C++
- 좋은 개발자
- LSL_Script
- Android/iOS Developer
- oracle
- Android
- emplace_back
- c#
- postman automations
- postman excel
- Unity
- postman tests
- postman
- web developer
- solidity
- 우수한 프런트 개발자
- Intellij
- postman collection
- postman csv
- postman session
- 프런트엔드
- Front-end developer
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- Today
- Total
목록MFC (12)
david's daily developer note
View에서 MainFrame CMainFrame* pMainFrame = DYNAMIC_DOWNCAST(CMainFrame, GetParentFrame()); if (pMainFrame == NULL) { return; }
//전역 윈도우 좌표 POINT gPt; //상태바 위치: CRect statusRect; this->GetWindowRect(statusRect); CPoint newPt; newPt.x = gPt.x - statusRect.left; newPt.y = gPt.y - statusRect.top; // Tip 최상위 윈도우 위치 및, 부모 윈도우 위치 가져오기 CRect windowPos; AfxGetMainWnd() -> GetWindowRect( &windowPos ); this->GetParentFrame()->GetWindowRect( windowPos );
함수 호출되는 시점에, 특정 키가 동작중인지, 중단되었는지 여부 및 키가 눌렸는지 체크한다. if ((GetAsyncKeyState(VK_SHIFT) & 0x8000) != 0){ return; } MS 공식 예제 while (GetMessage(&msg, nullptr, 0, 0)) { if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg)) { TranslateMessage(&msg); DispatchMessage(&msg); } switch (msg.message) { case WM_KEYDOWN: if ((GetAsyncKeyState(VK_ESCAPE) & 0x01) && bRunning) { Stop(); } break; } } Virtual-Key ..