This is the mail archive of the cygwin-developers@cygwin.com 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: src/winsup/w32api ChangeLog include/commdlg.h ...


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@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


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