mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[MSUTB] Add CShellWndThread (#6463)
Supporting Language Bar... JIRA issue: CORE-19363 - Implement CShellWndThread class.
This commit is contained in:
parent
5901716c07
commit
362804169d
1 changed files with 22 additions and 0 deletions
|
@ -524,6 +524,28 @@ BOOL InitFromReg(void)
|
|||
|
||||
/***********************************************************************/
|
||||
|
||||
struct CShellWndThread
|
||||
{
|
||||
HWND m_hTrayWnd = NULL;
|
||||
HWND m_hProgmanWnd = NULL;
|
||||
|
||||
HWND GetWndTray()
|
||||
{
|
||||
if (!m_hTrayWnd || !::IsWindow(m_hTrayWnd))
|
||||
m_hTrayWnd = ::FindWindowW(L"Shell_TrayWnd", NULL);
|
||||
return m_hTrayWnd;
|
||||
}
|
||||
|
||||
HWND GetWndProgman()
|
||||
{
|
||||
if (!m_hProgmanWnd || !::IsWindow(m_hProgmanWnd))
|
||||
m_hProgmanWnd = ::FindWindowW(L"Progman", NULL);
|
||||
return m_hProgmanWnd;
|
||||
}
|
||||
};
|
||||
|
||||
/***********************************************************************/
|
||||
|
||||
class CUTBLangBarDlg
|
||||
{
|
||||
protected:
|
||||
|
|
Loading…
Reference in a new issue