🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14102

Re: SHGetSpecialFolderLocation!

#14102
From: Safari
Date: Wed, 27 Aug 2003 01:56
55 lines
2720 bytes
Hello and thanks Rodolfo,
My meanin is: the first stNone then stBoth;
Example:

Boolean Posit = false;

void __fastcall TMain::BitBtn1Click(TObject *Sender)
{
   Posit = !Posit;
   if (Posit == true)
   {
      ListView->Items->Clear();
      BitBtn1->Kind = bkCancel;
      BitBtn1->Caption = "Stop";
      ListView->SortType = Comctrls::stNone;
      ----------------------------------------
      // ... Continue                        |
      Posit = false;                         |
   }                                         |
   if (Posit == false)                       |-> My meaning:
   {                                         |
      BitBtn1->Kind = bkOK;                  |
      BitBtn1->Caption = "Start";            |
      ListView->SortType = Comctrls::stBoth; |
      ---------------------------------------|
      // ... Continue
   }
}

"Rodolfo Frino" <rodolfofrino@yahoo.com> wrote in message
news:3f499fcc@newsgroups.borland.com...
| Set the TListView::SortType property to the value you want (stNone,
stBoth,
| stData, stText)
| (stNone is the default)
|
| For example:
|
|  ListView->SortType = stText;
|
|   Bear in mind that
|
|   ListView->SortType = stBoth; //1
|   ListView->SortType = stData; //2
|   ListView->SortType = stText; //3
|
| only work if  ListView->OwnerDraw  = false;
|
| Also remember that once you have sorted the ListView using 1, 2 or 3,
| if the order of the items has been altered, you cannot get the previous
| order by setting SortStyle to stNone:
|
|   ListView->SortType = stNone;
|
| Rodolfo
Technical Details
Message-ID: <3f4c1251@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3F48E399.60108@alloymail.com> <3f499fcc@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,7ce38efab0f8f813
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-26 19:09:31 PST
From: "Safari" <Safari@alloymail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3F48E399.60108@alloymail.com> <3f499fcc@newsgroups.borland.com>
Subject: Re: SHGetSpecialFolderLocation!
Date: Wed, 27 Aug 2003 06:26:22 +0430
Lines: 57
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 194.225.63.227
Message-ID: <3f4c1251@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1061950033 194.225.63.227 (26 Aug 2003 19:07:13 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail