Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>dlgdirlist</b> fill list box with directory listing http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DlgDirList           Fill list box with directory listing

int DlgDirList(hDlg, lpPathSpec, nIDListBox, nIDStaticPath, wFiletype)
HWND hDlg;
LPSTR lpPathSpec; /* Pathname or file prototype with wildcards */
int nIDListBox; /* Control ID */
int nIDStaticPath; /* Control ID to send path string to or NULL if none */
unsigned wFiletype; /* MS-DOS file attribute */

          wFiletype values
|--------------------------------------------------------------------|
| 0x0000 Read/Write                                                  |
| 0x0001 Read only                                                   |
| 0x0002 Hidden                                                      |
| 0x0004 System                                                      |
| 0x0010 Subdirectories                                              |
| 0x0020 Archives                                                    |
| 0x2000 LB_DIR flag (Queues messages rather than send)              |
| 0x4000 Drives                                                      |
| 0x8000 If set only specified files otherwise in addition to normal |
+--------------------------------------------------------------------+

See Also: DlgDirSelect

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson