Article View: borland.public.cppbuilder.nativeapi
Article #4872Re: FindFirstFile(), FindNextFile() and TreeView
From: Tomislav
Date: Mon, 21 Nov 2005 11:04
Date: Mon, 21 Nov 2005 11:04
45 lines
2883 bytes
2883 bytes
Thanks Richard on your effort I really apprechiate it. Everything works
fine now.
Richard Bradbrook wrote:
> Hahaha, how can you say it made no changes if now you've only got 2 errors?!
>
> If that's all you're getting, you don't need sdk - in any case, the .net sdk
> wasn't the one I meant.
> The Platform SDK would be the one you're after.
>
> Double click on the error you see in the log. It'll take you to those lines
> in the uxtheme.h file.
>
> First is the THEMESIZE structure.
>
> Edit it and format it as follows:
>
> typedef enum THEMESIZE
> {
> TS_MIN, // minimum size
> TS_TRUE, // size without stretching
> TS_DRAW, // size that theme mgr will use to draw part
> }THEMESIZE;
>
> The second is the PROPERTYORIGIN structure.
>
> Edit it and format it as follows:
>
> typedef enum PROPERTYORIGIN
> {
> PO_STATE, // property was found in the state section
> PO_PART, // property was found in the part section
> PO_CLASS, // property was found in the class section
> PO_GLOBAL, // property was found in [globals] section
> PO_NOTFOUND // property was not found
> } PROPERTYORIGIN;
>
> Save that file and then recompile your project. It should work ok now.
>
> Don't forget to add the 'ThemeManager' component to your main form btw.
> That'll enable proper XP themes in your application and make the others work
> properly (once you've also told them to allow themes via the properties - if
> not enabled by default anyway).
>
>
Technical Details
Message-ID:
<4381a98e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<437f21f9@newsgroups.borland.com> <437f41a9@newsgroups.borland.com> <437f4d5e@newsgroups.borland.com> <4380b305$1@newsgroups.borland.com> <4380d2d3$1@newsgroups.borland.com> <4380ddd0@newsgroups.borland.com> <4380e18d@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c9219bd94e2094ee X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 21 Nov 2005 12:04:58 +0100 From: Tomislav <"rif"@net.hr> Reply-To: rif@net.hr User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: FindFirstFile(), FindNextFile() and TreeView References: <437f21f9@newsgroups.borland.com> <437f41a9@newsgroups.borland.com> <437f4d5e@newsgroups.borland.com> <4380b305$1@newsgroups.borland.com> <4380d2d3$1@newsgroups.borland.com> <4380ddd0@newsgroups.borland.com> <4380e18d@newsgroups.borland.com> In-Reply-To: <4380e18d@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 213.202.85.183 Message-ID: <4381a98e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1132571022 213.202.85.183 (21 Nov 2005 03:03:42 -0700) Lines: 45 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail