|
// *********************************************************
// プレビューウインドウの存在チェック
// *********************************************************
BOOL LboxIEPrint::IsPreview( void )
{
BOOL bRet;
bRet = false;
hWndDocViewStatic = NULL;
GetWindowThreadProcessId( this->GetWindowHandle(), &curProcessId );
EnumWork = new LboxString( 80 );
EnumWindows(
EnumIsProc,
0
);
delete EnumWork;
this->hWndDocView = hWndDocViewStatic;
if ( this->hWndDocView != NULL ) {
bRet = true;
}
return bRet;
}
| |