Home
last modified time | relevance | path

Searched refs:mon_info (Results 1 – 6 of 6) sorted by relevance

/reactos/win32ss/user/user32/windows/
H A Dwinpos.c87 MONITORINFO mon_info;
89 mon_info.cbSize = sizeof(mon_info);
90 GetMonitorInfoW( monitor, &mon_info );
92 rc_work = mon_info.rcMonitor;
97 rc_work = mon_info.rcWork;
H A Ddialog.c860 MONITORINFO mon_info; in DIALOG_CreateIndirect() local
862 mon_info.cbSize = sizeof(mon_info); in DIALOG_CreateIndirect()
866 GetMonitorInfoW( monitor, &mon_info ); in DIALOG_CreateIndirect()
867 pos.x = (mon_info.rcWork.left + mon_info.rcWork.right - size.cx) / 2; in DIALOG_CreateIndirect()
868 pos.y = (mon_info.rcWork.top + mon_info.rcWork.bottom - size.cy) / 2; in DIALOG_CreateIndirect()
874 GetMonitorInfoW( monitor, &mon_info ); in DIALOG_CreateIndirect()
895 GetMonitorInfoW( monitor, &mon_info ); in DIALOG_CreateIndirect()
897 … if ((dX = pos.x + size.cx + GetSystemMetrics(SM_CXDLGFRAME) - mon_info.rcWork.right) > 0) in DIALOG_CreateIndirect()
899 … if ((dY = pos.y + size.cy + GetSystemMetrics(SM_CYDLGFRAME) - mon_info.rcWork.bottom) > 0) in DIALOG_CreateIndirect()
901 if( pos.x < mon_info.rcWork.left ) pos.x = mon_info.rcWork.left; in DIALOG_CreateIndirect()
[all …]
/reactos/dll/win32/comctl32/
H A Dtooltips.c593 MONITORINFO mon_info; in TOOLTIPS_Show() local
749 mon_info.cbSize = sizeof(mon_info); in TOOLTIPS_Show()
750 GetMonitorInfoW( monitor, &mon_info ); in TOOLTIPS_Show()
753 if (rect.right > mon_info.rcMonitor.right) in TOOLTIPS_Show()
757 if (rect.right > mon_info.rcMonitor.right) in TOOLTIPS_Show()
764 if (rect.left < mon_info.rcMonitor.left) in TOOLTIPS_Show()
770 if (rect.bottom > mon_info.rcMonitor.bottom) in TOOLTIPS_Show()
786 if( rect.right > mon_info.rcWork.right ) { in TOOLTIPS_Show()
788 rect.right = mon_info.rcWork.right - 2; in TOOLTIPS_Show()
790 if (rect.left < mon_info.rcWork.left) rect.left = mon_info.rcWork.left; in TOOLTIPS_Show()
[all …]
H A Dcombo.c924 MONITORINFO mon_info; in CBDropDown() local
997 mon_info.cbSize = sizeof(mon_info); in CBDropDown()
998 GetMonitorInfoW( monitor, &mon_info ); in CBDropDown()
1000 if (r.bottom > mon_info.rcWork.bottom) in CBDropDown()
1002 r.top = max( rect.top - nDroppedHeight, mon_info.rcWork.top ); in CBDropDown()
1003 r.bottom = min( r.top + nDroppedHeight, mon_info.rcWork.bottom ); in CBDropDown()
/reactos/win32ss/user/user32/controls/
H A Dcombo.c986 MONITORINFO mon_info; in CBDropDown() local
1056 mon_info.cbSize = sizeof(mon_info); in CBDropDown()
1057 GetMonitorInfoW( monitor, &mon_info ); in CBDropDown()
1059 if (r.bottom > mon_info.rcWork.bottom) in CBDropDown()
1061 r.top = max( rect.top - nDroppedHeight, mon_info.rcWork.top ); in CBDropDown()
1062 r.bottom = min( r.top + nDroppedHeight, mon_info.rcWork.bottom ); in CBDropDown()
/reactos/modules/rostests/winetests/user32/
H A Dsysparams.c3224 MONITORINFO mon_info; in test_dpi_mapping() local
3252 mon_info.cbSize = sizeof(mon_info); in test_dpi_mapping()
3253 ok( GetMonitorInfoW( monitor, &mon_info ), "GetMonitorInfoExW failed\n" ); in test_dpi_mapping()
3254 ok( EqualRect( &expect, &mon_info.rcMonitor ), "%lu: wrong monitor rect %s expected %s\n", in test_dpi_mapping()
3255 i, wine_dbgstr_rect(&mon_info.rcMonitor), wine_dbgstr_rect(&expect) ); in test_dpi_mapping()