Click or drag to resize

VOWinFormApp Class

X#
Special App class to is used when hosting Windows Forms Forms in a VO GUI hierarchy
Inheritance Hierarchy
Object
  VObject
    App
      VOWinFormApp

Namespace:  XSharp
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax
 CLASS VOWinFormApp INHERIT App
Request Example View Source

The VOWinFormApp type exposes the following members.

Constructors
  NameDescription
Public methodVOWinFormApp
Initializes a new instance of the VOWinFormApp class
Top
Methods
  NameDescription
Public methodBeforeDispatch
Public methodDestroy
Free memory resources allocated for a VObject object and its derived objects.
(Inherited from VObject.)
Public methodExec
Start the event handling loop for the application.
(Inherited from App.)
Public methodGetAccel
This method returns the handle for the current active Accelerator Table.
(Inherited from App.)
Public methodGetAccelWindow
This method gets the handle to the window for which accelerators must be translated.
(Inherited from App.)
Public methodGetDialogWindow
This method gets the handle active Dialog window for which Dialog keys must be handled
(Inherited from App.)
Public methodGetMdiClientWindow
This method gets the handle to the MDI Clientwindow on the active ShellWindow.
(Inherited from App.)
Public methodHandle
Return the handle for an application.
(Inherited from App.)
Public methodQuit
Terminate the application by instructing the application to close itself.
(Inherited from App.)
Public methodRegisterWinForm
Register a windows forms form. This method is automatically called from the ChildWinForm:WinForm property
Public methodRun
Invoke and execute a specified command.
(Inherited from App.)
Public methodSetAccel
This method sets the handle for the current active Accelerator Table (belonging to the active menu).
(Inherited from App.)
Public methodSetAccelWindow
This method sets the window for which accelerators must be translated.
(Inherited from App.)
Public methodSetDialogWindow
This method sets the handle active Dialog window for which Dialog keys must be handled
(Inherited from App.)
Public methodSetMdiClientWindow
This method sets the handle to the MDI Clientwindow on the active ShellWindow.
(Inherited from App.)
Public methodUnRegisterWinForm
UnRegister a windows forms form. This method is automatically called from the ChildWinForm:Close() method.
Top
Fields
  NameDescription
Public fieldoCargo
Cargo slot.
(Inherited from VObject.)
Top
Remarks
This class is needed to make sure that all keyboard shortcuts are send to the Windows Forms window.
See Also