System messages

The following table lists the supported system messages.

Table 235. 

Object/Control

Event ID

System Event using the ID

All

pbm_constructor

Constructor

pbm_destructor

Destructor

pbm_keydown

Key

Controls and windows

pbm_rbuttondown

RButtonDown

Window

pbm_activate

Activate

pbm_close

Close

pbm_closequery

CloseQuery

pbm_deactivate

Deactivate

pbm_dragdrop

DragDrop

pbm_dragenter

DragEnter

pbm_dragleave

DragLeave

pbm_dragwithin

DragWithin

pbm_hidewindow

Hide

pbm_lbuttonclk

Clicked

pbm_lbuttondblclk

DoubleClicked

pbm_lbuttondown

MouseDown

pbm_lbuttonup

MouseUp

pbm_mousemove

MouseMove

pbm_open

Open

pbm_showwindow

Show

pbm_size

Resize

pbm_timer

Timer

CheckBox, CommandButton, Picture PictureButton, RadioButton, StaticText

pbm_bnclicked

Clicked

pbm_bndragdrop

DragDrop

pbm_bndragenter

DragEnter

pbm_bndragleave

DragLeave

pbm_bndragwithin

DragWithin

pbm_bnkillfocus

LoseFocus

pbm_bnsetfocus

GetFocus

DropDownList​Box/DropDownPicture​ListBox

pbm_cbnkillfocus

LoseFocus

pbm_cbnmodified

Modified

pbm_cbnselchange

SelectionChanged

pbm_cbnsetfocus

GetFocus

DataWindow, DataStore

pbm_dwnchanging

EditChanged

pbm_dwnbuttonclicked

ButtonClicked

pbm_dwnbuttonclicking

ButtonClicking

pbm_dwndragdrop

DragDrop

pbm_dwndragenter

DragEnter

pbm_dwndragleave

DragLeave

pbm_dwndragwithin

DragWithin

pbm_dwndberror

DBError

pbm_dwnhscroll

ScrollHorizontal

pbm_dwnitemchange

ItemChanged

pbm_dwnitemchangefocus

ItemFocusChanged

pbm_dwnitemvalidationerror

ItemError

pbm_dwnkillfocus

LoseFocus

pbm_dwnlbuttonclk

Clicked

pbm_dwnlbuttondblclk

DoubleClicked

pbm_dwnrbuttondown

RButtonDown

pbm_dwnresize

Resize

pbm_dwnretrieveend

RetrieveEnd

pbm_dwnretrievestart

RetrieveStart

pbm_dwnrowchange

RowFocusChanged

pbm_dwnrowchanging

RowFocusChanging

pbm_dwnsetfocus

GetFocus

pbm_dwnupdateend

UpdateEnd

pbm_dwnupdatestart

UpdateStart

SingleLineEdit, EditMask, MultiLineEdit, StaticText

pbm_endragdrop

DragDrop

pbm_endragenter

DragEnter

pbm_endragleave

DragLeave

pbm_endragwithin

DragWithin

pbm_enkillfocus

LoseFocus

pbm_enmodified

Modified

pbm_ensetfocus

GetFocus

OLEControl

(none)

Clicked

(none)

PropertyChanged

(none)

PropertyRequestEdit

pbm_omnclose

Close

pbm_constructor

Constructor

pbm_doubleclick

DoubleClicked

pbm_omndragdrop

DragDrop

pbm_omndragenter

DragEnter

pbm_omndragleave

DragLeave

pbm_omndragwithin

DragWithin

pbm_omnrename

Rename

pbm_omnsave

Save

pbm_omnsaveobject

SaveObject

pbm_omnviewchange

ViewChange

HScrollBar, HTrackBar, VScrollBar, VTrackBar

pbm_sbndragdrop

DragDrop

pbm_sbndragenter

DragEnter

pbm_sbndragleave

DragLeave

pbm_sbndragwithin

DragWithin

pbm_sbnlinedown

LineDown, LineRight

pbm_sbnlineup

LineLeft, LineUp

pbm_sbnthumbtrack

Moved

