typedef struct {
 ControlPtr control;
 ListPtr list;
} PopupListPtrType;

/* prototypes. */
void    SetFieldText(Word, CharPtr);
VoidPtr GetObjectPtr(Int);
void    UpdateScrollBar(Int, Int);
void    ScrollLines(Int, Int);
void    AssignPopupListPtr(PopupListPtrType*, Word, Word);
void    SetPopupListSelection(PopupListPtrType*, Word);
Word    GetPopupListSelection(PopupListPtrType*);
void    SkipLeadingSpace(CharPtr*);
void    ChopTrailingSpace(CharPtr);