About the default prefixes

Each type of control has a default prefix for its name. Table 12-1 lists the initial default prefix for each control (note that there is no prefix for a window).

Table 12-1: Default prefixes for window control names

Control

Prefix

Animation

am_

CheckBox

cbx_

CommandButton

cb_

DataWindow

dw_

DatePicker

dp_

DropDownListBox

ddlb_

DropDownPictureListBox

ddplb_

EditMask

em_

Graph

gr_

GroupBox

gb_

HProgressBar

hpb_

HScrollBar

hsb_

HTrackBar

htb_

InkEdit

ie_

InkPicture

ip_

Line

ln_

ListBox

lb_

ListView

lv_

MonthCalendar

mc_

MultiLineEdit

mle_

OLE 2.0

ole_

Oval

ov_

Picture

p_

PictureHyperLink

phl_

PictureButton

pb_

PictureListBox

plb_

RadioButton

rb_

Rectangle

r_

RichTextEdit

rte_

RoundRectangle

rr_

SingleLineEdit

sle_

StaticText

st_

StaticHyperLink

shl_

Tab

tab_

TreeView

tv_

User Object

uo_

VProgressBar

vpb_

VScrollBar

vsb_

VTrackBar

vtb_