Sack Library Documentation
sack::PSI::OnDrawCommon Macro
int (__cdecl * draw)(PSI_CONTROL);
#define OnDrawCommon(name) \
    __DefineRegistryMethodP(PSI_PRELOAD_PRIORITY,PSI_ROOT_REGISTRY,unused_name,WIDE("control"),name WIDE("/rtti"),WIDE("draw"),int,(PSI_CONTROL), __LINE__)

Event given to a control when it needs to draw.

Registers under 


static int OnDrawCommon(name)( PSI_CONTROL control )
   // draw (or nto) to a control.
   // return TRUE to update, otherwise FALSE, and update will not be performed.
   // but then, child controls also do not draw, because their parent is not dirty?
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
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!