How Can We Help?
< All Topics
Print

Field WdgCallbacks

The callback events an object can raise.

Valid Values

An integer code combining the following values:

Code

Meaning

0

No callback events are raised.

1

When the object is modified (MODIFIED).

2

When a click is applied to the object (CLICK).

4

When a double-click is applied to the object (DOUBLECLICK).

8

When a right-click is applied to the object (RIGHTCLICK).

16

When an ActiveX object raises a callback event (ACTIVEX).

32

When a click occurs on the header of the object (HEADER).

64

When the object gets the focus (GOTFOCUS).

128

When the object loses focus (LOSTFOCUS).

256

When the object loses focus after being modified (LOSTFOCUSMODIFIED).

Remarks

Only resizable windows can have menus.

Example: If the object has to raise a GotFocus event and a Click event, the WdgCallbacks would contain (2 + 64) = 66.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish