summaryrefslogtreecommitdiff
path: root/win/Tools.h
blob: 21cd8c83f826bdd8737ac31972d2045fd1e74288 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
///////////////////////////////////////
// Miscelaneous Helper Functions

#ifndef _TOOLS_H_
#define _TOOLS_H_

BOOL CreateRGBPalette(HDC hdc, CPalette **ppCPalette);
BOOL FolderBrowse(CString *strFolder, LPCSTR lpszTitle, HWND hWndOwner);
HANDLE MakeDib(HBITMAP hbitmap, UINT bits);
HBITMAP CreateColorBitmap (UINT cx, UINT cy, COLORREF cr);

UINT APIENTRY PrintHookProc(HWND hdlg, UINT uiMsg, WPARAM wParam, LPARAM lParam);

#endif // _TOOLS_H_