Lines Matching refs:itemID
17 HWND GetItem(int itemID) const
18 { return GetDlgItem(_window, itemID); }
20 bool EnableItem(int itemID, bool enable) const
21 { return BOOLToBool(::EnableWindow(GetItem(itemID), BoolToBOOL(enable))); }
23 bool ShowItem(int itemID, int cmdShow) const
24 { return BOOLToBool(::ShowWindow(GetItem(itemID), cmdShow)); }
26 bool ShowItem_Bool(int itemID, bool show) const
27 { return ShowItem(itemID, show ? SW_SHOW: SW_HIDE); }
29 bool HideItem(int itemID) const { return ShowItem(itemID, SW_HIDE); }
31 bool SetItemText(int itemID, LPCTSTR s)
32 { return BOOLToBool(SetDlgItemText(_window, itemID, s)); }
35 bool SetItemText(int itemID, LPCWSTR s)
37 CWindow window(GetItem(itemID));
42 UINT GetItemText(int itemID, LPTSTR string, int maxCount)
43 { return GetDlgItemText(_window, itemID, string, maxCount); }
46 bool GetItemText(int itemID, LPWSTR string, int maxCount)
48 CWindow window(GetItem(itemID));
54 bool SetItemInt(int itemID, UINT value, bool isSigned)
55 { return BOOLToBool(SetDlgItemInt(_window, itemID, value, BoolToBOOL(isSigned))); }
56 bool GetItemInt(int itemID, bool isSigned, UINT &value)
59 value = GetDlgItemInt(_window, itemID, &result, BoolToBOOL(isSigned));
74 LRESULT SendItemMessage(int itemID, UINT message, WPARAM wParam, LPARAM lParam)
75 { return SendDlgItemMessage(_window, itemID, message, wParam, lParam); }
93 virtual bool OnCommand(int code, int itemID, LPARAM lParam);