[ TDx_Draw ]
[ next: SetCooperativeLevel() ]
[ prev: RestoreAllSurfaces() ]
public:
virtual bool __fastcall RestoreDisplayMode();
If you would like to submit additions or improvements to this page, click: admin@bcb-tools.com.
DESCRIPTION
Top
See Also
The
TDx_Draw::RestoreDisplayMode
method
will
restore
the
hardwares
display
mode
settings
to
their
original
mode.
If
TDx_Draw::SetDisplayMode()
has
been
called
by
an
exclusive
mode
application,
the
display
mode
is
automatically
restored
upon
setting
the
cooperative
level
back
to
normal.
If
the
method
call
fails,
the
OnError
event
will
be
triggered
with
one
of
the
following
values:
DDERR_GENERIC
DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS
DDERR_LOCKEDSURFACES
DDERR_NOEXCLUSIVEMODE
SEE ALSO
Top