Skip to main content
gamedev.net
🔒 Locked

DD7 windowed problem

Started by doorstop 1 reply 650+ views
Original Post
doorstop
doorstop
Ive got a simple scrolling demo in windowed mode to demonstrate a tiling engine, however when the window is moved over start bar the relevant portion of the window continues to display over the start bar until a full screen application is used. ideas please
Zbyl
Zbyl
Use the DirectDrawClipper interface (if you're not using it already ;). That should solve other problems too, like a flickering mouse.
themadhacker
themadhacker
Try this:

LPDIRECTDRAWCLIPPER lpClipper;

Setup Surface...

lpDD->CreateClipper( 0, &lpClipper, NULL );
lpClipper->SetHWnd( 0, hwnd );
lpDDSPrimary->SetClipper( lpClipper );

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.