OWLNext 6.32
Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Protected Attributes | Friends
owl::TCommCtrlDll Class Reference

Actual TModule derivative that wraps the common control DLL, implements delay loading and delay function banding. More...

#include <commctrl.h>

Inheritance diagram for owl::TCommCtrlDll:
owl::TModule owl::TStreamableBase

List of all members.

Public Member Functions

void InitCommonControls ()
bool GetCtrlVersion (TDllVersionInfo &info)
uint32 GetCtrlVersion ()

Static Public Member Functions

static bool InitCommonControlsEx (uint32 type)
static void CheckCommonControl (uint32 type)
static bool InitializeFlatSB (HWND hWnd)
static HRESULT UninitializeFlatSB (HWND hWnd)
static bool FlatSB_EnableScrollBar (HWND, int, uint)
static bool FlatSB_ShowScrollBar (HWND, int, bool)
static bool FlatSB_GetScrollInfo (HWND, int, LPSCROLLINFO)
static int FlatSB_SetScrollInfo (HWND, int, LPSCROLLINFO, bool)
static int FlatSB_GetScrollPos (HWND, int)
static int FlatSB_SetScrollPos (HWND, int, int, bool)
static bool FlatSB_GetScrollProp (HWND, uint, int *)
static bool FlatSB_SetScrollProp (HWND, uint, int, bool)
static bool FlatSB_GetScrollRange (HWND, int, int *, int *)
static int FlatSB_SetScrollRange (HWND, int, int, int, bool)
static HIMAGELIST ImageList_Read (LPSTREAM pstm)
static bool ImageList_Write (HIMAGELIST himl, LPSTREAM pstm)
static bool ImageList_Copy (HIMAGELIST himlDst, int iDst, HIMAGELIST himlSrc, int iSrc, uint uFlags)
static HIMAGELIST ImageList_Duplicate (HIMAGELIST himl)
static bool ImageList_DrawIndirect (IMAGELISTDRAWPARAMS *pimldp)
static bool ImageList_SetImageCount (HIMAGELIST himl, uint uNewCount)
static int ImageList_AddMasked (HIMAGELIST, HBITMAP, COLORREF)
static bool ImageList_BeginDrag (HIMAGELIST miml, int track, int dxHot, int dyHot)
static void ImageList_EndDrag ()
static bool ImageList_DragEnter (HWND hLock, int x, int y)
static bool ImageList_DragLeave (HWND hLock)
static bool ImageList_DragMove (int x, int y)
static bool ImageList_SetDragCursorImage (HIMAGELIST himl, int drag, int dxHot, int dyHot)
static bool ImageList_DragShowNolock (bool show)
static HIMAGELIST ImageList_GetDragImage (POINT *ppt, POINT *pptHotSpot)
static bool ImageList_DrawEx (HIMAGELIST himl, int i, HDC hdcDst, int x, int y, int dx, int dy, COLORREF rgbBk, COLORREF rgbFg, UINT fStyle)
static bool ImageList_GetIconSize (HIMAGELIST himl, int *cx, int *cy)
static HICON ImageList_GetIcon (HIMAGELIST himl, int i, uint flags)
static bool ImageList_GetImageInfo (HIMAGELIST himl, int i, IMAGEINFO *pImageInfo)
static bool ImageList_Replace (HIMAGELIST himl, int i, HBITMAP hbmImage, HBITMAP hbmMask)
static bool ImageList_Remove (HIMAGELIST himl, int i)
static HIMAGELIST ImageList_LoadImage (HINSTANCE hi, LPCTSTR lpbmp, int cx, int cGrow, COLORREF crMask, uint uType, uint uFlags)
static HIMAGELIST ImageList_Merge (HIMAGELIST himl1, int i1, HIMAGELIST himl2, int i2, int dx, int dy)
static bool ImageList_SetIconSize (HIMAGELIST himl, int cx, int cy)
static HBITMAP CreateMappedBitmap (HINSTANCE hInstance, int idBitmap, uint wFlags, LPCOLORMAP lpColorMap, int iNumMaps)
static HPROPSHEETPAGE CreatePropertySheetPage (LPCPROPSHEETPAGE lpPage)
static HWND CreateStatusWindow (long style, LPCTSTR lpszText, HWND hwndParent, uint wID)
static HWND CreateToolbarEx (HWND hwnd, DWORD ws, UINT wID, int nBitmaps, HINSTANCE hBMInst, UINT wBMID, LPCTBBUTTON lpButtons, int iNumButtons, int dxButton, int dyButton, int dxBitmap, int dyBitmap, UINT uStructSize)
static HWND CreateUpDownControl (DWORD dwStyle, int x, int y, int cx, int cy, HWND hParent, int nID, HINSTANCE hInst, HWND hBuddy, int nUpper, int nLower, int nPos)
static bool DestroyPropertySheetPage (HPROPSHEETPAGE)
static void DrawInsert (HWND handParent, HWND hLB, int nItem)
static void DrawStatusText (HDC hDC, LPRECT lprc, LPCTSTR pszText, uint uFlags)
static void GetEffectiveClientRect (HWND hWnd, LPRECT lprc, int *lpInfo)
static HIMAGELIST ImageList_Create (int cx, int cy, uint flags, int cInitial, int cGrow)
static bool ImageList_Destroy (HIMAGELIST himl)
static int ImageList_GetImageCount (HIMAGELIST himl)
static int ImageList_Add (HIMAGELIST himl, HBITMAP hbmImage, HBITMAP hbmMask)
static int ImageList_ReplaceIcon (HIMAGELIST himl, int i, HICON hicon)
static COLORREF ImageList_SetBkColor (HIMAGELIST himl, COLORREF clrBk)
static COLORREF ImageList_GetBkColor (HIMAGELIST himl)
static bool ImageList_SetOverlayImage (HIMAGELIST himl, int iImage, int iOverlay)
static bool ImageList_Draw (HIMAGELIST himl, int i, HDC hdcDst, int x, int y, uint fStyle)
static int LBItemFromPt (HWND hLB, POINT pt, bool bAutoScroll)
static bool MakeDragList (HWND hLB)
static void MenuHelp (uint uMsg, WPARAM wParam, LPARAM lParam, HMENU hMainMenu, HINSTANCE hInst, HWND hwndStatus, uint *lpwIDs)
static int PropertySheet (LPCPROPSHEETHEADER hHeader)
static bool ShowHideMenuCtl (HWND hWnd, uint uFlags, int *lpInfo)

Static Protected Member Functions

static TCommCtrlDllGetModule ()

Protected Attributes

uint32 Version

Friends

class TCommCtrl

Detailed Description

Actual TModule derivative that wraps the common control DLL, implements delay loading and delay function banding.

The TCommCtrlDll class encapsulates the Common Control DLL (COMCTL32.DLL). It provides an easy method to dynamically test for the availability of the DLL and bind to its exported functions at runtime. By using the TCommCtrlDll class instead of direct calls to the Common Control DLL, ObjectWindows applications can provide the appropriate behavior when running in an environment where the DLL is not available.

Each data member of the TCommCtrlDll class corresponds to the API with a similar name exposed by the Common Control DLL. For example, TCommCtrlDll::InitCommonControls corresponds to the InitCommonControls API exported by the Common Control DLL.


The documentation for this class was generated from the following files: