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.
- 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
- 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
Some useful global functions for this class:
- ShowModalWithinThreadSafeMBS(extends theMessageDialog as MessageDialog, parent as DesktopWindow)
Some methods using this class:
- CGWindowMBS.GetWindowID(w as DesktopWindow) as integer
- ContinuityCameraMBS.Import(index as Integer, Win as DesktopWindow)
- DynaPDFMBS.PrintPDFPageWithDialog(PageNumber as Integer, DocName as string, Flags as Integer, Margin as DynaPDFRectMBS, PrintParams as DynaPDFPrintParamsMBS, parentWindow as DesktopWindow) as Boolean
- GammaFadeMBS.Constructor(mainwindow as DesktopWindow)
- GTKWindowMBS.Constructor(win as DesktopWindow)
- NSPageLayoutMBS.beginSheetWithPrintInfo(printInfo as NSPrintInfoMBS, win as DesktopWindow)
- WindowsBlueToothDeviceInfoMBS.DisplayDeviceProperties(parentWindow as DesktopWindow) as boolean
- WindowsBurnMBS.CDBurn(hostwindow as DesktopWindow)
- WindowsDropTargetMBS.AttachToWindow(win as DesktopWindow, showDragImage as boolean = true) as integer
- WindowsMonitorMBS.MonitorFromWindow(win as DesktopWindow, flags as integer = 0) as WindowsMonitorMBS
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.
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