82#define TIMER_ID_DOACCDEFAULTACTION 11
130 return (Sig.
lsUsb[3] & 0x8000000) != 0;
163 TEXT(
"SOFTWARE\\Microsoft\\CTF\\MSUTB\\SkipRedrawHKL"));
167 TCHAR szValueName[256];
168 for (
DWORD dwIndex = 0; ; ++dwIndex)
174 if (szValueName[0] ==
TEXT(
'0') &&
175 (szValueName[1] ==
TEXT(
'x') || szValueName[1] ==
TEXT(
'X')))
217 *pdwValue =
V_I4(&vari);
231 V_I4(&vari) = dwValue;
264 TEXT(
"Software\\Microsoft\\Windows\\CurrentVersion\\Run"),
275 for (iKL = 0; iKL < cKLs; ++iKL)
292 for (iKL = 0; iKL < cKLs; ++iKL)
294 if (
TF_GetMlngHKL(iKL, &hGotKL, pszDesc, cchDesc) && hKL == hGotKL)
313 SIZE iconSize = { 16, 16 };
330 return pMenu->AddMenuItem(-1, TF_LBMENUF_SEPARATOR,
NULL,
NULL,
NULL, 0,
NULL);
351 ITfInputProcessorProfiles *pProfiles =
NULL;
362 SUCCEEDED(pProfiles->GetLanguageList(&pLangIds, &cItems)))
364 for (iItem = 0; iItem < cItems; ++iItem)
370 ret = (iItem == cItems);
376 pProfiles->Release();
436 IID_ICatRegister, (
void**)&pCat);
815 DISPPARAMS *pDispParams,
817 EXCEPINFO *pExcepInfo,
875 *
lprc = { 0, 0, 0, 0 };
943 return static_cast<CUIFMenu*
>(
this);
1294class CTipbarBalloonItem;
1429class CTipbarCtrlButtonHolder;
1521 void Init(
BOOL bChild, CDeskBand *pDeskBand);
1642#ifdef ENABLE_DESKBAND
1863 return CUTBLangBarDlg::ThreadProc();
1885 static const QITAB c_tab[] =
1890 return ::QISearch(
this, c_tab,
riid, ppvObj);
1935 pSubMenu = CreateSubMenu();
1945 if (ppSubMenu && pSubMenu)
1947 *ppSubMenu = pSubMenu;
2046 ::BitBlt(hdcMem2, 0, 0, bm.bmWidth, bm.bmHeight, hdcMem1, 0, 0,
SRCCOPY);
2159 return ::LresultFromObject(IID_IAccessible,
wParam,
this);
2167 return pItem->DoAccDefaultActionReal();
2188 static const QITAB c_tab[] =
2199 return ::InterlockedIncrement(&
m_cRefs);
2255 DISPPARAMS *pDispParams,
2257 EXCEPINFO *pExcepInfo,
2278 if (!pcountChildren)
2283 *pcountChildren = cItems - 1;
2293 *ppdispChild =
NULL;
2306 *pszName = pItem->GetAccName();
2321 *pszValue = pItem->GetAccValue();
2346 V_I4(role) = pItem->GetAccRole();
2424 *
action = pItem->GetAccDefaultAction();
2434 if ((flagsSelect & SELFLAG_ADDSELECTION) && (flagsSelect & SELFLAG_REMOVESELECTION))
2436 if (flagsSelect & (SELFLAG_TAKEFOCUS | SELFLAG_ADDSELECTION | SELFLAG_EXTENDSELECTION))
2438 if (flagsSelect & SELFLAG_REMOVESELECTION)
2442 if (flagsSelect & SELFLAG_TAKESELECTION)
2465 pItem->GetAccLocation(&rc);
2489 case NAVDIR_PREVIOUS:
2491 V_I4(pvarEnd) =
V_I4(&varStart) - 1;
2492 if (
V_I4(&varStart) - 1 <= 0)
2500 V_I4(pvarEnd) =
V_I4(&varStart) + 1;
2505 case NAVDIR_FIRSTCHILD:
2510 case NAVDIR_LASTCHILD:
2546 pItem->GetAccLocation(&
Rect);
2549 V_I4(pvarID) = iItem;
2565 return (pItem->DoAccDefaultAction() ?
S_OK :
S_FALSE);
2609 return ::SysAllocString(szText);
2623 return CUIFObject::Initialize();
2751 return ::SysAllocString(szText);
2788 if (pMenuItem->Initialize() &&
2789 pMenuItem->
Init(nCommandId, szText) &&
2838 pMenuUI->Initialize();
2840 if (
dwStatus & (TF_SFT_DESKBAND | TF_SFT_MINIMIZED))
2887 if (
dwStatus & TF_SFT_EXTRAICONSONMINIMIZED)
3057 UINT uCallbackMessage,
3169 if (!CButtonIconItem::OnDelayMsg(uMsg))
3196 for (
size_t iItem = 0; iItem <
m_Items.
size(); ++iItem)
3209 for (
size_t iItem = 0; iItem <
m_Items.
size(); ++iItem)
3214 pItem->OnDelayMsg(
m_uMsg);
3246 TCHAR ClassName[60];
3248 if (
lstrcmp(ClassName,
TEXT(
"TrayNotifyWnd")) != 0)
3257 for (
size_t iItem = 0; iItem <
m_Items.
size(); ++iItem)
3294 for (
size_t iItem = 0; iItem <
m_Items.
size(); ++iItem)
3299 if (uMsg == pItem->m_uCallbackMessage)
3323 for (
size_t iItem = 0; iItem <
m_Items.
size(); ++iItem)
3328 if (
IsEqualGUID(pItem->m_guid, GUID_LBI_INATITEM) ||
3341 if (pItem->m_uNotifyIconID < 0x1000)
3344 pItem->RemoveIcon();
3374 return pItem->SetIcon(
hIcon, psz);
3480 return TF_E_NOOBJECT;
3484 *pdwCookie = 0x80000001;
3490 if (dwCookie != 0x80000001)
3557 *pbstrToolTip = bstr;
3589 pMenuUI->Initialize();
3662 static const QITAB c_tab[] =
3765 InitNuiInfo(CLSID_SYSTEMLANGBARITEM, GUID_LBI_INATITEM, 0x20001, 0, szText);
3804 for (iKL = 0; iKL < cKLs; ++iKL)
3823 (
dwStatus & (TF_SFT_DESKBAND | TF_SFT_MINIMIZED)))
3839 if (nCommandId == 2000)
3889 TF_SFT_EXTRAICONSONMINIMIZED);
3893 CUIFGripper::OnLButtonUp(
x,
y);
3911 return CUIFGripper::OnSetCursor(uMsg,
x,
y);
3923 return pItem->m_bStartedIntentionally;