Volte
06-10-2004, 06:38 PM
I've attached a projects which demonstrates the same sort of functionality Windows does when you are trying to select drivers - when you attempt to select a directory that does not contain any *.INF files, the OK button will become disabled.
To do this, you have to use a callback in the call to SHBrowseForFolder (BrowseCallbackProc) and handle the BFFM_SELCHANGED message to find out what item is being clicked.
To do this, you have to use a callback in the call to SHBrowseForFolder (BrowseCallbackProc) and handle the BFFM_SELCHANGED message to find out what item is being clicked.