본문 바로가기
코드 조각

WM_SYSCOMMAND

by ictlab 2012. 3. 15.

http://winapi.co.kr/reference/Message/WM_SYSCOMMAND.htm

http://blog.naver.com/PostView.nhn?blogId=pavonine116&logNo=50017432318



ReleaseCapture();
this->Perform(WM_SYSCOMMAND,0xf012,0);


WPARAM에 사용할 수 있는것들

#define SC_SZLEFT (0xF001) #define SC_SZRIGHT (0xF002) #define SC_SZTOP (0xF003) #define SC_SZTOPLEFT (0xF004) #define SC_SZTOPRIGHT (0xF005) #define SC_SZBOTTOM (0xF006) #define SC_SZBOTTOMLEFT (0xF007) #define SC_SZBOTTOMRIGHT (0xF008) #define SC_DRAGMOVE (0xF012)