Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"You tweachewous miscweant!" -- Elmer Fudd


devel / comp.lang.clipper.visual-objects / Re: File Open Dialog

SubjectAuthor
* File Open DialogKuno Egger
`* Re: File Open DialogJamal
 `- Re: File Open DialogKuno Egger

1
File Open Dialog

<fca452b8-021b-4035-a28c-2470aa3022d0n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1021&group=comp.lang.clipper.visual-objects#1021

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a05:622a:1a28:: with SMTP id f40mr27084250qtb.635.1642696109013;
Thu, 20 Jan 2022 08:28:29 -0800 (PST)
X-Received: by 2002:a05:6214:2389:: with SMTP id fw9mr31750386qvb.19.1642696108736;
Thu, 20 Jan 2022 08:28:28 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!3.eu.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Thu, 20 Jan 2022 08:28:28 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=184.147.8.236; posting-account=ONOP6QoAAAAKYqlhorJEb8hg3EECDEu9
NNTP-Posting-Host: 184.147.8.236
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fca452b8-021b-4035-a28c-2470aa3022d0n@googlegroups.com>
Subject: File Open Dialog
From: kuno.egger@gmail.com (Kuno Egger)
Injection-Date: Thu, 20 Jan 2022 16:28:28 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 4
 by: Kuno Egger - Thu, 20 Jan 2022 16:28 UTC

Does anyone know how to show the files in an OpenDialog() so they appear sorted by creation date?

Any advice would be greatly appreciated.

Kuno

Re: File Open Dialog

<sskdgp$qar$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1023&group=comp.lang.clipper.visual-objects#1023

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nospam@example.com (Jamal)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: File Open Dialog
Date: Sun, 23 Jan 2022 15:23:52 -0500
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <sskdgp$qar$1@dont-email.me>
References: <fca452b8-021b-4035-a28c-2470aa3022d0n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 23 Jan 2022 20:23:53 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="64f8d2b1461828c406a89d087e86e4e1";
logging-data="26971"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1945erw+BBmc63NiNOEb/Lxm660LL3lMRs="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Cancel-Lock: sha1:8T3eqvk7rG9fPSJuPz7xN9/T2Us=
In-Reply-To: <fca452b8-021b-4035-a28c-2470aa3022d0n@googlegroups.com>
Content-Language: en-US
 by: Jamal - Sun, 23 Jan 2022 20:23 UTC

Kuno,

Add the following to your app:

define FCIDM_SHVIEW_LARGEICON := 0x7029
define FCIDM_SHVIEW_LIST := 0x702B
define FCIDM_SHVIEW_REPORT := 0x28716
define FCIDM_SHVIEW_SMALLICON := 0x702A
define FCIDM_SHVIEW_THUMBNAIL := 0x702D
define FCIDM_SHVIEW_TILE := 0x702E

define ByAttributes := 0x7609
define ByDateCreated := 0x7607
define ByDateModified := 0x7606

METHOD Dispatch(oEvt, hDlg) CLASS OpenDialog
LOCAL hHandle as PTR
IF oEvt:message = 78

hHandle := FindWindowEx(hDlg , 0,
String2Psz("SHELLDLL_DefView"),String2Psz(""))

SendMessage( hHandle, WM_COMMAND, FCIDM_SHVIEW_REPORT, 0 )
// SendMessage( h1, WM_COMMAND, FCIDM_SHVIEW_LARGEICON, 0 )

SendMessage( hHandle, WM_COMMAND, ByDateCreated, 0 )

ENDIF
RETURN 0L

Jamal

On 1/20/2022 11:28 AM, Kuno Egger wrote:
> Does anyone know how to show the files in an OpenDialog() so they appear sorted by creation date?
>
> Any advice would be greatly appreciated.
>
> Kuno

Re: File Open Dialog

<b75765ec-fc12-4f92-9c41-db9c2c9fb1a3n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1058&group=comp.lang.clipper.visual-objects#1058

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a05:6214:c2b:b0:432:5ec4:9304 with SMTP id a11-20020a0562140c2b00b004325ec49304mr6662045qvd.22.1645807619704;
Fri, 25 Feb 2022 08:46:59 -0800 (PST)
X-Received: by 2002:a05:622a:1007:b0:2d0:5c40:560e with SMTP id
d7-20020a05622a100700b002d05c40560emr7813681qte.220.1645807619448; Fri, 25
Feb 2022 08:46:59 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 25 Feb 2022 08:46:59 -0800 (PST)
In-Reply-To: <sskdgp$qar$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=142.126.84.164; posting-account=ONOP6QoAAAAKYqlhorJEb8hg3EECDEu9
NNTP-Posting-Host: 142.126.84.164
References: <fca452b8-021b-4035-a28c-2470aa3022d0n@googlegroups.com> <sskdgp$qar$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b75765ec-fc12-4f92-9c41-db9c2c9fb1a3n@googlegroups.com>
Subject: Re: File Open Dialog
From: kuno.egger@gmail.com (Kuno Egger)
Injection-Date: Fri, 25 Feb 2022 16:46:59 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 40
 by: Kuno Egger - Fri, 25 Feb 2022 16:46 UTC

On Sunday, 23 January 2022 at 15:23:55 UTC-5, Jamal wrote:
> Kuno,
>
> Add the following to your app:
>
> define FCIDM_SHVIEW_LARGEICON := 0x7029
> define FCIDM_SHVIEW_LIST := 0x702B
> define FCIDM_SHVIEW_REPORT := 0x28716
> define FCIDM_SHVIEW_SMALLICON := 0x702A
> define FCIDM_SHVIEW_THUMBNAIL := 0x702D
> define FCIDM_SHVIEW_TILE := 0x702E
>
> define ByAttributes := 0x7609
> define ByDateCreated := 0x7607
> define ByDateModified := 0x7606
>
>
> METHOD Dispatch(oEvt, hDlg) CLASS OpenDialog
> LOCAL hHandle as PTR
>
> IF oEvt:message = 78
>
> hHandle := FindWindowEx(hDlg , 0,
> String2Psz("SHELLDLL_DefView"),String2Psz(""))
>
> SendMessage( hHandle, WM_COMMAND, FCIDM_SHVIEW_REPORT, 0 )
> // SendMessage( h1, WM_COMMAND, FCIDM_SHVIEW_LARGEICON, 0 )
>
> SendMessage( hHandle, WM_COMMAND, ByDateCreated, 0 )
>
> ENDIF
> RETURN 0L
>
> Jamal
> On 1/20/2022 11:28 AM, Kuno Egger wrote:
> > Does anyone know how to show the files in an OpenDialog() so they appear sorted by creation date?
> >
> > Any advice would be greatly appreciated.
> >
> > Kuno
Thank you Jamal!!

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor