FileListBox
FileListBox is a subclass of list that is aware of the file tree. The ListBox will show a sorted list of files.
Window Structure Details
- PLHMENU Menu:
FileListBox uses Menu as a UINT that contains the maximum number of elements possible in the list. Note that this differs from the ListBoxes LogicalSize field because the number of elements that the list contains at any one time (LogicalSize) will be less than or equal to the maximum (Menu). Use This maximum while refreshing the list contents with the files from the current directory so the list is not overflowed.
- All other details: See the List class.
Messages
- NOTIFY: If the subclass is (i.e. Data set to) NOTIFY_UPDATE, the FileListBox refreshes its file list for the file path and specification passed in Extra. The list is resorted and DRAWn.
- KEYSTROKE: Passed to the ListBox class handler.
- DRAW: Passed to the ListBox class handler.
- CREATE: Passed to the ListBox class handler.
- SETFOCUS: Passed to the ListBox class handler.
- LOSEFOCUS: Passed to the ListBox class handler.
- NULLEVENT: Passed to the ListBox class handler.
- DESTROY: Passed to the ListBox class handler.
- TERMINATE: Passed to the ListBox class handler.
- ACTIVATE: Passed to the ListBox class handler.
- DEACTIVATE: Passed to the ListBox class handler.
- COMMAND: Passed to the ListBox class handler.
- APPEAR: Passed to the ListBox class handler.
- DISAPPEAR: Passed to the ListBox class handler.