📄 spinbox.c
字号:
#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 + -