Article View: borland.public.cppbuilder.nativeapi
Article #11647Update commctrl.h
From: eric67
Date: Tue, 27 Jan 2004 18:49
Date: Tue, 27 Jan 2004 18:49
24 lines
1597 bytes
1597 bytes
Can I replace commctrl.h shipped on Builder6 cd with commctrl.h from Microsoft SDK (2002)? I need XP themes when my app is executed on XP and standard controls on older systems. I've added the following line in Microsoft's header: #ifndef _INC_COMMCTRL #pragma option push -b -a8 -pc -A- // ******* this line #define _INC_COMMCTRL And I've defined #define _WIN32_WINNT 0x501 in my pch.h (precompiled optimized headers) before #include <windows.h> After the change and a fast test, my app works (or at least it seems to work) on both W95 (very old commctrl.dll) and XP (new) but i'd like to know if commctrl.h change can create problems or if I should update other .h from MicrosoftSDK to Borland includes. Thank you
Technical Details
Message-ID:
<4016b247@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,25665ea65a4f94b0,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-01-27 11:10:39 PST From: "eric67" <myfantasy@libero.it> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Update commctrl.h Date: Tue, 27 Jan 2004 19:49:54 +0100 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 217.56.76.254 Message-ID: <4016b247@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1075229255 217.56.76.254 (27 Jan 2004 10:47:35 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail