home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
pwrgu2.zip
/
POWERGU2.EXE
/
LISTCTLS
/
SPINBUT
/
SPINBUT.CPP
< prev
next >
Wrap
Text File
|
1995-07-25
|
680b
|
26 lines
//************************************************************
// List Controls - Spin Button Date Control
//
// Copyright (C) 1994, Law, Leong, Love, Olson, Tsuji.
// All Rights Reserved.
//************************************************************
#include <iapp.hpp>
#include <iframe.hpp>
#include <icconst.h>
#include "datectrl.hpp"
void main()
{
IFrameWindow frame("Date Spin Button Example");
DateControl date(IC_FRAME_CLIENT_ID, &frame, &frame);
// Put the control in the client area, give the frame
// the input focus, and show the frame.
frame
.setClient(&date)
.setFocus()
.show();
IApplication::current().run();
}