Overview
Examples
Screenshots
Comparisons
Applications
Download
Manual
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site











SourceForge.net Logo



Demonstration Examples

 

AddressBook

Simple address book application

AddressBookXML

Address book application, uses XML to store data (using SAX like U++ classes)

AddressBookXML2

Address book application, uses XML to store data (using DOM like U++ classes)

AnimatedHello

Animated Hello world example

BlueBar

Demonstration of "blue" ToolBar and MenuBar skin

Bombs

Mine sweeping game

Box2DExample

Box2D "Bridge" example

Button

Counting button clicks

Clock

Analogue / digital clock

cmdsrv

Simple HTTP text server

CodeMetric

Investigating C++ cyclometric complexity

Color

Paints text using different colors

CompDir

Compares directory contents

Converter

Converts metric units and U.S. units (meters / feets etc..)

Days

Displays a number of days between two dates

DbfView

Viewer of DBF files

EyeCare

Tray application that reminds user to take care about his eyes

GoogleMaps

Example using GoogleMaps static API to display the map of given location

HelloWorld

Rudimentary HelloWorld application with menu and status bar

HomeBudget

Demonstrates using of GridCtrl and Sqlite3 database

httpcli

Command-line driven HTTP client

idmap

U++ containers demonstration - prints the map of words in the file

idmapBench

C++ standard library vs. U++ Core benchmark

ImageView

Simple image viewer

imgsrv

Simple http image server

OleCalc

Simple example of ActiveX control

PainterExamples

Antialiased renderer class, Painter, examples, version 2.0

Puzzle

Puzzle game

Scribble

Simple drawing application

SDLExample

SDL demo example

SQLApp

SQL application example

UWord

Wordprocessor application

wc

Word-count utility

XmlView

XML viewer

 

 

 

Reference Examples

Reference examples are designed to document U++ through a set of very simple examples, each demonstrating a single aspect of U++ library.

 

AK

The definition and use of redefinable key accelerators

ArrayCtrl

Basic usage of ArrayCtrl

ArrayCtrlCtrls

Columns with widget class in ArrayCtrl

ArrayCtrlCtrls2

Columns with widget factory - GetCtrl, different widgets in single column

ArrayCtrlDnD

Drag&Drop with ArrayCtrl as target

ArrayCtrlEdits

Embedded widgets in ArrayCtrl

ArrayCtrlSetCtrl

Embedding non-owned widgets into ArrayCtrl

ArrayHideShowColumnMenu

Hide/Show Menu for ArrayCtrl Columns

AttrText

Demonstrates the usage of AttrText to alter text appearance with standard Display

brc

Including binary data into application

Callback

Basic Callbacks

CallbackArgTarget

"value" return callback

CallbackProxy

Callback to Callback

CaptureScreenDll

Demonstrates .dll in Win32 with single capture_screen function

Chameleon

Skinning Button using Chameleon

ColumnList

ColumnList examples, shows all 3 modes of ColumnList

ColumnListDnD

Drag&Drop with ColumnList

Common

Demonstration of common functions, methods and operators for concrete types

ConsoleDraw

Demonstrates head-less Draw application - drawing without GUI

Convert

Using Convert to alter EditField for editing binary numbers

Counter

Counter widget used in UscCtrl example

CoWork

Using CoWork for loop parallelisation

CParser

Using CParser for simple expression evaluator

CtrlPos

Demonstration of logical positions system

CtrlRetriever

Using CtrlRetriever to edit C++ variables in dialog

CursorOverride

Temporarily overriding the mouse cursor shape

Display

Using Display to alter DropList to display fonts

Drawing

Using Drawing to store and paint pictures

DropFiles

Window that accepts drag&drop of files

DropGridExample

DropGrid examples

DropTree

DropTree example

DynamicDlg

Example of dynamic dialog creation (based on XML file)

EscApp

Using Esc scripting language in U++ application

Events

Demonstration of basic input events

Format

Formatting Strings

Frame

Demonstration of widget frames

FullScreen

Full screen TopWindow mode

GetDataFile

Demonstration of facility used to read application specific files

GuiLock

This package demonstrates the use of Ctrl::Lock in MT applications

GuiMT

Using event queue for communication between worker threads and GUI

HotKey

Ctrl::RegisterSystemHotKey demonstration

ImageDraw

Creating raster images in the code

ImageEncoders

Storing raster images in various formats

iml

Demonstration of image list resources

Layout

Using layouts for dialogs

LazyUpdate

Using LazyUpdate for MT correct lazy evaluation

Log

Using diagnostic logs

Menu

Using MenuBar

OpenGL

GLCtrl widget example

Paint

Paint method and Draw example

PrinterJob

Printing in U++

Ptr

U++ smart pointer example

Qtf

QTF - default text representation of RichText

QtfDrawing

Placing code-generated graphics into Qtf

RawRichText

Contructing RichText using raw RichText API

RectTracker

Positioning loop example

RegExp

PCRE regular expressions

Reports

Report example

RichImlImage

Demonstrates usage of internal (iml) images in QTF

RichTextLayoutTracer

Demonstrates using RichTextLayoutTracer to count number of table rows per report page

RichTextObject

Demonstrates the use of QTF object in text format

ScrollBar

Scrolling view using ScrollBar

ScrollView

Scrolling the view area

SelectFile

Demostrates the usage of FileSel Select* family of functions and classes

Serialize

Persistency by binary serialization

SetSurface

Setting RGBA pixels from the buffer to window

Slider

SliderCtrl example

SliderProgressInd

Combined Slider and Progress example

SocketClient

Example of using client Socket - its counterpart is SocketServer

SocketServer

Example of using server Socket - its counterpart is SocketClient

Splitter

Splitting window into resizable parts

SplitterFrame

Resizable frame Ctrls

SqlArray

Example of editing SQL table using SqlArray

SqlExp

Examples of SqlExp expressions

SQL_MSSQL

Using MSSQL interface

SQL_MySql

Logging to MySql

SQL_Oracle

Logging to Oracle

SQL_PostgreSql

Logging and using PostgreSQL

SQL_Sqlite3

Connecting Sqlite3 database

StatusBar

Using StatusBar to provide informations at the bottom of the window

Switch

 

TabDlg

Tabbed dialogs

Timing

Timer events

Topic

Using TheIDE documentation editor (Topic++) to provide application help

TrayIcon

Placing icon into platform tray area

TreeCtrl

TreeCtrl used to show file hierarchy, editors in TreeCtrl and OptionTree example

TreeCtrlDnD

Drag & Drop with TreeCtrl as target

UscCtrl

Creating .usc script to get custom widget represented in layout editor

Value

Using Value to store any data

VirtualArray

Using ArrayCtrl without storing any real data to it

WebImage

Using HttpClientGet to obtain image from web, and displaying it

XML

Creating and parsing XML files

Xmlize

Persistency using XML

XmlizeCustomValue

Extending Xmlize to support custom Value type

Xmlize_std

Xmlize with existing type, in this case std::vector<int>

XmlRpcCall

Using XmlRpc with public XmlRpc server

XmlRpcClient

Client for XmlRpcServer example

XmlRpcServer

XML-RPC simple server

 

 

Last edit by koldo on 04/24/2010. This page is also in català, čeština, español, français and русский. Do you want to contribute?. T++