Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/rarfilesource.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOctaneSnail <os@v12pwr.com>2012-01-28 16:38:34 +0400
committerOctaneSnail <os@v12pwr.com>2012-01-28 16:38:34 +0400
commitf8354578d6dacb9b74c4b070d4d16d087cffac83 (patch)
tree9ba0e7cbdb098316ebdb2e979c598fb7a515d5fb
parentacdb4d5637ae60d38c48c0e4e6ed14a9e3a916f5 (diff)
Make sure the dialog isn't hidden behind the player window.
-rw-r--r--RFS.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/RFS.cpp b/RFS.cpp
index 0cb50a0..f6cdf9d 100644
--- a/RFS.cpp
+++ b/RFS.cpp
@@ -688,6 +688,7 @@ INT_PTR CALLBACK CRARFileSource::DlgFileList (HWND hwndDlg, UINT uMsg, WPARAM wP
file = file_list->Next (file);
}
ListBox_SetCurSel (GetDlgItem (hwndDlg, IDC_FILELIST), 0);
+ SetForegroundWindow (hwndDlg);
return TRUE;
}
case WM_COMMAND: