Open
Conversation
janrysavy
reviewed
Dec 26, 2023
| if (GetWindowLongPtr(HWindow, GWL_STYLE) & WS_CHILD) | ||
| break; // pokud F1 nezpracujeme a pokud je to child okno, nechame F1 propadnout do parenta | ||
| return TRUE; // pokud to neni child, ukoncime zpracovani F1 | ||
| break; // if F1 was not handled and it is child window, let F1 go to parent |
| // tady uz multi-threadovost nehrozi (konci soft, thready jsou/byly ukonceny) | ||
| // dealokujeme aspon nejakou pamet | ||
| TRACE_ET(_T("Some window is still opened in ") << QueueName << _T(" queue!")); // should not happen... | ||
| // multithreadness is not a problem here (soft is ending, threads are/were terminated) |
Contributor
There was a problem hiding this comment.
multithreadness -> multi-threading
soft -> app
| // | ||
| // lpvParam - v pripade, ze se pri CreateWindow zavola CWindow::CWindowProc | ||
| // (je v tride okna), musi obsahovat adresu objektu vytvareneho okna | ||
| // lpvParam - in case of CreateWindow calling CWindow::CWindowProc (it is in window class), |
Contributor
There was a problem hiding this comment.
in case CWindow::CWindowProc is called during CreateWindow
| #endif // _UNICODE | ||
| //--- zarazeni okna podle hwnd do seznamu oken | ||
| if (!WindowsManager.AddWindow(hwnd, wnd)) // chyba | ||
| //--- adding window to the list of windows per hwnd |
Contributor
There was a problem hiding this comment.
inserting the window by hwnd to the window list
| dlg->HWindow = hwndDlg; | ||
| //--- zarazeni okna podle hwndDlg do seznamu oken | ||
| if (!WindowsManager.AddWindow(hwndDlg, dlg)) // chyba | ||
| //--- adding window to the list of windows per hwnd |
Contributor
There was a problem hiding this comment.
inserting the window by hwnd to the window list
| } | ||
| } | ||
| //--- zavolani metody WindowProc(...) prislusneho objektu okna | ||
| //--- calling method WindowProc(...) of the object of window |
Contributor
There was a problem hiding this comment.
of the corresponding window object
| return TRUE; | ||
| } | ||
| dlg->NotifDlgJustCreated(); // zavedeno jako misto pro upravu layoutu dialogu | ||
| dlg->NotifDlgJustCreated(); // loaded as a place for layout modification of the dialog |
Contributor
There was a problem hiding this comment.
// introduced as a place for adjusting the dialog layout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.