home *** CD-ROM | disk | FTP | other *** search
- // Zinc Interface Library - ERROR.CPP
- // COPYRIGHT (C) 1990, 1991. All Rights Reserved.
- // Zinc Software Incorporated. Pleasant Grove, Utah USA
-
- #include "ui_win.hpp"
-
- void UI_ERROR_SYSTEM::Beep(void)
- {
- MessageBeep(0);
- }
-
- #pragma argsused
- void UI_ERROR_SYSTEM::ReportError(UI_WINDOW_MANAGER *windowManager,
- USHORT objectFlags, char *msg, ...)
- {
- Beep();
- if (windowManager)
- {
- UI_EVENT event;
- event.type = S_ERROR_RESPONSE;
- event.rawCode = 0;
- windowManager->eventManager->Put(event, Q_BEGIN);
- }
- }
-