IPB

> GetMaxMode (function) (Graph unit)
Чат
Форум
Загрузка...
 

Language:
Русский
English

 GetMaxMode (function)     (Graph unit)


Returns the maximum mode number for the currently loaded driver.

Declaration

 function GetMaxMode: Integer;

The return value is the maximum value that can be passed to SetGraphMode.

Target

Real, Protected

Remarks

GetMaxMode lets you find out the maximum mode number for the current driver, directly from the driver. (Formerly, GetModeRange was the only way you could get this number; GetModeRange is still supported, but only for the Borland drivers.)

The value returned by GetMaxMode is the maximum value that might be passed to SetGraphMode. Every driver supports modes 0..GetMaxMode.

Restrictions

Must be in graphics mode.

See Also

Sample Code

 
 К началу страницы 
Тэги: GetMaxMode
 

Код для вставки: :: :: :: ГОСТ ::
Поделиться: //
 



-
Хостинг предоставлен компанией "Веб Сервис Центр" при поддержке компании "ДокЛаб"