Archived
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b32774b6f1 |
No files matched your search
Binary file not shown.
@@ -147,8 +147,7 @@ void UnloadSelection() {
|
||||
int LoadSelection(int index) {
|
||||
UnloadSelection();
|
||||
if (index != -1) {
|
||||
LRESULT selectedLength = SendMessage(filesListCtrl, LB_GETTEXTLEN, (WPARAM)index, NULL);
|
||||
TCHAR* selectionBuffer = new TCHAR[selectedLength];
|
||||
TCHAR* selectionBuffer = new TCHAR[MAX_PATH];
|
||||
SendMessage(filesListCtrl, LB_GETTEXT, (WPARAM)index, (LPARAM)selectionBuffer);
|
||||
if (!path.empty()) {
|
||||
wstring fullPath = path + L"\\" + selectionBuffer;
|
||||
@@ -331,6 +330,8 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) {
|
||||
CheckMenuItem(menuBar, ID_OPCJE_LOOP, MF_CHECKED);
|
||||
isLoopEnabled = TRUE;
|
||||
}
|
||||
isQueued = TRUE;
|
||||
SendMessage(mainWindow, STATE_CHANGE, 1, NULL);
|
||||
break;
|
||||
case ID_POMOC_KBSHR:
|
||||
MessageBox(mainWindow, L"F1 = ekran skrótów klawiszowych\nF2 = ekran Informacje\nF5 = odœwie¿ listê plików", L"Skróty klawiszowe", MB_ICONASTERISK);
|
||||
|
||||
Reference in new issue
Block a user