****************************************************************************************************
윈도우 리사이즈 메시지 처리
header file
// Generated message map functions
//{{AFX_MSG(CMovieCutterDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButton1();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnSizing(UINT fwSide, LPRECT pRect);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
cpp file
BEGIN_MESSAGE_MAP(CMovieCutterDlg, CDialog)
//{{AFX_MSG_MAP(CMovieCutterDlg)
ON_WM_SYSCOMMAND()
ON_WM_PAINT()
ON_WM_QUERYDRAGICON()
ON_BN_CLICKED(IDC_BUTTON1, OnButton1)
ON_WM_SIZE()
ON_WM_SIZING()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
void CMovieCutterDlg::OnSizing(UINT fwSide, LPRECT pRect) 메소드 구현
****************************************************************************************************
댓글 없음:
댓글 쓰기