Side panel

How to create a sidebar in delphi.

I am trying to use the ScreenSnap and Align properties but I need to keep the form visible even if the user maximizes other forms without being on top. Like the Windows sidebar.

update from comments: if the window is maximized, it maximizes the next window as well, not front or back.

thank

+3
source share
2 answers

What you are looking for is called AppBar. Start your research with the ShAppBarMessageAPI function .

+7
source

You can call the Windows API function to make the application stay on top:

SetWindowPos(Handle, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
0
source

Source: https://habr.com/ru/post/1699543/


All Articles