home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power GUI Programming with VisualAge C++
/
powergui.iso
/
powergui
/
notebook
/
simple
/
simple.cpp
< prev
Wrap
Text File
|
1996-10-29
|
628b
|
25 lines
//************************************************************
// Notebook Control - Simple Notebook Example
//
// Copyright (C) 1994, Law, Leong, Love, Olson, Tsuji.
// Copyright (c) 1997 John Wiley & Sons, Inc.
// All Rights Reserved.
//************************************************************
#include <inotebk.hpp>
#include <iframe.hpp>
#include <iapp.hpp>
#include <icconst.h>
void main()
{
IFrameWindow frame ("Simple Notebook");
INotebook notebook (IC_FRAME_CLIENT_ID, &frame, &frame);
frame
.setClient(¬ebook)
.setFocus()
.show();
IApplication::current().run();
}