Home
last modified time | relevance | path

Searched refs:hToolbar (Results 1 – 7 of 7) sorted by relevance

/reactos/modules/rostests/winetests/comctl32/
H A Dtoolbar.c378 HWND hToolbar; in basic_test() local
439 if (*hToolbar) in rebuild_toolbar()
501 HWND hToolbar = NULL; in test_add_bitmap() local
776 HWND hToolbar = NULL; in test_add_string() local
845 HWND hToolbar = NULL; in test_hotitem() local
1356 HWND hToolbar = NULL; in test_sizes() local
1684 HWND hToolbar = NULL; in test_recalc() local
1797 HWND hToolbar = NULL; in test_getbuttoninfo() local
1829 HWND hToolbar; in test_createtoolbarex() local
1931 HWND hToolbar; in test_setrows() local
[all …]
H A Drebar.c104 …HWND hToolbar = CreateWindowExA(0, TOOLBARCLASSNAMEA, NULL, WS_CHILD | WS_VISIBLE | CCS_NORESIZE, … in build_toolbar() local
109 ok(hToolbar != NULL, "Toolbar creation problem\n"); in build_toolbar()
110 …ok(SendMessageA(hToolbar, TB_BUTTONSTRUCTSIZE, sizeof(TBBUTTON), 0) == 0, "TB_BUTTONSTRUCTSIZE fai… in build_toolbar()
111 ok(SendMessageA(hToolbar, TB_AUTOSIZE, 0, 0) == 0, "TB_AUTOSIZE failed\n"); in build_toolbar()
112 … ok(SendMessageA(hToolbar, WM_SETFONT, (WPARAM)GetStockObject(SYSTEM_FONT), 0)==1, "WM_SETFONT\n"); in build_toolbar()
129 …ok(SendMessageA(hToolbar, TB_LOADIMAGES, iBitmapId, (LPARAM)HINST_COMMCTRL) == 0, "TB_LOADIMAGES f… in build_toolbar()
130 ok(SendMessageA(hToolbar, TB_ADDBUTTONSA, 5+nr, (LPARAM)btns), "TB_ADDBUTTONSA failed\n"); in build_toolbar()
131 return hToolbar; in build_toolbar()
/reactos/modules/rosapps/applications/devutils/vgafontedit/
H A Deditglyphdlg.c11 AddToolboxButton(IN HWND hToolbar, IN INT iBitmap, IN INT idCommand, IN BYTE fsState) in AddToolboxButton() argument
20 SendMessageW( hToolbar, TB_ADDBUTTONSW, 1, (LPARAM)&tbb ); in AddToolboxButton()
26 HWND hToolbar; in InitToolbox() local
30 hToolbar = GetDlgItem(Info->hSelf, IDC_EDIT_GLYPH_TOOLBOX); in InitToolbox()
33 SendMessageW(hToolbar, TB_BUTTONSTRUCTSIZE, sizeof(TBBUTTON), 0); in InitToolbox()
36 SendMessageW( hToolbar, TB_SETBUTTONSIZE, 0, MAKELONG(24, 24) ); in InitToolbox()
37 SendMessageW( hToolbar, TB_SETBITMAPSIZE, 0, MAKELONG(24, 24) ); in InitToolbox()
42 iBitmap = (INT)SendMessageW(hToolbar, TB_ADDBITMAP, 0, (LPARAM)&tbab); in InitToolbox()
44 …AddToolboxButton(hToolbar, iBitmap + TOOLBOX_PEN, ID_TOOLBOX_PEN, TBSTATE_ENABLED | TBSTATE_CHECKE… in InitToolbox()
H A Dmainwnd.c74 SendMessageW( Info->hToolbar, TB_ADDBUTTONSW, 1, (LPARAM)&tbb ); in AddToolbarButton()
88 SendMessageW(Info->hToolbar, TB_SETBUTTONINFOW, idCommand, (LPARAM)&tbbi); in SetToolbarButtonState()
106 SendMessageW( Info->hToolbar, TB_ADDBUTTONSW, 1, (LPARAM)&tbb ); in AddToolbarSeparator()
118 Info->hToolbar = CreateWindowExW(0, in InitMainWnd()
132 SendMessageW(Info->hToolbar, TB_BUTTONSTRUCTSIZE, sizeof(TBBUTTON), 0); in InitMainWnd()
135 SendMessageW(Info->hToolbar, TB_SETMAXTEXTROWS, 0, 0); in InitMainWnd()
140 iStandardBitmaps = (INT)SendMessageW(Info->hToolbar, TB_ADDBITMAP, 0, (LPARAM)&tbab); in InitMainWnd()
144 iCustomBitmaps = (INT)SendMessageW(Info->hToolbar, TB_ADDBITMAP, 0, (LPARAM)&tbab); in InitMainWnd()
482 if(Info->hToolbar) in MainWndSize()
484 GetWindowRect(Info->hToolbar, &ToolbarRect); in MainWndSize()
[all …]
H A Dprecomp.h45 HWND hToolbar; member
/reactos/dll/win32/hhctrl.ocx/
H A Dhelp.c938 HWND hToolbar = pHHInfo->WinType.hwndToolBar; in TB_AddButtonsFromFlags() local
945 nHistBitmaps = SendMessageW(hToolbar, TB_ADDBITMAP, 0, (LPARAM)&tbAB); in TB_AddButtonsFromFlags()
947 nStdBitmaps = SendMessageW(hToolbar, TB_ADDBITMAP, 0, (LPARAM)&tbAB); in TB_AddButtonsFromFlags()
1001 HWND hToolbar; in HH_AddToolbar() local
1019 if (!hToolbar) in HH_AddToolbar()
1021 pHHInfo->WinType.hwndToolBar = hToolbar; in HH_AddToolbar()
1024 SendMessageW(hToolbar, TB_BUTTONSTRUCTSIZE, sizeof(TBBUTTON), 0); in HH_AddToolbar()
1025 SendMessageW(hToolbar, WM_SETFONT, (WPARAM)pHHInfo->hFont, TRUE); in HH_AddToolbar()
1039 SendMessageW(hToolbar, TB_ADDBUTTONSW, dwNumButtons, (LPARAM)buttons); in HH_AddToolbar()
1040 SendMessageW(hToolbar, TB_AUTOSIZE, 0, 0); in HH_AddToolbar()
[all …]
/reactos/base/applications/mspaint/
H A Dmain.cpp814 HWND hToolbar = FindWindowEx(toolBoxContainer.m_hWnd, NULL, TOOLBARCLASSNAME, NULL); in OnSysColorChange() local
815 ::SendMessageW(hToolbar, WM_SYSCOLORCHANGE, 0, 0); in OnSysColorChange()
1080 HWND hToolbar = FindWindowEx(toolBoxContainer.m_hWnd, NULL, TOOLBARCLASSNAME, NULL); in OnCommand() local
1081 ::SendMessageW(hToolbar, TB_CHECKBUTTON, ID_RECTSEL, MAKELPARAM(TRUE, 0)); in OnCommand()