home *** CD-ROM | disk | FTP | other *** search
- // Zinc Interface Library - D_CTRL4.CPP
- // COPYRIGHT (C) 1990, 1991. All Rights Reserved.
- // Zinc Software Incorporated. Pleasant Grove, Utah USA
-
- #include "ui_dsn.hpp"
- #include "d_help.hlh"
- #include <stdio.h>
-
- void UI_DESIGN_MANAGER::ObjectControl(void *data, UI_EVENT &event)
- {
- UIW_POP_UP_ITEM *item = (UIW_POP_UP_ITEM *)data;
- UI_WINDOW_OBJECT *(*newFunction)(const char *name, UI_STORAGE *file, USHORT loadFlags);
- UI_JUMP_LIST::_jumpList.GetFunction(item->DataGet(TRUE), &newFunction);
- _currentObject = newFunction(0, 0, L_NO_FLAGS);
- _currentObject->woAdvancedStatus |= WOAS_EDIT_MODE;
- event.type = S_PLACE_OBJECT;
- item->eventManager->Put(event, Q_BEGIN);
- event.type = S_CLOSE_TEMPORARY;
- item->eventManager->Put(event, Q_BEGIN);
- }
-
-