3 Skin Definition

AUITK can be used to construct a graphical user interface by defining various components—such as standard ActiveX-based controls and custom controls, as well as resources such as images and fonts—as skin objects, and then combining them as necessary.

Moreover, AUITK can control operations based on actions and define data with variables and tables.

Dd285351.ComponentsinvolvedinGUIdevelopmentwithAUITK(en-us,MSDN.10).png
Figure 3-1: Components involved in GUI development with AUITK
Enlarge

The skins are created in either XML (text data) or SKN (binary data) format, the latter being obtained by converting the XML format to binary.

*

Sample code (XML) coding rules:

Skin object IDs in the sample code presented in this document are based on the following naming rules:

Skin Object

Prefix

Usage

Prefix

Action

act

Global

g_

Animation

ani

Base

b_

Bitmap

bmp

  

  

Button

btn

  

  

Const

cst

  

  

Control

ctl

  

  

FillRect(Vector)

vec

  

  

Font

fnt

  

  

Form

frm

  

  

Form(Subform)

subfrm

  

  

ImageCtl

imgctl

  

  

Import

imp

  

  

JPEG(bitmap)

jpg

  

  

Label

lbl

  

  

Layer

lay

  

  

List

lst

  

  

Location

loc

  

  

MetaFile

mta

  

  

Move

mov

  

  

Palette

pal

  

  

Part(bitmap chip)

chp

  

  

PictureBox

pic

  

  

Shortcut

srt

  

  

States

sta

  

  

Stretch

sth

  

  

Surface

sur

  

  

Table

tbl

  

  

Timer

tmr

  

  

Var

var

  

  

Community Additions

ADD
Show: