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/27 18:07,
18.220.200.197: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! |
.