Platforms to show: All Mac Windows Linux Cross-Platform
DesktopWindow class
| Type | Topic | Version |
| class | Window | 21.5 |
In Xojo 2005 and newer you need to use self. in front of the method as the propertyname alone is not accepted.
- 29 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 WindowDisplayAffinityMBS as Integer
- property WindowProxyIconFileMBS as folderitem
- property WinMenuHandleMBS as integer
- property WinTopMostWindowMBS as boolean
- 36 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 InvalidateShadowMBS
- method IsFullScreenMBS as Boolean
- method MakeTransparentMBS as integer
- method NSPanelMBS as NSPanelMBS
- method NSToolbarMBS as NSToolbarMBS
- method NSWindowMBS as NSWindowMBS
- method RefreshThreadSafeMBS(immediately As Boolean = False)
- method RefreshThreadSafeMBS(X As Integer, Y As Integer, Width As Integer, Height As Integer, immediately As Boolean = False)
- 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
Release notes
- Version 22.1
- Added Constructor for NSWindowMBS taking DesktopWindow.
- 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.
Some useful global functions for this class:
- ShowModalWithinThreadSafeMBS(extends theMessageDialog as MessageDialog, parent as DesktopWindow)
Some methods using this class:
- DirectShowBaseFilterMBS.ShowPropertyDialog(parent as DesktopWindow, x as integer = 0, y as integer = 0, title as string = "")
- IOBluetoothServiceBrowserControllerMBS.beginSheetModalForWindow(win as DesktopWindow, tag as variant = nil)
- MapiMessageMBS.SendMail(parent as DesktopWindow, SendFlags as Integer, Threaded as Boolean) as integer
- MFPMediaPlayerMBS.Constructor(URL as String, StartPlayback as Boolean, win as DesktopWindow)
- StoreKit2MBS.PurchaseProduct(ProductIdentifier as String, parentWindow as DesktopWindow, PurchaseOptions as Dictionary, completed as PurchaseProductCompletedMBS = nil)
- UIAutomationMBS.ElementFromWindow(win as DesktopWindow) as UIAutomationElementMBS
- WIAItemMBS.DeviceDialog(Flags as integer, Win as DesktopWindow, FolderName as string, Filename as string, paths() as string, items() as WIAItemMBS)
- WIAItemMBS.DeviceDialog(Win as DesktopWindow, Flags as integer, Intent as integer) as WIAItemMBS()
- WindowsAVIWriteMBS.SetOptions(ParentWindow as DesktopWindow) as boolean
- WindowsStoreContextMBS.Constructor(Parent as DesktopWindow)
Some related classes:
- class CGContextMBS
- class ChromiumBrowserMBS
- class GTKWindowMBS
- class MFPMediaPlayerMBS
- class TaskDialogMBS
- class WIAItemMBS
- class WindowsFontDialogMBS
- class WindowsPageSetupDialogMBS
- class WindowsPrintDialogMBS
- class WindowsShortCutMBS
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.
DesktopUpDownArrows - DigestMBS