delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/11/03:37:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <425A298C.5E7848D3@dessent.net>
Date: Mon, 11 Apr 2005 00:38:52 -0700
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: INITCOMMONCONTROLSEX (undeclared first use this...
References: <1113204297 DOT 1fr5ln9jifk0 AT w1 DOT mail DOT sapo DOT pt>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

josollari AT sapo DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019