/external/lzma/CPP/Windows/Control/ |
Trackbar.h | 16 { SendMessage(TBM_SETRANGE, BoolToBOOL(redraw), MAKELONG(minimum, maximum)); }
18 { SendMessage(TBM_SETPOS, BoolToBOOL(redraw), pos); }
|
ProgressBar.h | 21 INT GetRange(bool minValue, PPBRANGE range) { return (INT)SendMessage(PBM_GETRANGE, BoolToBOOL(minValue), (LPARAM)range); }
|
ReBar.h | 21 { SendMessage(RB_MAXIMIZEBAND, index, BoolToBOOL(ideal)); }
|
Dialog.h | 21 { return BOOLToBool(::EnableWindow(GetItem(itemID), BoolToBOOL(enable))); }
24 { return BOOLToBool(::ShowWindow(GetItem(itemID), cmdShow)); }
32 { return BOOLToBool(SetDlgItemText(_window, itemID, s)); }
55 { return BOOLToBool(SetDlgItemInt(_window, itemID, value, BoolToBOOL(isSigned))); }
59 value = GetDlgItemInt(_window, itemID, &result, BoolToBOOL(isSigned));
60 return BOOLToBool(result);
64 { return GetNextDlgGroupItem(_window, control, BoolToBOOL(previous)); }
66 { return GetNextDlgTabItem(_window, control, BoolToBOOL(previous)); } [all...] |
StatusBar.h | 37 { SendMessage(SB_SIMPLE, BoolToBOOL(simple), 0); }
|
ToolBar.h | 32 bool EnableButton(UINT buttonID, bool enable) { return LRESULTToBool(SendMessage(TB_ENABLEBUTTON, buttonID, MAKELONG(BoolToBOOL(enable), 0))); }
|
PropertyPage.cpp | 29 try { return BoolToBOOL(dialog->OnMessage(message, wParam, lParam)); }
38 case PSN_KILLACTIVE: SetMsgResult(BoolToBOOL(OnKillActive(LPPSHNOTIFY(lParam)))); break;
|
CommandBar.h | 24 // bool AddButtons(UINT numButtons, LPTBBUTTON buttons) { return BOOLToBool(SendMessage(TB_ADDBUTTONS, (WPARAM)numButtons, (LPARAM)buttons)); }
25 bool InsertButton(int iButton, LPTBBUTTON button) { return BOOLToBool(SendMessage(TB_INSERTBUTTON, (WPARAM)iButton, (LPARAM)button)); }
26 BOOL AddToolTips(UINT numToolTips, LPTSTR toolTips) { return BOOLToBool(SendMessage(TB_SETTOOLTIPS, (WPARAM)numToolTips, (LPARAM)toolTips)); }
29 bool AddAdornments(DWORD dwFlags) { return BOOLToBool(::CommandBar_AddAdornments(_window, dwFlags, 0)); }
31 bool DrawMenuBar(WORD iButton) { return BOOLToBool(::CommandBar_DrawMenuBar(_window, iButton)); }
35 bool InsertMenubar(HINSTANCE hInst, WORD idMenu, WORD iButton) { return BOOLToBool(::CommandBar_InsertMenubar(_window, hInst, idMenu, iButton)); }
36 bool InsertMenubarEx(HINSTANCE hInst, LPTSTR pszMenu, WORD iButton) { return BOOLToBool(::CommandBar_InsertMenubarEx(_window, hInst, pszMenu, iButton)); }
37 bool Show(bool cmdShow) { return BOOLToBool(::CommandBar_Show(_window, BoolToBOOL(cmdShow))); }
|
Dialog.cpp | 29 try { return BoolToBOOL(dialog->OnMessage(message, wParam, lParam)); }
84 return BOOLToBool(::SystemParametersInfo(SPI_GETWORKAREA, 0, rect, 0));
149 return BOOLToBool(::MoveWindow(GetItem(id), x, y, width, height, BoolToBOOL(repaint)));
|
ListView.h | 28 bool DeleteAllItems() { return BOOLToBool(ListView_DeleteAllItems(_window)); }
29 bool DeleteColumn(int columnIndex) { return BOOLToBool(ListView_DeleteColumn(_window, columnIndex)); }
35 bool SetItem(const LVITEM* item) { return BOOLToBool(ListView_SetItem(_window, item)); }
44 bool SetItem(const LV_ITEMW* item) { return BOOLToBool((BOOL)SendMessage(LVM_SETITEMW, 0, (LPARAM)item)); }
49 bool DeleteItem(int itemIndex) { return BOOLToBool(ListView_DeleteItem(_window, itemIndex)); }
63 bool GetItem(LVITEM* item) const { return BOOLToBool(ListView_GetItem(_window, item)); }
68 { return BOOLToBool(ListView_SortItems(_window, compareFunction, dataParam)); }
79 { return BOOLToBool(ListView_GetColumn(_window, columnIndex, columnInfo)); }
89 void SetCheckState(UINT index, bool checkState) { ListView_SetCheckState(_window, index, BoolToBOOL(checkState)); }
90 bool GetCheckState(UINT index) { return BOOLToBool(ListView_GetCheckState(_window, index)); } [all...] |
/external/lzma/CPP/Windows/ |
Defs.h | 10 inline bool BOOLToBool(BOOL v) { return (v != FALSE); }
11 inline BOOL BoolToBOOL(bool v) { return (v ? TRUE: FALSE); }
|
Synchronization.h | 30 _object = ::CreateEvent(sa, BoolToBOOL(manualReset), BoolToBOOL(initiallyOwn), name);
37 _object = ::OpenEvent(desiredAccess, BoolToBOOL(inheritHandle), name);
45 // bool Pulse() { return BOOLToBool(::PulseEvent(_handle)); }
98 _handle = ::CreateMutex(sa, BoolToBOOL(initiallyOwn), name);
106 _handle = ::OpenMutex(desiredAccess, BoolToBOOL(inheritHandle), name);
|
Window.h | 38 inline bool MySetWindowText(HWND wnd, LPCWSTR s) { return BOOLToBool(::SetWindowText(wnd, s)); }
74 bool Foreground() { return BOOLToBool(::SetForegroundWindow(_window)); }
77 bool GetWindowRect(LPRECT rect) const { return BOOLToBool(::GetWindowRect(_window,rect)); }
79 bool IsZoomed() const { return BOOLToBool(::IsZoomed(_window)); }
81 bool ClientToScreen(LPPOINT point) const { return BOOLToBool(::ClientToScreen(_window, point)); }
82 bool ScreenToClient(LPPOINT point) const { return BOOLToBool(::ScreenToClient(_window, point)); }
126 bool result = BOOLToBool(::DestroyWindow(_window));
131 bool IsWindow() { return BOOLToBool(::IsWindow(_window)); }
133 { return BOOLToBool(::MoveWindow(_window, x, y, width, height, BoolToBOOL(repaint))); } [all...] |
FileFind.cpp | 503 _handle = ::FindFirstChangeNotification(fs2fas(path), BoolToBOOL(watchSubtree), notifyFilter);
508 _handle = ::FindFirstChangeNotificationW(fs2us(path), BoolToBOOL(watchSubtree), notifyFilter);
514 _handle = ::FindFirstChangeNotificationW(longPath, BoolToBOOL(watchSubtree), notifyFilter);
|
SecurityUtils.h | 23 bool res = BOOLToBool(::CloseHandle(_handle));
32 return BOOLToBool(::OpenProcessToken(processHandle, desiredAccess, &_handle));
39 return BOOLToBool(::OpenTreadToken(threadHandle, desiredAccess, BoolToBOOL(anOpenAsSelf), &_handle));
45 { return BOOLToBool(::AdjustTokenPrivileges(_handle, BoolToBOOL(disableAllPrivileges),
|