An application sends an LB_ADDFILE message to add the specified filename to a list box that contains a directory listing.
LB_ADDFILE wParam = 0; // not used; must be zero lParam = (LPARAM) (LPCTSTR) lpszFilename; // name of file to add
The return value is the zero-based index of the file that was added, or LB_ERR if an error occurs.
The list box to which lpszFilename is added must have been filled by the DlgDirList function.
file: /Techref/os/win/api/win32/mess/src/msg09_24.htm, 1KB, , updated: 2000/4/7 11:20, local time: 2024/11/24 00:34,
3.136.22.204: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.org/Techref/os/win/api/win32/mess/src/msg09_24.htm"> LB_ADDFILE</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.