Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.011 c
4-76226
mbIkola
2003-01-10 15:08
2003.02.24
Как нажать программно клавишу ALT


14-76194
Anatoly Podgoretsky
2003-02-08 00:24
2003.02.24
Именинник 7 февраля


3-75843
Виталий Панасенко
2003-02-07 12:25
2003.02.24
ADO


1-75950
Grizin
2003-02-12 12:36
2003.02.24
Создание обработчика события из редактора компонента


1-76032
Anatoliy
2003-02-13 16:20
2003.02.24
Проверка среды запуска программы.




   Наверх