This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: INITCOMMONCONTROLSEX (undeclared first use this...


josollari@sapo.pt wrote:

> Exercise.cpp:18: error: `INITCOMMONCONTROLSEX' undeclared (first use this
> function)
> Exercise.cpp:18: error: (Each undeclared identifier is reported only once for
> each function it appears in.)
> Exercise.cpp:18: error: parse error before `;' token
> Exercise.cpp:20: error: `InitCtrlEx' undeclared (first use this function)
> Exercise.cpp:22: error: `InitCommonControlsEx' undeclared (first use this
> function)

Take a look at commctrl.h - that function and structure is guarded by
"#if (_WIN32_IE >= 0x0300)".  You should define _WIN32_IE to IE3 or
higher to activate that support.  See the end of w32api.h for the list
of values.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]