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
/psi/control/<name>/rtti/draw=(PSI_CONTROL)@void@_@draw
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? }
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|