Calculate the best ModeID with given parameters
Source position: cybergraphics.pas line 300
function BestCModeIDTagList( |
BestModeIDTags: PTagItem |
):LongWord; |
BestModeIDTags |
|
Pointer to an array of TagItems describing the wanted screen mode |
DisplayID of the best mode to use, or INVALID_ID if a match could not be found.
Returns the CyberGraphX displaymode ID which fits best for the parameters supplied in the TagList.
Available Tags:
(LongWord) if multiple graphics boards are installed in the system, you can choose the desired one with this tag Currently supported boards are:
Older versions return displaymode IDs with wrong depth if the desired color depth is not available. If you specify very small widths/heights (e.g. 50/20 icon size) this call returns INVALID_ID instead of the smallest available lowres ID.