|
From: Hongli L. <h....@ch...> - 2002-07-19 08:58:51
|
On Fri, 2002-07-19 at 08:34, Yeoh HS wrote: > Hi, > > I've this code fragment: > INITCOMMONCONTROLSEX icex; > icex.dwSize = sizeof(INITCOMMONCONTROLSEX); > icex.dwICC = ICC_COOL_CLASSES|ICC_BAR_CLASSES; > InitCommonControlsEx(&icex); > > DevC++ 4.9.4.1 gives a compile error: > INITCOMMONCONTROLSEX undeclared. > > To solve this, in commctrl.h, I added the following define. > #define _WIN32_IE 0x0300 > > Instead of doing this, is there a project option (or other) where I can > specify this define? > Add -D_WIN32_IE to Compiler Options in Project Options. |