Remove check for BFFM_SETSELECTION
<https://msdn.microsoft.com/en-us/library/windows/desktop/bb762598(v=vs.85).aspx>
This commit is contained in:
@@ -459,7 +459,6 @@ BrowseCallbackProc(HWND hwnd, UINT uMsg, LPARAM lp, LPARAM pData)
|
|||||||
{
|
{
|
||||||
switch(uMsg)
|
switch(uMsg)
|
||||||
{
|
{
|
||||||
#ifdef BFFM_SETSELECTION
|
|
||||||
case BFFM_INITIALIZED:
|
case BFFM_INITIALIZED:
|
||||||
// sent immediately after initialisation and so we may set the
|
// sent immediately after initialisation and so we may set the
|
||||||
// initial selection here
|
// initial selection here
|
||||||
@@ -467,8 +466,6 @@ BrowseCallbackProc(HWND hwnd, UINT uMsg, LPARAM lp, LPARAM pData)
|
|||||||
// wParam = TRUE => lParam is a string and not a PIDL
|
// wParam = TRUE => lParam is a string and not a PIDL
|
||||||
::SendMessage(hwnd, BFFM_SETSELECTION, TRUE, pData);
|
::SendMessage(hwnd, BFFM_SETSELECTION, TRUE, pData);
|
||||||
break;
|
break;
|
||||||
#endif // BFFM_SETSELECTION
|
|
||||||
|
|
||||||
|
|
||||||
case BFFM_SELCHANGED:
|
case BFFM_SELCHANGED:
|
||||||
// note that this doesn't work with the new style UI (MSDN doesn't
|
// note that this doesn't work with the new style UI (MSDN doesn't
|
||||||
|
Reference in New Issue
Block a user