FM_GETFOCUS

A File Manager extension sends a FM_GETFOCUS message to retrieve the type of the File Manager window that has the input focus.

FM_GETFOCUS

wParam = 0; // not used, must be zero

lParam = 0; // not used, must be zero

Parameters

This message has no parameters.

Return Values

The return value is the type of File Manager window that has input focus. It can be one of the following values:

Value Meaning
FMFOCUS_DIR Directory portion of a directory window
FMFOCUS_TREE Tree portion of a directory window
FMFOCUS_DRIVES Drive bar of a directory window
FMFOCUS_SEARCH Search Results window