pbm_sbnpagedown

PageDown, PageRight

pbm_sbnpageup

PageLeft, PageUp

ListBox, PictureListBox

pbm_lbndblclk

DoubleClicked

pbm_lbndragdrop

DragDrop

pbm_lbndragenter

DragEnter

pbm_lbndragleave

DragLeave

pbm_lbndragwithin

DragWithin

ListView

pbm_lvnbegindrag

BeginDrag

pbm_lvnbeginlabeledit

BeginLabelEdit

pbm_lvnbeginrightdrag

BeginRightDrag

pbm_lvncolumnclick

ColumnClick

pbm_lvnclicked

Clicked

pbm_lvndeleteallitems

DeleteAllItems

pbm_lvndeleteitem

DeleteItem

pbm_lvndoubleclicked

DoubleClicked

pbm_lvndragdrop

DragDrop

pbm_lvndragenter

DragEnter

pbm_lvndragleave

DragLeave

pbm_lvndragwithin

DragWithin

pbm_lvnendlabeledit

EndLabelEdit

pbm_lvnsetfocus

GetFocus

pbm_lvnitemchanging

ItemChanging

pbm_lvnkillfocus

LoseFocus

pbm_lvnrclicked

RightClicked

pbm_lvnrdoubleclicked

RightDoubleClicked

Tab

pbm_tcnclicked

Clicked

pbm_tcndoubleclicked

DoubleClicked

pbm_tcnrclicked

RightClicked

pbm_tcnrdoubleclicked

RightDoubleClicked

pbm_tcndragdrop

DragDrop

pbm_tcndragenter

DragEnter

pbm_tcndragleave

DragLeave

pbm_tcndragwithin

DragWithin

pbm_tcnsetfocus

GetFocus

pbm_tcnselchanging

SelectionChanging

TreeView

pbm_tvnbegindrag

BeginDrag

pbm_tvnbeginlabeledit

BeginLabelEdit

pbm_tvnbeginrightdrag

BeginRightDrag

pbm_tvnclicked

Clicked

pbm_tvndeleteitem

DeleteItem

pbm_tvndoubleclicked

DoubleClicked

pbm_tvndragdrop

DragDrop

pbm_tvndragenter

DragEnter

pbm_tvndragleave

DragLeave

pbm_tvndragwithin

DragWithin

pbm_tvnitemexpanded

ItemExpanded

pbm_tvnitemexpanding

ItemExpanding

pbm_tvnitempopulate

ItemPopulate

pbm_tvnkillfocus

LoseFocus

pbm_tvnselchanged

SelectionChanged

pbm_tvnselchanging

SelectionChanging

pbm_tvnsetfocus

GetFocus

pbm_tvnrclicked

RightClicked

pbm_tvnendlabeledit

EndLabelEdit

Application

(None)

Open

(None)

Close

(none)

Idle

User Object

pbm_uondragdrop

DragDrop

pbm_uondragenter

DragEnter

pbm_uondragleave

DragLeave

pbm_uondragwithin

DragWithin

Menu

(None)

Clicked

(None)

Selected


Unsupported

The following table lists the unsupported system messages for the supported system objects/controls:

Table 236. 

Object/Control

Event ID

System Event using the ID

Controls and windows

pbm_other

Other

Window

pbm_help

Help

pbm_ddedata

HotLinkAlarm

pbm_ddeexecute

RemoteExec

pbm_ddeadvise

RemoteHotLinkStart

pbm_ddeunadvise

RemoteHotLinkStop

pbm_dderequest

RemoteRequest

pbm_ddepoke

RemoteSend

pbm_syskeydown

SystemKey

pbm_tbnmoved

ToolbarMoved

DataWindow, DataStore

(none)

Error

pbm_dwnretrieverow

RetrieveRow

pbm_dwnvscroll

ScrollVertical

ListView

pbm_lvnitemactivate

ItemActivate

pbm_lvnsort

Sort

Application

(none)

IdleSystemError

OLEControl

(none)

Error

(none)

ExternalException

pbm_help

Help

pbm_other

Other