norgepaul / TChromeTabs

Comprehensive Delphi implementation of Chrome's tab system
Other
215 stars 78 forks source link

Maximized application form with TChromeTabsGlassForm blocks pop-up taskbar. #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Win7/8

This is because the client part of the window takes up all the space. Windows 
thinks that running a full screen application and do not give the taskbar pop 
up when her mouse pointer.

My fix:

procedure TChromeTabsGlassForm.WMNCCalcSize(var Message: TWMNCCalcSize);
begin
  if UseCustomFrame then
  begin
    if WindowState = wsMaximized then
      Inc(Message.CalcSize_Params.rgrc[0].Left, FWndFrameSize + 1)
    else
      Inc(Message.CalcSize_Params.rgrc[0].Left, FWndFrameSize);

    Dec(Message.CalcSize_Params.rgrc[0].Right, FWndFrameSize);
    Dec(Message.CalcSize_Params.rgrc[0].Bottom, FWndFrameSize);
  end
  else
    inherited;
end;

Original issue reported on code.google.com by Coriolis...@gmail.com on 21 Aug 2013 at 6:31

GoogleCodeExporter commented 9 years ago
Can you describe it more specific or try the latest version (r57) to confirm 
the issue still exists?

Original comment by sx.a...@googlemail.com on 17 May 2014 at 5:02

GoogleCodeExporter commented 9 years ago
Fixed, thanks

Original comment by paul.tho...@easy-ip.net on 19 Jun 2014 at 4:04