[SDL] What is Current Desktop Size?

Lloyd Dupont lloyd at galador.net
Fri Aug 31 04:18:01 PDT 2001


unfortunately i have no answer to this, but i look over SDL_syswm.h and
guessed (here, at work), i couldn't test
that, on windows, a peace of code like

struct SDL_SysWMinfo info;
struct RECT aRect;
SDL_GetWMInfo(&info);
GetClientRect(info.window, &aRect);

would tells you what you need.

> PS2 : im working on zipped image viewer. it is still
> beta but im sure you can see images with almost no
> problem. if interested mail me.. thanks.
i am looking for tiny example to test a C# port of SDL, i am interesting in your exmaple to test it... (is it not too big ?....)





More information about the SDL mailing list