Thanks
~Todd
You need to use a window style of WS_POPUP instead of
the usual WS_OVERLAPPEDWINDOW style in your
CreateWindow (or CreateWindowEx) call. Note that
with a WS_POPUP style, using CW_USEDEFAULT for
window position and size doesn't fly; you'll need to specify
the size.
Example to create full-screen window borderless window.
Note: the window title doesn't actually show atop
the window, but it'll appear on task bar if the user
toggles away from your app. The window size here
(1,1) doesn't reaally matter since the window is
being maximized. Of course, setup your window
class like usual with choice of background brush,
etc., before calling CreateWindow.
HWND hwnd =
ateWindow(
"your app class",
"your app title",
WS_POPUP,
0, 0, 1, 1,
NULL, NULL, hInstance, NULL);
if (!hwnd)
/* error handler for window create fail */ ;
ShowWindow(hwnd, SW_MAXIMIZE);
UpdateWindow(hwnd);
> HWND hwnd =
>
Window(
Don't know what happened to that line, it should have read:
HWND hwnd = CreateWindow(
Sorry 'bout that
~Todd
"Derick Morrison" <derick_...@hotmail.com> wrote in message
news:wEvZ6.122621$DG1.20...@news1.rdc1.mi.home.com...
There are two differents full-screen mode..
One is the 'GDI' full screen mode (no window caption, task bar hide) ex:
InstallShield (sometime)
The other on is the 'material' full screen mode (like the 1st person game).
If you are programming games, use this one (the graphic card don't care
about the gdi and the user interface, so all its 'power' is used to calcul
the graphics)... With OpenGL and a Voodoo card, just copy the
Windows\system\3dfxvgl.dll in your app folder and rename it to opengl32.dll
(and create your window as popup, see another post!)
Good Luck!
"Pierre Roudier No!hyr...@club-internet.fr>" <Spam> wrote in message
news:9h73h0$pav$1...@front3m.grolier.fr...