Mispaints and redirection bitmaps.
Speaking of ??? mispaints and redirection bitmaps ???...
I use DirectDraw to Blt() to a maximized window up to 70 times a second,
sometimes drawing that often for several minutes.
( See X.EXE, Dif.EXE and Games.EXE, mentioned below )
To prevent drawing on top of other apps, I do
??? if ( GetForegroundWindow() == Win ) WinSur->Blt() ??? where Win is
my one-and-only window and WinSur is the ??? Primary Surface ???.
My one-and-only WinProc() looks like this:
??? long __stdcall WinProc ( HWND Wnd, uint _WM, uint C, long C2 ) {
PostMessage( Win, _WM, C, C2 ); return 1 ; } ???.
I'd try it on a Vista box, but I couldn't find one at
the Univ. of Wash., here in Seattle,
and the lab rats told me none of the other labs had it either.
.........
??? X.EXE ??? is my custom newsreader, SMTP_AUTH, POP3 client.
It handles Cotse.NET's On_The_Fly ( unlimited ) e-mail aliases.
All charsets/encodings are converted to UTF-16 ( X's native format ).
X's settings ( and help ) are in ??? X.TXT ???,
place it in X's ??? Startup ??? directory.
To track WM_SYNCPAINT messages and the like,
uncomment ??? ShWM ??? and ??? #include "Debug.CPP" ??? in X.CPP
Dif.EXE has a help screen ( just double-click it ) but Games doesn't.
Hit escape or CloseWindow ( ^F4 ) to exit.
Both make heavy use of my IntelliMouse Explorer ( 4 buttons + wheel ).
Games.EXE is an ultra-simple, mouse-centric set of games including
Random Chess, Rapid Monopoly, Random Mario Brothers, Reversie
and Solitaire.
The chess game is always one player, white,
and it's designed to be very, very mindless.
Pieces can be quickly added or removed.
By default you have no king... so you can't lose.
X.TXT/EXE/CPP, Dif.EXE/CPP, Games.EXE/CPP and Debug.CPP ( VC++ 8.0 )
are in: ??? www.Cotse.NET/users/jeffrelf/Games.ZIP ???.
None require an installer, nor do they access the registry.
..+.+.+