?? mywindows.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 + -