Blitz3d Fullscreen ?
Blitz3D Forums/Blitz3D Programming/Blitz3d Fullscreen ?
| ||
hi @all Facts : I create a dll that will open a Dialog in the Blitzwindow. the user must select a box and then i kill the dialog with Dialog end. This works fine in windowed mode . But if i use Fullscreen the dialog will not kill . If i use the Alt-Tab key 's to switch between programm's and come back to my Application the Dialog is killed and the Programm works fine !!!!!!!! what should i do ? anyone know's a Win Api call to solved this problem ? or what's wrong ? Thx for help |
| ||
Try to include this before destroying the dialog: // hWnd is the dialog handle ShowWindow(hWnd, SW_HIDE); UpdateWindow(hWnd); ReleaseDC(hWnd, GetDC( hWnd )); // not sure about this line |
| ||
THX Marcelo ! This will solved the problem ShowWindow(hWnd, SW_HIDE); UpdateWindow(hWnd); :) |