Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: awt ::

struct WindowDescriptor
Description
describes a window.

Elements' Summary
Type specifies the type of window.  
WindowServiceName specifies the name of the component service.  
Parent specifies the parent of the component.  
ParentIndex specifies the index of the parent window, if available.  
Bounds specifies the position and size of the window.  
WindowAttributes specifies the window attributes.  
Elements' Details
Type
WindowClass Type;
Description
specifies the type of window.
WindowServiceName
string WindowServiceName;
Description
specifies the name of the component service.

A zero length name means that the vcl creates a blank top, a container, or a simple window. The following service names are defined:

  • buttondialog
  • cancelbutton
  • checkbox
  • combobox
  • control
  • currencybox
  • currencyfield
  • datebox
  • datefield
  • dialog
  • dockingarea
  • dockingwindow
  • edit
  • errorbox
  • fixedbitmap
  • fixedimage
  • fixedline
  • fixedtext
  • floatingwindow
  • framewindow
  • groupbox
  • helpbutton
  • imagebutton
  • imageradiobutton
  • infobox
  • listbox
  • longcurrencybox
  • longcurrencyfield
  • menubutton
  • messbox
  • metricbox
  • metricfield
  • modaldialog
  • modelessdialog
  • morebutton
  • multilistbox
  • numericbox
  • numericfield
  • okbutton
  • patternbox
  • patternfield
  • pushbutton
  • querybox
  • radiobutton
  • scrollbar
  • scrollbarbox
  • spinbutton
  • spinfield
  • splitter
  • splitwindow
  • statusbar
  • systemchildwindow
  • tabcontrol
  • tabdialog
  • tabpage
  • timebox
  • timefield
  • toolbox
  • tristatebox
  • warningbox
  • window
  • workwindow

Parent
XWindowPeer Parent;
Description
specifies the parent of the component.

If Parent == 0 && ParentIndex == -1, then the window is on the desktop.

ParentIndex
short ParentIndex;
Description
specifies the index of the parent window, if available.

If Parent == 0 and this struct is a member of an array, then this is the offset from the beginning of the array to the parent. A value of -1 means desktop.

Bounds
Rectangle Bounds;
Description
specifies the position and size of the window.

This member is ignored if the window attribute is WindowAttribute::FULLSIZE.

WindowAttributes
long WindowAttributes;
Description
specifies the window attributes.

Use one value out of the constant group WindowAttribute.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.