Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- JavaScript
- SPC
- window
- Python
- SQL
- react
- Sqoop
- Java
- MSSQL
- NPM
- mapreduce
- 공정능력
- Kotlin
- IntelliJ
- table
- vaadin
- plugin
- R
- xPlatform
- Express
- GIT
- hadoop
- 보조정렬
- Eclipse
- es6
- Spring
- mybatis
- SSL
- tomcat
- Android
Archives
- Today
- Total
DBILITY
CMainFrame 가운데 정렬 본문
반응형
MainFrame.cpp의 PreCreateWindow 함수에서 처리해 봤다. SetWindowPos를 사용할 수 도 있다.
CRect rect;
CWnd::GetDesktopWindow()->GetWindowRect(&rect);
cs.cx = 800;
cs.cy = 600;
cs.x = (rect.Width() - cs.cx) / 2;
cs.y = (rect.Height() - cs.cy) / 2;
cs.style &= ~WS_THICKFRAME; // 창크기 조절제거반응형
'C' 카테고리의 다른 글
| C 초기화의 중요성? (0) | 2019.06.14 |
|---|---|
| C console program example (0) | 2019.06.05 |
| GetKeyState (0) | 2019.01.04 |
| WIN32 윈도우 생성 및 메시지처리 이해 (0) | 2019.01.04 |
| 주요 Message (0) | 2018.02.13 |
Comments
