Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::PSI::OnDestroyCommon Macro
C++
void (__cdecl * destroy)(PSI_CONTROL);
#define OnDestroyCommon(name) \
    __DefineRegistryMethodP(PSI_PRELOAD_PRIORITY,PSI_ROOT_REGISTRY,unused_name,WIDE("control"),name WIDE("/rtti"),WIDE("destroy"),void,(PSI_CONTROL), __LINE__)

Event when a control is being destroyed. Allows a control to destroy any internal resources it may have associated with the control.

Registers under 

/psi/control/<name>/rtti/destroy=(PSI_CONTROL)@void@_@destroy

static void OnDestroyCommon(name)( PSI_CONTROL control )
{
    // do anything you might need when this control is destroyed.
}
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!