WindowProcedure Property

Home Page (Objects)OverviewFAQReference

Applies to: Breakpoint object

Gets the name of the Windows procedure that is being monitored for messages that will trigger breakpoints.

Syntax

object.WindowProcedure

Parameters

object

An expression that evaluates to an Breakpoint object.

Remarks

The WindowProcedure property has the String type and applies only to message breakpoints.

Example

The following example gets the name of the window procedure associated with the first breakpoint in the Breakpoints collection:

Dim bps
Dim win_name
Set bps = Debugger.Breakpoints
win_name = bps.Item(1).WindowProcedure