www.pudn.com > 嵌入式linux9应用开发祥解.rar > spinbox.c


#include 
#include 
#include 

#include 
#include 
#include 
#include 
#include 
#include 
#include 

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.");
}