![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
Разрешение [D5, D6, WinME]
SPeller © (2002-03-27 06:49:00)Как через API сменить разрешение экрана ??
Ser_Kham1 (2002-03-27 11:26:00) [1]Забыл совсем, есть ведь
http://delphi.mastak.ru/articles/display/index.html
SPeller (2002-03-27 08:58:00) [2]А как определить допустимые значения разрешение/глубина цвета ??
Ser_Kham1 (2002-03-27 08:53:00) [3]The ChangeDisplaySettings function changes the display settings to the specified graphics mode.
LONG ChangeDisplaySettings(
LPDEVMODE lpDevMode,
DWORD dwflags
);
lpDevMode
.....
Pointer to a DEVMODE structure that describes the graphics mode to switch to. The dmSize
member must be initialized to the size, in bytes, of the DEVMODE structure. The following fields in the DEVMODE structure are used:
Member Meaning
dmBitsPerPel Bits per pixel
dmPelsWidth Pixel width
dmPelsHeight Pixel height
dmDisplayFlags Mode flags
dmDisplayFrequency Mode frequency