View Issue Details

IDProjectCategoryView StatusLast Update
0003834JEDI VCL00 JVCL Componentspublic2006-07-26 00:57
ReporterUskovAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.20 
Target VersionFixed in Version3.30 
Summary0003834: TJvCustomComboEdit popup window hides under taskbar
DescriptionPopup window is visible partially in the case, when editor is located above panel of the win taskbar and popup's height greater then distance between editor and task bar's top.
Additional InformationI think, it is necessary to edit jvToolEdit.pas.
procedure TJvCustomComboEdit.PopupDropDown(DisableEdit: Boolean);
<***>
begin
LINE №2869
    P := Parent.ClientToScreen(Point(Left, Top));
    {$IFDEF VCL}
    if not SystemParametersInfo (SPI_GETWORKAREA, 0, @rcWork, 0) then
      raise Exception.Create('Can not get monitor workarea');
// Monitor := FindMonitor(MonitorFromWindow(Handle, MONITOR_DEFAULTTONEAREST));
// SR.Top := Monitor.Top;
// SR.Left := Monitor.Left;
// SR.Width := Monitor.Width;
// SR.Height := Monitor.Height;
    SR.Top := rcWork.Top;
    SR.Left := rcWork.Left;
    SR.Width := rcWork.Right - rcWork.Left;
    SR.Height := rcWork.Bottom - rcWork.Top;
TagsNo tags attached.

Activities

obones

2006-07-26 00:49

administrator   ~0009859

seeing this with the latest SVN version and D2006

obones

2006-07-26 00:57

administrator   ~0009860

This is now fixed in SVN.
Note that the call to FindMonitor was kept as the TMonitor object has a WorkAreaRect member (at least in D7 and D2006)

Issue History

Date Modified Username Field Change
2006-07-25 15:10 Uskov New Issue
2006-07-26 00:49 obones Note Added: 0009859
2006-07-26 00:49 obones Assigned To => obones
2006-07-26 00:49 obones Status new => confirmed
2006-07-26 00:57 obones Status confirmed => resolved
2006-07-26 00:57 obones Fixed in Version => Daily / SVN
2006-07-26 00:57 obones Resolution open => fixed
2006-07-26 00:57 obones Note Added: 0009860