message_box.hpp
来自「ncbi源码」· HPP 代码 · 共 107 行
HPP
107 行
/* * =========================================================================== * PRODUCTION $Log: message_box.hpp,v $ * PRODUCTION Revision 1000.3 2004/04/16 16:53:58 gouriano * PRODUCTION PRODUCTION: UPGRADED [CATCHUP_003] Dev-tree R1.7 * PRODUCTION * =========================================================================== */#ifndef GUI_DIALOGS_GENERAL___MESSAGE_BOX__HPP#define GUI_DIALOGS_GENERAL___MESSAGE_BOX__HPP/* $Id: message_box.hpp,v 1000.3 2004/04/16 16:53:58 gouriano Exp $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" under the * terms of the United States Copyright Act. It was written as part of * the author's official duties as a United States Government employee and * thus cannot be copyrighted. This software/database is freely available * to the public for use. The National Library of Medicine and the U.S. * Government have not placed any restriction on its use or reproduction. * * Although all reasonable efforts have been taken to ensure the accuracy * and reliability of the software and data, the NLM and the U.S. * Government do not and cannot warrant the performance or results that * may be obtained by using this software or data. The NLM and the U.S. * Government disclaim all warranties, express or implied, including * warranties of performance, merchantability or fitness for any particular * purpose. * * Please cite the author in any work or product based on this material. * * =========================================================================== * * Authors: Mike DiCuccio * * File Description: * */#include <corelib/ncbistd.hpp>#include <gui/gui.hpp>/** @addtogroup GUI_UTILS * * @{ */BEGIN_NCBI_SCOPE// standard dialog functions - replaces fl_ask, fl_alert, etc.NCBI_GUIUTILS_EXPORTEDialogReturnValue NcbiMessageBox(const string& message, TDialogType type = eDialog_Ok, EDialogIcon icon = eIcon_Exclamation, const string& title = "Error", EDialogTextMode text_mode = eRaw);END_NCBI_SCOPE/* @} *//* * =========================================================================== * $Log: message_box.hpp,v $ * Revision 1000.3 2004/04/16 16:53:58 gouriano * PRODUCTION: UPGRADED [CATCHUP_003] Dev-tree R1.7 * * Revision 1.7 2004/04/16 14:27:17 dicuccio * Added doxygen module tag * * Revision 1.6 2004/03/11 17:20:43 dicuccio * Use gui/gui instead of gui/types * * Revision 1.5 2003/11/07 17:16:44 jcherry * Added optional line-wrapping and html display * * Revision 1.4 2003/10/20 15:14:33 johnson * tweaked EDialogType such that one can specify modality as well as button * style. * * Revision 1.3 2003/09/29 15:20:08 dicuccio * Deprecated gui/scope.hpp. Merged gui/core/types.hpp into gui/types.hpp * * Revision 1.2 2003/05/30 14:15:41 dicuccio * Renamed MessageBox to NcbiMessageBox because brain-dead MSVC thinks this is * ::MessageBox and rewrites the symbol as MessageBoxA, which results in an * unresolved external and conflict with the Win32 API :(. * * Revision 1.1 2003/05/30 12:49:36 dicuccio * MOved from gui/dialogs/general * * Revision 1.2 2003/05/19 17:30:55 dicuccio * Added export specifier * * Revision 1.1 2003/05/19 13:52:19 dicuccio * Initial revision * * =========================================================================== */#endif // GUI_DIALOGS_GENERAL___MESSAGE_BOX__HPP
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?