프로그래밍 관련/MFC

[MFC] OnSize 이벤트 발생 시키기

AlrepondTech 2017. 8. 1. 14:05
반응형

 

 

 

 

=================================

=================================

=================================

 

 

 

 

 

출처: http://blog.naver.com/PostView.nhn?blogId=sin_01&logNo=70147771800

 

RECT rc;

 GetClientRect(&rc);

 

 SendMessage(WM_SIZE, (WPARAM)SIZE_RESTORED, MAKELPARAM(rc.right-rc.left, rc.bottom-rc.top));

 

 

 

=================================

=================================

=================================

 

 

 

 

반응형