Window always in front
Is it possible to have a window that is always in front of the other windows, even if it isn't the active one? I want to make a little floating toolbar window to my program, and I don't want it to be placed behind my main window when selecting it.
I'm using Visual C/C++.
WS_EX_TOPMOST extended window style or, if that doesn't work, use SetWindowPos to ensure it's always on top.
Thanks, but I got it myself. I just had to specify my main window as the "Owner window" when I created the toolbars.