delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/12/04/10:15:11

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Message-Id: <4.3.1.2.20011204100754.0162d7f8@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Tue, 04 Dec 2001 10:13:17 -0500
To: Earnie Boyd <earnie_boyd AT yahoo DOT com>, cygwin-developers AT cygwin DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: src/winsup/w32api ChangeLog include/commdlg.h ...
Cc: MD List <MinGW-Dvlpr AT SF DOT Net>
In-Reply-To: <3C0CE057.1A5177BC@yahoo.com>
References: <20011203195935 DOT 7122 DOT qmail AT sources DOT redhat DOT com>
<20011203233852 DOT C10634 AT cygbert DOT vinschen DOT de>
<3C0C016F DOT 101A8B1C AT yahoo DOT com>
<20011203235735 DOT E10634 AT cygbert DOT vinschen DOT de>
<20011204000806 DOT G10634 AT cygbert DOT vinschen DOT de>
<3C0CD705 DOT 178CB0E2 AT yahoo DOT com>
<085c01c17ccc$7520a1d0$0200a8c0 AT lifelesswks>
<3C0CD894 DOT EBF23D3E AT yahoo DOT com>
<20011204152139 DOT T10634 AT cygbert DOT vinschen DOT de>
Mime-Version: 1.0

At 09:40 AM 12/4/2001, Earnie Boyd wrote:
>Corinna Vinschen wrote:
> > 
> > On Tue, Dec 04, 2001 at 09:07:16AM -0500, Earnie Boyd wrote:
> > > I was coming to that conclusion.
> > >
> > > Thanks,
> > > Earnie.
> > >
> > > Robert Collins wrote:
> > > >
> > > > I believe that IDC_STATIC is _meant_ to be defined by the application -
> > > > see the second hit on that Google list for example.
> > > > ==
> > > > #ifdef IDC_STATIC
> > > > #undef IDC_STATIC
> > > > #endif
> > > > #define IDC_STATIC      (-1)
> > > > ==
> > 
> > And FWIW, a global grep in the Platform SDK include dir doesn't show
> > any match for IDC_STATIC.
> > 
>
>I've removed this definition from winuser.h



Makes sense.  IDC_STATIC is an application specific resource ID in 
MSVC-land.  MSVC projects with GUI dialogs and such define controls 
with particular IDs to identify them.  IDC_STATIC is a common resource
ID for static text in this context.  It would be defined in the specific 
resource.h include file for a particular project that used static resource 
controls.  It doesn't need to be defined outside the scope of the 
particular source that uses the definition.  So removing it's definition
from winuser.h is definitely the correct approach.





Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX

- Raw text -


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