Window.Expose Method | |
Provide a method that is invoked whenever part of the window needs repainting.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD Expose(
oExposeEvent
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual Expose(
Usual oExposeEvent = default
)
Request Example
View SourceParameters
- oExposeEvent (Optional)
- Type: Usual
The ExposeEvent object that describes which area of the window needs repainting.
Return Value
Type:
UsualThis method calls Window.Default() and returns the result of Window.Default()
Remarks Tip |
---|
Important! This is a callback method used by X#.
Normally, it should not be called in your application code.
|
This is one of the most important event handlers.
A window requires repainting when the window:
- Is partially uncovered by another window
- Is first shown
- Increases in size
- Is being restored after being iconized
- The window should retain enough information to redraw the screen as it was (or as it should be).
An ExposeEvent is also triggered by calling Repaint() or Update(); you should not call Repaint() or Update() during the Expose().
See Also