diff --git a/harbour/source/rtl/gtwvt/gtwvt.c b/harbour/source/rtl/gtwvt/gtwvt.c index b0b6dc5ef3..60e5b57888 100644 --- a/harbour/source/rtl/gtwvt/gtwvt.c +++ b/harbour/source/rtl/gtwvt/gtwvt.c @@ -1562,7 +1562,12 @@ static HWND hb_gt_wvt_CreateWindow( HINSTANCE hInstance, HINSTANCE hPrevInstance hInstance, /* instance */ NULL ); /* lpParam */ - if( ! hWnd ) + if( hWnd ) + { + ShowWindow( hWnd, iCmdShow ); + UpdateWindow( hWnd ); + } + else MessageBox( NULL, TEXT( "Failed to create window." ), szAppName, MB_ICONERROR ); } else