Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Draw_Library v2.00 Component Reference
|
|
[ TDx_DrawVideoPortContainer::OnDestroy() ]
[ next: OnError() ]
[ prev: OnCreate() ]
__published:
__property TDx_Event OnDestroy = {read=FOnDestroy, write=FOnDestroy, nodefault};
TDX_DRAWVIDEOPORTCONTAINER::ONDESTROY()
[ component event ]
- Description
The
OnDestroy()
event
is
triggered
by
the
TDx_DrawVideoPortContainer::Destroy()
method,
just
before
the
TDx_DrawVideoPortContainer
internal
LPDDVIDEOPORTCONTAINER
interface
is
destroyed.
Note:
This
event
is
an
ideal
place
to
place
code
that
reverses
the
results
of
the
TDx_DrawVideoPortContainer::OnCreate()
event.
For
example,
assume
you
have
already
setup
the
TDx_DrawVideoPortContainer::OnCreate()
event
to
retrieve
the
component's
capabilities,
Create()
a
dependant
component
and
allocate
some
memory;
You
can
then
fully
automate
and
insulate
your
code
on
a
per-component
basis
by
placing
code
in
the
TDx_DrawVideoPortContainer::OnDestroy()
event
to
deallocate
memory,
Destroy()
the
dependant
components
and,
when
required,
destroy
the
capabilities
component.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|