ExposeEvent Class |
Namespace: VO
The ExposeEvent type exposes the following members.
Name | Description | |
---|---|---|
ExposeEvent | Initializes a new instance of the ExposeEvent class |
Name | Description | |
---|---|---|
ExposedArea |
A bounding box—in canvas coordinates—representing the exposed area that caused this expose event.
Use this method to optimize your repainting routines so that they paint only the area which requires refreshing.
| |
Handle |
The pointer to the window where the event occurred
(Inherited from Event.) | |
Message |
A dword representing the Windows API message associated with the given event.
(Inherited from Event.) | |
Window |
An object indicating the window or control in which the event occurred. This is helpful, for example, for distinguishing between similar menu events coming from the same context menu attached to different controls.
(Inherited from Event.) |
Name | Description | |
---|---|---|
hWnd | (Inherited from Event.) | |
lParam | (Inherited from Event.) | |
oWindow | (Inherited from Event.) | |
uMsg | (Inherited from Event.) | |
wParam | (Inherited from Event.) |
1METHOD Expose(oEE) CLASS MyWindow 2LOCAL oBB AS BOUNDINGBOX 3oBB := oEE:ExposedArea 4IF oBB:Bottom() < 20 5SELF:TextPrint("In the 20's",Point{0,20}) 6ENDIF 7IF oBB:Bottom() > 40 8SELF:TextPrint("In the 40's",Point{0,40}) 9ENDIF