Routines for magwin.kb


MagicWindowEvent

File Name

magwin.kb

Syntax

MagicWindowEvent(MWInst: MagicWindowRec)

Parameters

MWInst - event data for handler

Returns

None

Side Effects

None

Description

This event handler is designed to be delegated to only (it is not meant to be a standalone event handler. When a dialog requires the use of the Magic Window processing, it can delegate events to this event handler. By doing this, the delegating handler will inherit the ability to handle Magic Window processing. Following is the functionality that the Magic Window processing provides via SendMessages: MW_VALIDATE_PERSON: Attempts to resolve the person based on the people fields that have been filled out. If no exact match, pop the Find Contact form. MW_FIND_PERSON: Pops the Find Contact Form. MW_SET_PERSON: Indicates that a valid person has been identified. A BrowsePeopleListRec is expected as EventParm 1. All fields are populated at this time. MW_CLEAR_PERSON: Clears out all fields that correspond to Magic Window (people) fields. MW_UNSET_PERSON: Indicates that whatever person was at one time set has been changed. There is not currently a valid contact entered. MW_SOFT_VALIDATE_PERSON: Attempts to resolve the person based on the people fields that have been filled out. If no exact match, do nothing.

Dialog Forms Called

None