]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/msw/curico.h
fixed default button handling: don't keep BS_DEFPUSHBUTTON style when the app loses...
[wxWidgets.git] / include / wx / msw / curico.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: curico.h
3// Purpose: Icon and cursor functions
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_CURICO_H_
13#define _WX_CURICO_H_
14
15HICON ReadIconFile( wxChar *szFileName, HINSTANCE hInst,
16 int *W = 0, int *H = 0);
17HCURSOR ReadCursorFile( wxChar *szFileName, HINSTANCE hInst,
18 int *W = 0, int *H = 0, int *XHot = 0, int *YHot = 0);
19HCURSOR IconToCursor( wxChar *szFileName, HINSTANCE hInst, int XHot, int YHot,
20 int *W = 0, int *H = 0);
21HICON CursorToIcon( wxChar *szFileName, HINSTANCE hInst,
22 int *W = 0, int *H = 0);
23
24HCURSOR MakeCursorFromBitmap(HINSTANCE hInst, HBITMAP hBitmap, POINT *pPoint);
25HICON MakeIconFromBitmap(HINSTANCE hInst, HBITMAP hBitmap);
26
27#endif
28