Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #13520 > unrolled thread
| Started by | Kuno Egger <kuno.egger@gmail.com> |
|---|---|
| First post | 2022-01-20 08:28 -0800 |
| Last post | 2022-02-25 08:46 -0800 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
File Open Dialog Kuno Egger <kuno.egger@gmail.com> - 2022-01-20 08:28 -0800
Re: File Open Dialog Jamal <nospam@example.com> - 2022-01-23 15:23 -0500
Re: File Open Dialog Kuno Egger <kuno.egger@gmail.com> - 2022-02-25 08:46 -0800
| From | Kuno Egger <kuno.egger@gmail.com> |
|---|---|
| Date | 2022-01-20 08:28 -0800 |
| Subject | File Open Dialog |
| Message-ID | <fca452b8-021b-4035-a28c-2470aa3022d0n@googlegroups.com> |
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
[toc] | [next] | [standalone]
| From | Jamal <nospam@example.com> |
|---|---|
| Date | 2022-01-23 15:23 -0500 |
| Message-ID | <sskdgp$qar$1@dont-email.me> |
| In reply to | #13520 |
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
[toc] | [prev] | [next] | [standalone]
| From | Kuno Egger <kuno.egger@gmail.com> |
|---|---|
| Date | 2022-02-25 08:46 -0800 |
| Message-ID | <b75765ec-fc12-4f92-9c41-db9c2c9fb1a3n@googlegroups.com> |
| In reply to | #13522 |
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!!
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web