home *** CD-ROM | disk | FTP | other *** search
- // Zinc Interface Library - D_CTRL3.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>
-
- #pragma argsused
- void UI_DESIGN_MANAGER::ResourceControl(void *data, UI_EVENT &event)
- {
- UIW_POP_UP_ITEM *item = (UIW_POP_UP_ITEM *)data;
- UI_STORAGE_ELEMENT *element = _storage->Seek(item->DataGet(TRUE));
- UI_WINDOW_OBJECT *(*newFunction)(const char *name, UI_STORAGE *file, USHORT loadFlags);
- UI_JUMP_LIST::_jumpList.GetFunction(element->search.type, &newFunction);
- _currentObject = newFunction(element->search.stringID, _storage, L_NO_FLAGS);
- _currentObject->woAdvancedStatus |= WOAS_EDIT_MODE;
- item->windowManager->Add(_currentObject);
- }
-
-