Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.02.24;
Скачать: CL | DM;

Вниз

Изменение разрешения   Найти похожие ветки 

 
Ich Hasse ©   (2002-09-17 19:21) [0]

Я знаю, что вопрос переключения разрешения экрана рассматривался много раз, но у меня трабла в следующем:
Как поставить еще и нужную частоту обновления экрана???


 
Sapersky_   (2002-09-17 19:25) [1]

IDirectDraw7::SetDisplayMode
The IDirectDraw7::SetDisplayMode method sets the mode of the display-device hardware.

HRESULT SetDisplayMode(
DWORD dwWidth,
DWORD dwHeight,
DWORD dwBPP,
DWORD dwRefreshRate,
DWORD dwFlags
);

Parameters
dwWidth and dwHeight
Width and height of the new mode.
dwBPP
Bits per pixel (bpp) of the new mode.
dwRefreshRate
Refresh rate of the new mode. Set this value to 0 to request the default refresh rate for the driver.
dwFlags
Flags describing additional options. Currently, the only valid flag is DDSDM_STANDARDVGAMODE, which causes the method to set Mode 13, instead of Mode X 320x200x8 mode. If you are setting another resolution, bit depth, or a Mode X mode, do not use this flag; instead, set the parameter to 0.



Страницы: 1 вся ветка

Текущий архив: 2003.02.24;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.014 c
1-76030
Maxik777
2003-02-13 16:00
2003.02.24
И снова о выборе директории


6-76062
DJ_Sedoy
2003-01-06 23:17
2003.02.24
Indy


1-75907
MaXie
2003-02-14 11:04
2003.02.24
Как определить событие?


1-75918
and_sp
2003-02-13 13:09
2003.02.24
Access Violation в MDI-приложении


1-75947
V-Isa
2003-02-12 12:42
2003.02.24
StringGrid