Pegmessagewindow - Casio ClassPad 300 Programming Manual

Sdk programming guide
Hide thumbs Also See for ClassPad 300:
Table of Contents

Advertisement

The following code adds a PegNotebook with text tabs to a CPModuleWindow:
CPMainFrame *mw = new CPMainFrame(Rect);
PegRect ChildRect = mw->FullAppRectangle();
CPModuleWindow* swin = new CPModuleWindow(ChildRect,0,0,mw);
mw->SetTopWindow(swin);
PegNotebook *p = new PegNotebook(ChildRect,
p->SetTabString(0, (PEGCHAR*)"Tab1");
p->SetTabString(1, (PEGCHAR*)"Tab2");
p->SetTabString(2, (PEGCHAR*)"Tab3");
swin->AddR(p);
mw->SetMainWindow(swin);
The result on the ClassPad is:

PegMessageWindow

Class Name
PegMessageWindow PegWindow
PegMessageWindow is a popup window class for display warning, error, or other status
information to the user.
NS_TOPTABS|NS_TEXTTABS,3);
Derived From
Styles
FF_THIN
MW_OK
MW_YES
MW_NO
MW_ABORT
MW_RETRY
MW_CANCEL
Signals
PSF_SIZED
PSF_FOCUS_RECEIVED
PSF_FOCUS_LOST
PSF_KEY_RECEIVED
49

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents