BCGSuite for MFC
CBCGPGlobalUtils

Detailed Description

The CBCGPGlobalUtils class is a static class that provides a set of various global services.

Public Member Functions

 EnableEditCtrlAutoCompleteEnables or disables the shell autocomplete list for the specified edit control.
 
 GetDpiForWindowReturns the DPI (Dots Per Pixel) value for the specified window.
 
 GetFontBoldReturns a bold font for the given DPI (Dots Per Inch) specified by the window.
 
 GetFontRegularReturns a regular font for the given DPI (Dots Per Inch) specified by the window.
 
 GetIconSizeReurns a size of the specified icon.
 
 GetSystemMetricsForDPIThe standard Windows GetSystemMetricsForDPI method wrapper.
 
 GetWndIconReturns window icon.
 
 GrayIconReturns grayed out icon.
 
 ScaleByDPIReturns the value scaled by the DPI (Dots Per Pixel) of the specified window.
 
 ScaleByDPIReturns the value scaled by the DPI (Dots Per Pixel) of the specified window.
 
 ScaleByDPIReturns the value scaled by the DPI (Dots Per Pixel) of the specified window.
 
 ScaleByDPIReturns the value scaled by the DPI (Dots Per Pixel) of the specified window.
 
 ScaleByDPIReturns the size scaled by the DPI (Dots Per Pixel) of the specified window.
 
 ScaleByDPIReturns the rectangle scaled by the DPI (Dots Per Pixel) of the specified window.
 
 ScaleByDPIReturns the size scaled by the DPI (Dots Per Pixel) of the specified window.
 
 ScaleByDPIReturns the rectangle scaled by the DPI (Dots Per Pixel) of the specified window.
 
 ScaleByDPIScales the image list by the DPI (Dots Per Pixel) of the specified window.
 
 ScaleByDPIReturns the icon scaled by the DPI (Dots Per Pixel) of the specified window.
 
 ScaleByDPIScales the visual container by the DPI (Dots Per Pixel) of the specified window.