🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Open Windows Explorer in report view mode

#16956
From: nicolasr
Date: Wed, 16 Apr 2003 20:37
15 lines
1326 bytes
Hi,

from my application I want to open a Windows Explorer window showing
the contents of my log directory. I used ShellExecute to open the
Explorer:

ShellExecute(Handle, "open", "C:\\mylogs\\", NULL, "C:\\mylogs\\,
SW_SHOWNORMAL);

However, the default view mode is large icons. Does anyone know of a
way to tell Explorer to open in report view mode? Or to change the
view programmatically after the window opened?

thanks for any idea,
Nick
Technical Details
Message-ID: <3e9dbef1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,13686067a4d557cc,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-16 13:44:17 PST
From: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Open Windows Explorer in report view mode
Date: Wed, 16 Apr 2003 22:37:44 +0200
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 80.133.164.218
Message-ID: <3e9dbef1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1050525425 80.133.164.218 (16 Apr 2003 13:37:05 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail