Web Browser 컨트롤이 종료 될 때 이벤트
출처: 신형철(krispy@unitel.co.kr)
LRESULT OnParentNotify(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
if ((LOWORD(wParam) == WM_DESTROY) && ( (HWND)lParam == m_hWndIE ) )
{
ATLTRACE("Destroying xWebCtrl\n");
// Close the parent frame window.OnQuit();
}
else
{
bHandled = FALSE;
}
return 0;
}
참고 문서: http://support.microsoft.com/kb/253219
'NIght.. > ATL+WTL+COM' 카테고리의 다른 글
| About the Browser (0) | 2008/12/03 |
|---|---|
| 실행 중인 IE의 리스트 얻는 방법 (0) | 2008/12/02 |
| Web Browser 컨트롤이 종료 될 때 이벤트 (0) | 2008/12/02 |
| IExplore 의 로딩 완료시점 알아내기 (0) | 2008/12/02 |
| 자바함수 호출 예제 - 4 (0) | 2008/11/13 |
| IE7/Vista의 IWebBrowser2 interface 얻기 (0) | 2008/11/12 |





CSS