Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::PSI::OnMoveCommon Macro
C++
#define OnMoveCommon(name) \
    __DefineRegistryMethodP(PSI_PRELOAD_PRIORITY,PSI_ROOT_REGISTRY,unused_name,WIDE("control"),name WIDE("/rtti"),WIDE("position_changing"),void,(PSI_CONTROL,LOGICAL), __LINE__)

This event callback is called when a control's position changes. Usually only happens on the outer parent frame.

Registers under 

/psi/control/<name>/rtti/position_changing= (PSI_CONTROL,LOGICAL)@void@_@position_changing

static void OnMoveCommon(name)( PSI_CONTROL control, LOGICAL bStart )
{
    // if bStart is TRUE, the control is about to be moved
    // if bStart is FALSE, then the control is now in a new location.
}
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!