// *********************************************************
// ウインドウハンドルの取得
// *********************************************************
HWND LboxIE::GetWindowHandle( void )
{
HWND hWnd;
bError = false;
hWnd = NULL;
try {
if ( pIE != NULL ) {
hWnd = (HWND)(pIE->HWND);
}
}
catch (_com_error &e)
{
ComError.operator = ( (char *)(e.ErrorMessage()) );
bError = true;
}
return hWnd;
}
|