BCGControlBar Library for .NET
GlobalUtils Class Members
Methods 


The following tables list the members exposed by GlobalUtils.

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)AdjustRectToWorkingAreaCalled by the framework to specify the size and location of the popup menu on tracking and showing customize menu. This function is used to place a popup menu within the screen.  
Public Methodstatic (Shared in Visual Basic)AlignRectToRectCalled by the framework on tracking any control. Returns the rectangle to dock the control.  
Public Methodstatic (Shared in Visual Basic)AlignRectToRectByTextFormatFlags  
Public Methodstatic (Shared in Visual Basic)AlignRectToRectInnerCalled by the framework on tracking any control. Returns the rectangle to dock the control to the inner edge.  
Public Methodstatic (Shared in Visual Basic)AlignRectToRectOuterOverloaded. Called by the framework on tracking any control. Returns the rectangle to dock the control to the outer edge.  
Public Methodstatic (Shared in Visual Basic)ConstructControlRendererParams  
Public Methodstatic (Shared in Visual Basic)CopyBitmapToClipboardCreates a copy of the specified bitmap using transparent color before placing it to the clipboard.  
Public Methodstatic (Shared in Visual Basic)CreateBitmap_32  
Public Methodstatic (Shared in Visual Basic)CreateClearTypeFontOverloaded.   
Public Methodstatic (Shared in Visual Basic)CreateHBitmapCreates a handle to the specified bitmap.  
Public MethodDisposeOverloaded.   
Public Methodstatic (Shared in Visual Basic)DockEdgeFromDockStyleTranslates DockStyle value to the corresponding DockEdge.  
Public Methodstatic (Shared in Visual Basic)DockStyleFromDockEdgeTranslates DockEdge value to the corresponding DockStyle.  
Public Methodstatic (Shared in Visual Basic)DrawGlassText  
Public Methodstatic (Shared in Visual Basic)EdgeFromHitTestTranslates BCGHitTest value to the corresponding DockEdge.  
Public Methodstatic (Shared in Visual Basic)EnableFormAero  
Public Methodstatic (Shared in Visual Basic)ExcludeRectangleCalled by the framework on calculating the layout of the docked control. Excludes a specified rectangle from the boundaries of the docked control according to its DockStyle.  
Public Methodstatic (Shared in Visual Basic)ExtendGlassIntoClientArea  
Public Methodstatic (Shared in Visual Basic)ForwardMouseMessageSends the mouse message to the top level control from the control clicked by mouse.  
Public Methodstatic (Shared in Visual Basic)GetBorderSizeReturns the size of the border for the specified form according to its border style.  
Public Methodstatic (Shared in Visual Basic)GetCaptionButtonSizeReturns the size of the caption button for the specified form according to its border style.  
Public Methodstatic (Shared in Visual Basic)GetCaptionHeightReturns the height of the caption for the specified form according to its border style.  
Public Methodstatic (Shared in Visual Basic)GetCaptionRectGets the size and location of the caption area  for the specified form according to its border style and its window state.  
Public Methodstatic (Shared in Visual Basic)GetOppositeEdgeGets the opposite dock edge for the specified dock edge.  
Public Methodstatic (Shared in Visual Basic)GetScreenBoundsReturns a screen for the display that contains the upper-left corner of the specified rectangle. Called by the framework to place the popup menu within its screen.  
Public Methodstatic (Shared in Visual Basic)GetScreenRectComputes the size and location of the specified control in screen coordinates.  
Public Methodstatic (Shared in Visual Basic)GetSystemBorders  
Public Methodstatic (Shared in Visual Basic)HasMaximizeBoxGets a value indicating whether the Maximize button is displayed in the caption bar of the form.  
Public Methodstatic (Shared in Visual Basic)HasMinimizeBoxGets a value indicating whether the Minimize button is displayed in the caption bar of the form.  
Public Methodstatic (Shared in Visual Basic)HasSysMenuIndicates a value whether a system menu should be displayed for the specified form.  
Public Methodstatic (Shared in Visual Basic)IndexToDockEdgeOverloaded. Gets a dock edge from a specified index.  
Public Methodstatic (Shared in Visual Basic)IsCompositionEnabledTells whether composition is enabled.  
Public Methodstatic (Shared in Visual Basic)IsControlDockableIndicates a value if the specified control can be docked.  
Public Methodstatic (Shared in Visual Basic)IsInstanceOfTypeOverloaded. Determines whether the specified object is an instance of the specified type or it is a descendant of the object of the specified type.  
Public Methodstatic (Shared in Visual Basic)IsPointNearEdgeCalled by the framework on searching the nearest dock bar. Indicates a value if the specified point is located near any dock edge.  
Public Methodstatic (Shared in Visual Basic)ReadBoolValueCalled by the framework to read boolean value from the specified XML node.  
Public Methodstatic (Shared in Visual Basic)ReadColorValueCalled by the framework to read color value from the specified XML node.  
Public Methodstatic (Shared in Visual Basic)ReadImageListEx  
Public Methodstatic (Shared in Visual Basic)RenumberTextSplits a string into some words and place a number at  every word.  
Public Methodstatic (Shared in Visual Basic)SDKDrawImage  
Public Methodstatic (Shared in Visual Basic)SDKDrawImage2  
Public Methodstatic (Shared in Visual Basic)SendNCMessagePosts the specified mouse message to the non-client area of the window from the specified handle.  
Public Methodstatic (Shared in Visual Basic)ShortcutToStringCalled by the framework to write a shortcut near the command. Translates the shortcut object to its string appearance.  
Public Methodstatic (Shared in Visual Basic)ShowSystemMenu  
Public Methodstatic (Shared in Visual Basic)SplitTextByWidth  
Public Methodstatic (Shared in Visual Basic)StringToColorCalled by the framework on reading color value from the XML file. Gets a color value from its string appearance.  
Public Methodstatic (Shared in Visual Basic)StringToPaddingCalled by the framework on reading padding value from the XML file. Gets a padding value from its string appearance.  
Public Methodstatic (Shared in Visual Basic)StringToRectCalled by the framework on reading rectangle value from the XML file. Gets a rectangle value from its string appearance.  
Public Methodstatic (Shared in Visual Basic)StringToSizeCalled by the framework on reading size value from the XML file. Gets a size value from its string appearance.  
Public Methodstatic (Shared in Visual Basic)TextFormatFlagsToStringFormat  
Top
See Also

Reference

GlobalUtils Class
BCGSoft.Shared Namespace

Send Feedback