Platforms to show: All Mac Windows Linux Cross-Platform
Window class
Type | Topic | Version |
class | Window |
In Xojo 2005 and newer you need to use self. in front of the method as the propertyname alone is not accepted.
- 28 properties
- property CanBeVisibleWithoutLoginMBS as Boolean
- property CGColorSpaceMBS as CGColorSpaceMBS
- property collapsedMBS as boolean
- property FullScreenAuxiliaryMBS as Boolean
- property FullScreenPrimaryMBS as Boolean
- property HasborderMBS as boolean
- property HasCaptionMBS as Boolean
- property HasCloseBoxMBS as boolean
- property HasCollapseBoxMBS as boolean
- property HasMaximizeBoxMBS as boolean
- property HasMinimizeBoxMBS as boolean
- property HasNoShadowMBS as boolean
- property HasSystemMenuMBS as Boolean
- property HasToolbarButtonMBS as boolean
- property IgnoreClicksMBS as Boolean
- property IsIconicMBS as boolean
- property IsMetalWindowMBS as Boolean
- property IsResizableMBS as Boolean
- property IsZoomedMacMBS as boolean
- property IsZoomedMBS as boolean
- property ModifiedMBS as boolean
- property ToolbarVisibleMBS as boolean
- property TransparencyMBS as single
- property UnifiedTitleAndToolbarMBS as Boolean
- property WindowProxyIconFileMBS as folderitem
- property WinMenuHandleMBS as Integer
- property WinTopMostWindowMBS as boolean
- 38 methods
- method ActivateWindowMBS
- method BackingScaleFactorMBS as Double
- method CGContextMBS as CGContextMBS
- method CleanUpTransparentMBS(refValue as Integer)
- method ClearTransparencyMBS
- method CollapsableMBS as boolean
- method ConstrainWindowToScreenMBS(animate as boolean)
- method GTKWindow as GTKWindowMBS
- method HideKeyboardMBS
- method InvalidateRectThreadSafeMBS(X As Integer, Y As Integer, Width As Integer, Height As Integer, EraseBackground as boolean = true)
- method InvalidateShadowMBS
- method InvalidateThreadSafeMBS(EraseBackground as boolean = true)
- method IsFullScreenMBS as Boolean
- method MakeTransparentMBS as Integer
- method NSPanelMBS as NSPanelMBS
- method NSToolbarMBS as NSToolbarMBS
- method NSWindowMBS as NSWindowMBS
- method RefreshRectThreadSafeMBS(X As Integer, Y As Integer, Width As Integer, Height As Integer, EraseBackground as boolean = true)
- method RefreshThreadSafeMBS(EraseBackground as boolean = true)
- method RemoveWindowProxyIconMBS
- method ScreenshotWindowMBS as picture
- method ScreenshotWindowRectMBS(left as Integer, top as Integer, width as Integer, height as Integer) as picture
- method SetTransparencyMBS(value as Integer) as boolean
- method SetWindowFeedbackSettingMBS(Feedback as Integer, value as Variant) as Boolean
- method SetWindowIconMBS(Type as Integer, File as FolderItem, IconID as Integer) as Boolean
- method SetWindowIconMBS(Type as Integer, Icon as Picture, Mask as Picture) as Boolean
- method SetWindowMaskMBS(p as picture, redraw as Boolean, transparentColor as color) as Boolean
- method ShowHideToolbarMBS(animate as boolean, value as boolean)
- method ShowKeyboardMBS
- method SmoothResizeCenteredMBS(width as Integer,height as Integer)
- method SmoothResizeMBS(width as Integer,height as Integer)
- method ToggleFullScreenMBS as Boolean
- method UpdateNowMBS
- method UpdateNowRectMBS(left as Integer, top as Integer, width as Integer, height as Integer)
- method WinAnimateWindowMBS(Flags as Integer, Time as Integer=200) as boolean
- method WindowFeedbackSettingMBS(Feedback as Integer, byref value as boolean, IncludeAncestors as Boolean = false) as Boolean
- method WinFlashWindowMBS(Invert as boolean)
- method WinHideTooltipMBS as Integer
This class has no sub classes.
See also in the Xojo Language Reference
Some useful global functions for this class:
- CenterResizeAddWindowMBS(win as window)
- CenterResizeRemoveWindowMBS(win as window)
- GetWindowsVMStatisticsMBS as WindowsVMStatisticsMBS
- ShowModalWithinThreadSafeMBS(extends theMessageDialog as MessageDialog, parent as window)
Some methods using this class:
- Graphics.WindowsGraphicsInfoMBS as WindowsGraphicsInfoMBS
- WindowsBlueToothDeviceMBS.Services as WindowsBlueToothServiceMBS()
- WindowsBlueToothLEMBS.IncludedServices(ParentService as WindowsBlueToothLEServiceMBS, Flags as Integer = 0) as WindowsBlueToothLEServiceMBS()
- WindowsDeviceInformationPairingMBS.Constructor(other as WindowsDeviceInformationPairingMBS)
- WindowsGattDeviceServiceMBS.FromId(Id as String, sharingMode as Integer) as WindowsGattDeviceServiceMBS
- WindowsOCREngineMBS.RecognizeSync(Picture as Picture) as WindowsOCRResultMBS
- WindowsOCRResultMBS.Lines as WindowsOCRLineMBS()
- WindowsPrinterMBS.AdvancedDocumentProperties(InputDevMode as WindowsDeviceModeMBS, byref OutputDevMode as WindowsDeviceModeMBS, parent as window = nil) as Integer
- WindowsPrinterMBS.AllJobs as WindowsPrinterJobMBS()
- WindowsPrinterMBS.ConfigurePort(name as string = "", parent as window = nil, PortName as string = "") as boolean
Some properties using for this class:
- WindowsBluetoothLEDeviceMBS.Pairing as WindowsDeviceInformationPairingMBS
- WindowsDNSRecordMBS.AFSDB as WindowsDNSRecordMXMBS
- WindowsDNSRecordMBS.MD as WindowsDNSRecordPTRMBS
- WindowsEthernetAdapterMBS.DhcpServer as WindowsIPAddressMBS
- WindowsEthernetAdapterMBS.PrimaryWinsServer as WindowsIPAddressMBS
- WindowsGattCharacteristicMBS.Service as WindowsGattDeviceServiceMBS
- WindowsGattSessionMBS.DeviceId as WindowsBluetoothDeviceIdMBS
- WindowsOCREngineMBS.RecognizerLanguage as WindowsOCRLanguageMBS
- WindowsPDFPageDimensionsMBS.CropBox as WindowsPDFRectMBS
- WindowsPrinterInfoMBS.DevMode as WindowsDeviceModeMBS
Some events using this class:
- WindowsBluetoothLEDeviceMBS.GetGattServicesCompleted(asyncStatus as Integer, Result as WindowsGattDeviceServicesResultMBS)
- WindowsBlueToothSelectDeviceDialogMBS.DeviceFilter(device as WindowsBlueToothDeviceInfoMBS) as boolean
- WindowsGattCharacteristicMBS.DescriptorsCompleted(asyncStatus as Integer, Result as WindowsGattDescriptorsResultMBS)
- WindowsGattCharacteristicMBS.ValueChanged(args as WindowsGattValueChangedEventArgsMBS)
- WindowsGattCharacteristicMBS.WriteClientCharacteristicConfigurationDescriptorWithResultAsyncCompleted(asyncStatus as Integer, Result as WindowsGattWriteResultMBS)
- WindowsGattCharacteristicMBS.WriteValueWithResultAsyncCompleted(asyncStatus as Integer, Result as WindowsGattWriteResultMBS)
- WindowsGattDescriptorMBS.ReadValueAsyncCompleted(asyncStatus as Integer, Result as WindowsGattReadResultMBS)
- WindowsGattDescriptorMBS.WriteValueWithResultAsyncCompleted(asyncStatus as Integer, Result as WindowsGattWriteResultMBS)
- WindowsGattDeviceServiceMBS.CharacteristicsCompleted(asyncStatus as Integer, Result as WindowsGattCharacteristicsResultMBS)
- WindowsGattDeviceServiceMBS.IncludedServicesCompleted(asyncStatus as Integer, Result as WindowsGattDeviceServicesResultMBS)
Release notes
- Version 24.1
- Implemented IgnoreMouseClicks for Windows in OverlayMBS class. Allows mouse clicks to fall through to window behind.
- Version 23.2
- Added ShowKeyboardMBS and HideKeyboardMBS functions.
- Version 22.2
- Rewrote ScreenshotWindowRectMBS and ScreenshotWindowMBS functions to work again.
- Version 22.1
- Added search and replace window to Scintilla example project.
- Version 22.0
- Added 100 more methods for DesktopWindow instead of Window.
- Changed window properties to variant, so you can use DesktopWindow there for WindowsShortCutMBS, WindowsPrintDialogMBS, WindowsPageSetupDialogMBS, WindowsICMSetupMBS, WindowsBlueToothSelectDeviceDialogMBS, TwainMBS, TaskDialogMBS, OpenDialogMBS, DirectShowVideoWindowMBS, WindowsStoreContextMBS, WindowsFileCopyMBS, WindowsFontDialogMBS, WindowsPreviewHandlerMBS, WindowsStoreContextMBS, ParentChromiumFrameMBS and ChromiumBrowserMBS classes.
- Version 21.3
- Fixed an issue with IDE crashing when you have a PDFViewControlMBS on a container in a window.
- Version 21.1
- Added more constructors to WindowsGraphicsDeviceContextMBS class for picture, window and control.
- Version 20.1
- Changed WinBringProcessToTop method in RemoteControlMBS module to activate first window.
- Version 20.0
- Fixed problem with InvalidateThreadSafeMBS function, so we detect invalid windows better and discard the request.
The items on this page are in the following plugins: MBS Linux Plugin, MBS MacBase Plugin, MBS MacCG Plugin, MBS MacControls Plugin, MBS MacOSX Plugin, MBS Picture Plugin, MBS Util Plugin, MBS Win Plugin.
WinDataObjectMBS - WindowsAddPrintJobMBS