Home
last modified time | relevance | path

Searched refs:CtlID (Results 1 – 25 of 48) sorted by relevance

12

/reactos/dll/cpl/console/
H A Dcolors.c25 index = min(drawItem->CtlID - IDC_STATIC_COLOR1, in PaintStaticControls()
65 if (IDC_STATIC_COLOR1 <= drawItem->CtlID && drawItem->CtlID <= IDC_STATIC_COLOR16) in ColorsProc()
67 else if (drawItem->CtlID == IDC_STATIC_SCREEN_COLOR) in ColorsProc()
69 else if (drawItem->CtlID == IDC_STATIC_POPUP_COLOR) in ColorsProc()
H A Dfont.c779 if (drawItem->CtlID == IDC_STATIC_SELECT_FONT_PREVIEW) in FontProc()
/reactos/modules/rostests/tests/enumfonts/
H A Denumfonts.cpp171 if ((int)lpmis->CtlID == ID_LISTBOX) in MainWndProc()
188 if ((int)lpdis->CtlID == ID_LISTBOX) in MainWndProc()
/reactos/dll/win32/shell32/dialogs/
H A Ddrvdefext.cpp196 if (pDrawItem->CtlID == 14013) in PaintStaticControls()
205 else if (pDrawItem->CtlID == 14014) in PaintStaticControls()
214 else if (pDrawItem->CtlID == 14015) in PaintStaticControls()
528 if (pDrawItem->CtlID >= 14013 && pDrawItem->CtlID <= 14015) in GeneralPageProc()
H A Ddialogs.cpp1144 switch (pdis->CtlID) in DrawIconOnOwnerDrawnButtons()
1526 switch (pdis->CtlID) in LogOffDialogProc()
/reactos/modules/rostests/tests/primitives/
H A Dprimitives.cpp241 if (lpmis->CtlID == reinterpret_cast<UINT_PTR>(hListBox)) in MainWndProc()
254 if (lpdis->CtlID == reinterpret_cast<UINT_PTR>(hListBox)) in MainWndProc()
/reactos/modules/rostests/winetests/comctl32/
H A Dlistbox.c52 UINT CtlID : 4; member
353 HWND ctrl = GetDlgItem(hwnd, mis->CtlID); in main_window_proc()
359 mi.u.item.CtlID = mis->CtlID; in main_window_proc()
370 ok(wParam == mis->CtlID, "got wParam=%08lx, expected %08x\n", wParam, mis->CtlID); in main_window_proc()
372 ok(mis->CtlID == 1, "mi->CtlID = %u\n", mis->CtlID); in main_window_proc()
380 HWND ctrl = GetDlgItem(hwnd, cis->CtlID); in main_window_proc()
383 ok(wParam == cis->CtlID, "expected %#x, got %#lx\n", cis->CtlID, wParam); in main_window_proc()
409 ok(wParam == dis->CtlID, "got wParam=%08lx instead of %08x\n", wParam, dis->CtlID); in main_window_proc()
H A Dheader.c1522 g_DrawItem.CtlID = 0; in test_customdraw()
1649 compare(di->CtlID, g_DrawItem.CtlID, "%d"); in HeaderTestWndProc()
/reactos/dll/win32/msgina/
H A Dshutdown.c329 switch (pdis->CtlID) in DrawIconOnOwnerDrawnButtons()
395 … else if ((pdis->CtlID == IDC_BUTTON_SLEEP && pContext->bIsButtonHot[SLEEP_BUTTON_HOT]) || in DrawIconOnOwnerDrawnButtons()
396 … (pdis->CtlID == IDC_BUTTON_HIBERNATE && pContext->bIsButtonHot[HIBERNATE_BUTTON_HOT]) || in DrawIconOnOwnerDrawnButtons()
1127 switch (pdis->CtlID) in ShutdownDialogProc()
/reactos/dll/win32/comctl32/
H A Dcombo.c242 measureItem.CtlID = id; in CBGetTextAreaHeight()
257 measureItem.CtlID = id; in CBGetTextAreaHeight()
687 dis.CtlID = ctlid; in CBPaintText()
1272 lpIS->CtlID = id; in COMBO_ItemOp()
1280 lpIS->CtlID = id; in COMBO_ItemOp()
1288 lpIS->CtlID = id; in COMBO_ItemOp()
1296 lpIS->CtlID = id; in COMBO_ItemOp()
H A Dlistbox.c642 dis.CtlID = GetWindowLongPtrW( descr->self, GWLP_ID ); in LISTBOX_PaintItem()
658 SendMessageW(descr->owner, WM_DRAWITEM, dis.CtlID, (LPARAM)&dis); in LISTBOX_PaintItem()
921 cis.CtlID = id; in LISTBOX_FindStringPos()
1656 mis.CtlID = id; in LISTBOX_InsertItem()
1744 dis.CtlID = id; in LISTBOX_DeleteItem()
2635 mis.CtlID = id; in LISTBOX_Create()
H A Dstatus.c193 dis.CtlID = GetWindowLongPtrW (infoPtr->Self, GWLP_ID); in STATUSBAR_DrawPart()
199 SendMessageW (infoPtr->Notify, WM_DRAWITEM, dis.CtlID, (LPARAM)&dis); in STATUSBAR_DrawPart()
/reactos/modules/rostests/winetests/user32/
H A Dgenerated.c193 TEST_FIELD_SIZE (COMPAREITEMSTRUCT, CtlID, 4) in test_pack_COMPAREITEMSTRUCT()
194 TEST_FIELD_ALIGN (COMPAREITEMSTRUCT, CtlID, 4) in test_pack_COMPAREITEMSTRUCT()
195 TEST_FIELD_OFFSET(COMPAREITEMSTRUCT, CtlID, 4) in test_pack_COMPAREITEMSTRUCT()
408 TEST_FIELD_SIZE (DELETEITEMSTRUCT, CtlID, 4) in test_pack_DELETEITEMSTRUCT()
409 TEST_FIELD_ALIGN (DELETEITEMSTRUCT, CtlID, 4) in test_pack_DELETEITEMSTRUCT()
410 TEST_FIELD_OFFSET(DELETEITEMSTRUCT, CtlID, 4) in test_pack_DELETEITEMSTRUCT()
507 TEST_FIELD_SIZE (DRAWITEMSTRUCT, CtlID, 4) in test_pack_DRAWITEMSTRUCT()
508 TEST_FIELD_ALIGN (DRAWITEMSTRUCT, CtlID, 4) in test_pack_DRAWITEMSTRUCT()
509 TEST_FIELD_OFFSET(DRAWITEMSTRUCT, CtlID, 4) in test_pack_DRAWITEMSTRUCT()
4011 TEST_FIELD_SIZE (DRAWITEMSTRUCT, CtlID, 4) in test_pack_DRAWITEMSTRUCT()
[all …]
H A Dlistbox.c252 ok(wparam == mi->CtlID, "got wParam=%08lx, expected %08x\n", wparam, mi->CtlID); in main_window_proc()
254 ok(mi->CtlID == 1, "mi->CtlID = %u\n", mi->CtlID); in main_window_proc()
279 ok(wparam == dis->CtlID, "got wParam=%08lx instead of %08x\n", in main_window_proc()
280 wparam, dis->CtlID); in main_window_proc()
/reactos/win32ss/user/user32/controls/
H A Dcombo.c256 measureItem.CtlID = id; in CBGetTextAreaHeight()
271 measureItem.CtlID = id; in CBGetTextAreaHeight()
763 dis.CtlID = ctlid; in CBPaintText()
1341 lpIS->CtlID = id; in COMBO_ItemOp()
1349 lpIS->CtlID = id; in COMBO_ItemOp()
1357 lpIS->CtlID = id; in COMBO_ItemOp()
1365 lpIS->CtlID = id; in COMBO_ItemOp()
H A Dlistbox.c553 dis.CtlID = GetWindowLongPtrW( descr->self, GWLP_ID ); in LISTBOX_PaintItem()
569 SendMessageW(descr->owner, WM_DRAWITEM, dis.CtlID, (LPARAM)&dis); in LISTBOX_PaintItem()
864 cis.CtlID = id; in LISTBOX_FindStringPos()
1577 mis.CtlID = id; in LISTBOX_InsertItem()
1674 dis.CtlID = id; in LISTBOX_DeleteItem()
2584 mis.CtlID = id; in LISTBOX_Create()
/reactos/dll/cpl/timedate/
H A Dtimezone.c304 if(lpDrawItem->CtlID == IDC_WORLD_BACKGROUND) in TimeZonePageProc()
/reactos/dll/win32/comdlg32/
H A Dfiledlg31.c232 if (lpdis->CtlType == ODT_LISTBOX && lpdis->CtlID == lst1) in FD31_WMDrawItem()
262 if (lpdis->CtlType == ODT_LISTBOX && lpdis->CtlID == lst2) in FD31_WMDrawItem()
290 if (lpdis->CtlType == ODT_COMBOBOX && lpdis->CtlID == cmb2) in FD31_WMDrawItem()
/reactos/modules/rosapps/applications/explorer-old/shell/
H A Dfilechild.cpp450 if (dis->CtlID == IDW_TREE_LEFT) { in WndProc()
453 } else if (dis->CtlID == IDW_TREE_RIGHT) { in WndProc()
H A Dpane.cpp205 dis.CtlID = 0; in calc_widths()
746 dis.CtlID = 0; in calc_single_width()
/reactos/sdk/include/psdk/
H A Dwindowsx.h128 …wnd),WM_COMPAREITEM,(WPARAM)(((const COMPAREITEMSTRUCT*)(lpCompareItem))->CtlID),(LPARAM)(const CO…
140 …((hwnd),WM_DELETEITEM,(WPARAM)(((const DELETEITEMSTRUCT*)(lpDeleteItem))->CtlID),(LPARAM)(const DE…
145 …oid)(fn)((hwnd),WM_DRAWITEM,(WPARAM)(((const DRAWITEMSTRUCT*)lpDrawItem)->CtlID),(LPARAM)(const DR…
181 …)(fn)((hwnd),WM_MEASUREITEM,(WPARAM)(((MEASUREITEMSTRUCT*)lpMeasureItem)->CtlID),(LPARAM)(MEASUREI…
/reactos/dll/cpl/mmsys/
H A Dvolume.c444 if (lpDrawItem->CtlID == IDC_SPEAKIMG) in VolumeDlgProc()
/reactos/dll/win32/shell32/
H A Dbrfolder.cpp633 BrFolder_OnNotify(BrFolder *info, UINT CtlID, LPNMHDR lpnmh) in BrFolder_OnNotify() argument
637 TRACE("%p %x %p msg=%x\n", info, CtlID, lpnmh, pnmtv->hdr.code); in BrFolder_OnNotify()
/reactos/dll/cpl/sysdm/
H A Dgeneral.c754 if (lpDrawItem->CtlID == IDC_ROSIMG) in GeneralPageProc()
/reactos/base/system/userinit/
H A Dlivecd.c592 if (lpDrawItem->CtlID == uCtlID) in OnDrawItem()

12