-
Notifications
You must be signed in to change notification settings - Fork 65
winlib.cpp, winlib.h: translated #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
go -> pass
| // 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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inserting the window by hwnd to the window list
| } | ||
| } | ||
| //--- zavolani metody WindowProc(...) prislusneho objektu okna | ||
| //--- calling method WindowProc(...) of the object of window |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// introduced as a place for adjusting the dialog layout
No description provided.