Hi at all,
in windows i use this code to detect position of windows' taskbar:
var
hWndTaskbar: HWND;
TaskbarRect: TRect;
begin
{ First we get the Taskbar window and it's screen position }
hWndTaskbar := FindWindow('Shell_TrayWnd', nil);
if hWndTaskbar = 0 then Exit;
Windows.GetWindowRect(hWndTaskbar, @TaskbarRect);
//Memo1.Lines.Add(TaskbarRect.Top);
//Memo1.Lines.Add(TaskbarRect.Bottom);
//Memo1.Lines.Add(TaskbarRect.Left);
//Memo1.Lines.Add(TaskbarRect.Right);
end;
Someone knows how do the same on Linux???
Thanks, Mario