An application sends an LB_DIR message to add a list of filenames to a list box.
LB_DIR wParam = (WPARAM) (UINT) uAttrs; // file attributes lParam = (LPARAM) (LPCTSTR) lpszFileSpec; // filename address
Value |
Description |
DDL_ARCHIVE |
Includes archived files. |
DDL_DIRECTORY |
Includes subdirectories. Subdirectory names are enclosed in square brackets ([ ]). |
DDL_DRIVES |
Includes drives. Drives are listed in the form [-x-], where x is the drive letter. |
DDL_EXCLUSIVE |
Includes only files with the specified attributes. By default, read-write files are listed even if DDL_READWRITE is not specified. |
DDL_HIDDEN |
Includes hidden files. |
DDL_READONLY |
Includes read-only files. |
DDL_READWRITE |
Includes read-write files with no additional attributes. |
DDL_SYSTEM |
Includes system files. |
The return value is the zero-based index of the last filename added to the list. If an error occurs, the return value is LB_ERR. If there is insufficient space to store the new strings, the return value is LB_ERRSPACE.
file: /Techref/os/win/api/win32/mess/src/msg09_27.htm, 3KB, , updated: 2000/4/7 11:20, local time: 2024/11/12 19:43,
3.147.47.157:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.ecomorder.com/techref/os/win/api/win32/mess/src/msg09_27.htm"> LB_DIR</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.