Reputation: 892
How can I create a Sidebar form in delphi.
I try the ScreenSnap
and Align
properties but I need that the form stay visible even if the user maximize other forms, without been on top. Just like the windows sidebar do.
Update: From the comments: if a window is maximized, it maximizes next to the window, not in front of or behind.
Upvotes: 3
Views: 1234
Reputation: 163287
What you're looking for is called an AppBar. Begin your research with the ShAppBarMessage
API function.
Upvotes: 7
Reputation: 3717
You can call a Windows API function to force your application to stay on top:
SetWindowPos(Handle, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
Upvotes: 0