Examples Overview

AnchorLayouts Example

AutoCompletion Example

Bixes Example

BouncingBalls Example

BoxLayouts Example

Buttons Example

ColoredButton Example

ComboBoxes Example

Commands Example

CommandsAlt Example

DataGrids Example

EditableListBox Example

Edits Example

EyeDropper Example

This example shows how to use the ScreenGraphics class to get pixels from the screen. It also shows how you can use Widget::setCursor to change the mouse cursor, and how the Clipboard class can be used to modify the clipboard content.

It defines a new widget called EyeDropper derived from Panel that is fully functional.

FontMetrics Example

FreeOfLayout Example

Hashing Example

This example shows how to use a LinkView and the DropFilesEvent.

HelloWorld Example

The must-to-be example. It shows how to catch Vaca exceptions, how to derive the Application class, and how to use a Frame with a LinkLabel (a link to Internet).

Images Example

Labels Example

LikeScript Example

Maths Example

MenuResource Example

MiniExplorer Example

This example shows how to customize a TreeNode to make a "simple" browser of the file-system.

Minimal Example

This example shows the minimal block of code that a Vaca application needs to run. Anyway it could be better to see HelloWorld Example to know how to catch an Exception.

Paths Example

This example shows how to handle a GraphicsPaths and to display PopupMenus.

Primitives Example

ProgressBars Example

Regions Example

Scribble Example

This example shows how to capture the mouse movement and modify a Image. It also shows how to use smart-pointers without worrying about memory leaks (Image is a SmartPtr).

Sliders Example

Spinners Example

StdCommands Example

Sudoku Example

SystemImageList Example

Tabs Example

TextEditor Example

Threads Example

Timers Example

ToolBars Example

Trees Example

Undo Example

WebCam Example

Win32 Specific:
This example shows how to override the Widget::createHandle method to create your own HWND.

It uses the Video for Windows (VfW) API.