12 #include "../WinAPI/cWinResource.h"
18 #if defined(_WIN32) && ! defined(_MFC_VER)
19 inline HINSTANCE AfxGetResourceHandle()
48 HICON LoadIconX(
const GChar_t* pszResourceName)
const
51 cWinResMod res(pszResourceName, ATL_RT_GROUP_ICON);
52 return res.LoadIconX(pszResourceName);
57 return LoadIconX(ATL_MAKEINTRESOURCE(
id));
59 HCURSOR LoadCursorX(
const GChar_t* pszResourceName)
const
62 cWinResMod res(pszResourceName, ATL_RT_GROUP_CURSOR);
63 return res.LoadCursorX(pszResourceName);
68 return LoadCursorX(ATL_MAKEINTRESOURCE(
id));
#define GRAYCALL
declare calling convention for static functions so everyone knows the arg passing scheme....
Definition: GrayCore.h:36
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
#define CHEAPOBJECT_IMPL
Definition: cHeapObject.h:32
Definition: cWinResource.h:19
static HMODULE __stdcall get_HModule()
Definition: cAppState.cpp:782
Definition: cSingleton.h:127
WORD RESOURCEID_t
A resource in .RC attached to a file/module. like MAKEINTRESOURCE(). https://docs....
Definition: cResourceBase.h:19
char GChar_t
My version of TCHAR, _TCHAR.
Definition: StrConst.h:26