Posted: Sun Aug 18, 2019 1:57 am Post subject: [Bug] Memory Viewer window do not restore after minimization
Steps to reproduce:
1. Menu [F10] -> Edit -> Settings -> [X] Show all windows in the taskbar
2. Start "Memory Viewer" with Ctrl+M [or Button]
3. Minimize "Memory Viewer" with minimize icon [or System's Win+D shortcut]
4. Activate main window (with click)
5. Try press "Memory Viewer" button [or Ctrl+M] - "Memory Viewer" window stays minimized
My solution:
Code:
unit MainUnit;
...
procedure TMainForm.btnMemoryViewClick(Sender: TObject);
var
H: hWND;
begin
// Fix restore Memory Viewer after minimization // u
H := memorybrowser.Handle;
if IsIconic(H) then
SendMessage(H, WM_SYSCOMMAND, SC_RESTORE, 0);
memorybrowser.Show;
end;
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum