Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Draw_Library v2.00 Component Reference
|
|
[ TDx_Draw::SetDisplayMode() ]
[ next: StartModeTest() ]
[ prev: SetCooperativeLevel() ]
public:
virtual bool __fastcall SetDisplayMode( dword pWidth, dword pHeight, dword pBPP, dword pRefreshRate, dword pFlags );
TDX_DRAW::SETDISPLAYMODE()
[ component method ]
- Description
- Parameters
Width
The Width parameter defines the width of the mode being set.
Height
The Height parameter defines the height of the mode being set.
BPP
The BPP parameter defines the bit depth of the mode being set. To determine the Pixel format used by the hardware, use TDx_Draw::GetDisplayMode(), which will return the pixel masks used.
RefreshRate
The RefreshRate parameter defines the refresh rate of the mode being set.
Set this parameter to 0 to use the current refresh rate setting.
Flags
The Flags parameter defines a flag indicating an additional mode option.
The described effect applies when this flag is set.
DDSDM_STANDARDVGAMODE
Mode 13 will be set instead of Mode X 320x200x8 mode.
When not setting Mode 13 this parameter should be set to 0.
Refer to the DirectX SDK for details on "Mode X and Mode 13 Display Modes" limitations.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|