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/9 14:36,
18.223.206.144:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©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://linistepper.com/techref/os/win/api/win32/mess/src/msg09_24.htm"> LB_ADDFILE</A> |
Did you find what you needed? |