EasyManuals Logo
Home>Casio>Calculator>ClassPad 300

Casio ClassPad 300 Programming Guide

Casio ClassPad 300
125 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #70 background imageLoading...
Page #70 background image
CPToggleButton
Class Name Derived From Styles Signals
CPDropDownButton PegBitmapButton BF_REPEAT
BF_DOWNACTION
BF_SELECTED
AF_ENABLED
PSF_SIZED
PSF_FOCUS_RECEIVED
PSF_FOCUS_LOST
PSF_KEY_RECEIVED
PSF_CLICKED
CPToggleButton implements a two state PegBitmapButton that can be selected or
unselected. When selected, the PegBitmap is inversed. Here is the code to create a
simple example:
void MCSWindow::AddUI()
{
PegRect r = GetToolbarButtonRect();
CPToggleButton *button = new CPToggleButton(r, &gbcontentBitmap);
m_ui->AddToolbarButton(button);
}
The first image below is when the button has not been clicked. The second is after a
click and the image has been inverted.
70

Table of Contents

Other manuals for Casio ClassPad 300

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Casio ClassPad 300 and is the answer not in the manual?

Casio ClassPad 300 Specifications

General IconGeneral
BrandCasio
ModelClassPad 300
CategoryCalculator
LanguageEnglish

Related product manuals