Форум: "Игры";
Текущий архив: 2003.02.24;
Скачать: [xml.tar.bz2];
Вниз
Изменение разрешения Найти похожие ветки
← →
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;
Скачать: [xml.tar.bz2];
Память: 0.44 MB
Время: 0.007 c