?? spinbox.c
字號:
/*** $Id: spinbox.c,v 1.2 2003/05/07 06:58:48 weiym Exp $**** spinbox.c: The SpinBox control demo program.**** Copyright (C) 2001 ~ 2002 Wei Yongming.** Copyright (C) 2003 Feynman Software.**** Create date: 2001/11/01*//*** This source is free software; you can redistribute it and/or** modify it under the terms of the GNU General Public** License as published by the Free Software Foundation; either** version 2 of the License, or (at your option) any later version.**** This software 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** General Public License for more details.**** You should have received a copy of the GNU 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*/#include <stdio.h>#include <stdlib.h>#include <string.h>#include <minigui/common.h>#include <minigui/minigui.h>#include <minigui/gdi.h>#include <minigui/window.h>#include <minigui/control.h>#include <minigui/mgext.h>#include <minigui/mywindows.h>void spinbox_demo (HWND hwnd){ myWinHelpMessage (hwnd, 300, 200, "About SpinBox control", "We use the SpinBox control in this Help Message Box.\n\n" "You can click the up arrow of the control to scroll up " "the message, and click the down arrow of the control to scroll down. " "You can also scroll the message by typing ArrowDown and ArrowUp keys.\n\n" "In your application, you can call 'myWinHelpMessage' function " "to build a Help Message box like this.\n\n" "The Help Message Box is useful for some PDA-like applications.\n\n" "The SpinBox control allways have the fixed width and height. " "You can read the source of 'ext/control/spinbox.c' to know how to " "build such a control.\n\n" "If you want to know how to use this control, please read the " "source of 'mywindows/helpwin.c' in the MiniGUI source tree.");}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -