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/16 13:18,
3.133.132.25: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://sxlist.com/Techref/os/win/api/win32/mess/src/msg09_24.htm"> LB_ADDFILE</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.