⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mywindows.h

📁 在ecos 下mingui 的移植开发
💻 H
字号:
/* mywindows.h * * This file include definitions for mywin library. * *             MiniGUI for Linux Version 0.2.xx *             Copyright (c) 1994 ~ 2000  Mr. Wei Yongming. *             Last modified date: 2000.4.22 *//***  This library is free software; you can redistribute it and/or**  modify it under the terms of the GNU Library General Public**  License as published by the Free Software Foundation; either**  version 2 of the License, or (at your option) any later version.****  This library is distributed in the hope that it will be useful,**  but WITHOUT ANY WARRANTY; without even the implied warranty of**  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU**  Library General Public License for more details.****  You should have received a copy of the GNU Library General Public**  License along with this library; if not, write to the Free**  Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,**  MA 02111-1307, USA*/#ifndef H_MYWINDOWS    #define H_MYWINDOWS#ifdef __cplusplusextern "C" {#endif  /* __cplusplus */int myMessageBox (HWND hwnd, DWORD dwStyle, char* title, char* text, ...);int myWinMessage (HWND hwnd, char* title, char* button1, char* text, ...);int myWinChoice (HWND hwnd, char* title, char* button1, char* button2,                       char* text, ...);int myWinTernary (HWND hwnd, char* title, char* button1, char* button2,                       char* button3, char* text, ...);void errorWindow (HWND hwnd, char * str, char* title);HWND createStatusWin (HWND hParentWnd, int width, int height,                 char * title, char * text, ...);void destroyStatusWin (HWND hwnd);HWND createProgressWin (HWND hParentWnd, char * title, char * label,        int id, int range);void destroyProgressWin (HWND hwnd);typedef struct _myWinButton{    char*   text;    int     id;    DWORD   flags;} myWINBUTTON;typedef struct _myWinMenuItems{    char**      items;    int         listboxid;    int*        selected;    int         minbuttonid;    int         maxbuttonid;} myWINMENUITEMS;int myWinMenu (HWND hParentWnd, const char* title, const char* label,                 int width, int listboxheight, char ** items, int * listItem,                 myWINBUTTON* buttons);typedef struct _myWinEntry{    char*   text;    char**  value;    int     maxlen;    DWORD   flags;} myWINENTRY;typedef struct _myWinEntryItems{    myWINENTRY* entries;    int         entrycount;    int         firstentryid;    int         minbuttonid;    int         maxbuttonid;} myWINENTRYITEMS;int myWinEntries (HWND hParentWnd, const char* title, const char* label,                int width, int editboxwidth, BOOL fIME, myWINENTRY* items,                 myWINBUTTON* buttons);#ifdef __cplusplus}#endif  /* __cplusplus */#endif // H_MYWINDOWS

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -