Click or drag to resize

AppWindow Class

X#
Provide the base class from which all X# application windows are subclassed.
Inheritance Hierarchy
Object
  VObject
    EventContext
      Window
        AppWindow
          ChildAppWindow
          ShellWindow
          TopAppWindow

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.24 GA
Syntax
 CLASS AppWindow INHERIT Window
Request Example View Source

The AppWindow type exposes the following members.

Constructors
  NameDescription
Public methodAppWindow
Construct an application window.
Top
Properties
  NameDescription
Public propertyQuitOnClose
A logical value. If set to TRUE, quits the application when this (main) window is closed. The default value is FALSE.
Public propertyStatusBar
The status bar currently associated with an application window. If none is associated, the status bar of the owner window is returned. If there is no status bar in the ownership hierarchy, NIL is returned.
Top
Methods
  NameDescription
Public methodDefault
Call the default windows procedure for a window and set the EventReturnValue for the object.
(Overrides Default(Usual).)
Public methodDestroy
Provide a method to free memory resources allocated for an AppWindow object and its derived objects.
(Overrides Destroy.)
Public methodDispatch
Provide the dispatcher for events within the system when the window has focus; routing various events to their appropriate event handlers.
(Overrides Dispatch(Usual).)
Public methodEnableBorder
Set the border style for an application window.
Public methodCode exampleEnableHorizontalScroll
Enable/disable a window horizontal scroll bar in an application window.
Public methodEnableMaxBox
Enable/disable a maximize box in an application window.
Public methodEnableMinBox
Enable/disable a minimize box in an application window.
Public methodCode exampleEnableOleDropTarget
Register the window as an OLE drop target.
Public methodEnableStatusBar
Enable/disable a status bar in an application window.
Public methodCode exampleEnableSystemMenu
Enable/disable a system menu in an application window.
Public methodEnableToolBar
Enable/disable a toolbar in an application window.
Public methodCode exampleEnableVerticalScroll
Enable/disable a window vertical scroll bar in an application window.
Public methodEndWindow
Remove this application window from view (passing control back to the routine which created the application window).
Public methodErrorMessage
Display a message in an error box.
Public methodOLEDragEnter
Called whenever the mouse enters the window's client area during a drag and drop operation.
Public methodOLEDragLeave
Called whenever the mouse leaves the window's client area during a drag and drop operation.
Public methodOLEDragOver
Called whenever the mouse moves within the window's client area during a drag and drop operation.
Public methodCode exampleOLEDrop
Called whenever the mouse is released within the window's client area during a drag and drop operation.
Public methodCode exampleOLEInPlaceActivate
Called whenever a child OLE object is about to be "inplace" activated.
Public methodCode exampleOLEInPlaceDeactivate
Called whenever a child OLE object is about to be "inplace" deactivated.
Public methodReportException
This is a compatibility method that is no longer used or needed.
Public methodCode exampleReportNotification
Called by ReportQueue when it has a message for the owner window.
Public methodShow
Display a window.
(Overrides Show(Usual).)
Public methodStatusMessage
Display a message in an application window's status bar.
(Overrides StatusMessage(Usual, Usual).)
Public methodWarningMessage
Display a message in an warning box.
Top
Remarks
Use the methods of the AppWindow class to customize the appearance of top, shell, and child application windows (for example, the display of border styles, the system menu, or icons).
See Also

Reference