leocad/win/Tools.h

15 lines
446 B
C
Raw Normal View History

2011-09-07 23:06:51 +02:00
///////////////////////////////////////
// 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_