'###############################################################################
' BEGIN File System Controls
'###############################################################################
' phnx_DriveList_Class32, phnx_DirList_Class32
' phnx_FilterList_Class32, phnx_FileList_Class32
' ----------------------------------------------
%FCM_REFRESH = %WM_USER + &H0068??
' Purpose: Posted to refresh the file system controls when a change in the file
' system occurs.
' wParam: If TRUE, file change monitoring is restarted
' lParam: N/A
' Return: N/A
%FCM_SETPATH = %WM_USER + &H0064??
' Purpose: Sent to set the current path in a file system control. This message
' is ignored by the Filter List control.
' wParam: N/A
' lParam: address of buffer with new path
' Return: N/A
%FCM_GETPATH = %WM_USER + &H0065??
' Purpose: Sent to get the current path in a file system control. This message
' is ignored by the Filter List control. The buffer that receives the path
' should be at least MAX_PATH in size.
' wParam: N/A
' lParam: address of buffer for path
' Return: N/A
%FCM_SETBUDDY = %WM_USER + &H0066??
' Purpose: Sent to set the buddy control of a file system control. The information
' that the two controls display is synchronized. Valid pairings are-
' Drive and Directory, Directory and File, Filter and File.
' wParam: handle of the new buddy control
' lParam: N/A
' Return: Handle of the previous buddy control.
%FCM_GETBUDDY = %WM_USER + &H0067??
' Purpose: Sent to retrieve the handle of the current buddy control of a
' file system control.
' wParam: N/A
' lParam: N/A
' Return: The handle of the current buddy control.
%FCM_SETFILTER = %WM_USER + &H0069??
' Purpose: Sent to set the filter strings that determine the extensions of the files that are
' displayed. Multiple filters are separated by the vertical bar (|). This message is ignored
' by the Drive and Directory controls.
' wParam: zero-based index of selected filter (FilterList control)
' lParam: address of buffer with new filters
' Return: N/A
%FCM_SETATTRIBUTES = %WM_USER + &H006F??
' Purpose: Sent to set the file attributes that determine the kinds of files that
' are displayed. This message is ignored by the Drive, Directory,
' and Filter controls.
' wParam: N/A
' lParam: the new file attributes.
' Return: The previous file attributes.
%FCM_GETATTRIBUTES = %WM_USER + &H0070??
' Purpose: Sent to retrieve the current file attributes used by the File List
' control when displaying files.
' wParam: N/A
' lParam: N/A
' Return: The current file attributes.
%FCM_GETFILES = %WM_USER + &H006A??
' Purpose: Sent to retrieve the selected files in a File List control. Set wParam
' to zero to get the size of the buffer needed.
' wParam: maximum size of buffer
' lParam: address of buffer for path and file names
' Return: N/A
%FCM_ENUMFILES = %WM_USER + &H0071??
' Purpose: Sent to a File List control to enumerate selected files. Each file is
' passed to an application-defined callback function. Enumeration
' continues until the last file is enumerated or the callback returns FALSE.
' wParam: address of callback function
' lParam: application-defined value
' Return: N/A
%FCM_SETTEXTCOLOR = %WM_USER + &H006B??
' Purpose: Sent to set the color used to draw text in a file system control.
' &HFFFFFFFF??? sets the default text color (COLOR_WINDOWTEXT),
' wParam: N/A
' lParam: new text color
' Return: The previous text color.
%FCM_GETTEXTCOLOR = %WM_USER + &H006C??
' Purpose: Sent to retrieve the color used to draw text in a file system control.
' wParam: N/A
' lParam: N/A
' Return: The current text color
%FCM_SETBACKCOLOR = %WM_USER + &H006D??
' Purpose: Sent to set the color used to draw the background of a file system control.
' &HFFFFFFFF??? sets the default background color (COLOR_WINDOW).
' wParam: N/A
' lParam: the new background color
' Return: The previous background color.
%FCM_GETBACKCOLOR = %WM_USER + &H006E??
' Purpose: Sent to retrieve the color used to draw the background of a file system control.
' wParam: N/A
' lParam: N/A
' Return: The current background color.
%FCM_MONITORCHANGES = %WM_USER + &H0072??
' Purpose: Sent to turn directory and file change monitoring on or off.
' If wParam is TRUE, monitoring is turned on, if it is FALSE,
' monitoring is turned off. Monitoring is on by default.
' wParam: directory and file change monitoring flag
' lParam: N/A
' Return: N/A
DECLARE FUNCTION InitFileSystemCtrls LIB "FILECTRL.DLL" ALIAS "InitFileSystemCtrls" () AS LONG
'###############################################################################
' END File System Controls
'###############################################################################