Decorated frames or titlebar-less FrameWindows?
Posted: Tue Sep 13, 2011 03:44
Is there a simple way to create a window with a decorated frame that can contain other Windows? Sort of like a TaharezLook/FrameWindow without a titlebar.
I've tried a FrameWindow and disabling the titlebar with the "TitlebarEnabled" property, but it literally cuts the top of the window off and it looks terrible.
The intended use is for progress dialogs, "please wait"-style messages, popup messages that remain for a fixed time, etc.
I've been kludging a solution by setting a FrameWindow to have a 4-pixel high font, which shrinks the titlebar down somewhat. It's a definite kludge and I'm open to any suggestions for improvements.
I've tried a FrameWindow and disabling the titlebar with the "TitlebarEnabled" property, but it literally cuts the top of the window off and it looks terrible.
The intended use is for progress dialogs, "please wait"-style messages, popup messages that remain for a fixed time, etc.
I've been kludging a solution by setting a FrameWindow to have a 4-pixel high font, which shrinks the titlebar down somewhat. It's a definite kludge and I'm open to any suggestions for improvements.