Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
Randy31416
19 discussion posts
I've got a VB6 program that shows a small window with no titlebar. DF puts its titlebar buttons on the window nonetheless, in the middle of a text input box in the particular case at hand.. (The icon images are custom images.) Is there a way to stop this?
• Attachment: DF titlebar buttons.png [11,721 bytes]
DF titlebar buttons.png
DF titlebar buttons.png
Nov 8, 2015  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
The easiest thing to do would be to create Compatibility rule (Settings > Compatibility) for that application. In the rule, enable the "Disable TitleBar Buttons (this application)" option.

Hope that helps!
Nov 10, 2015  • #2
User Image
Randy31416
19 discussion posts
Thanks for the suggestion. I've done that, since posting, and also restricted the width of windows on which titlebar buttons are allowed (I wish there were a vertical restriction as well), and that solves the case of top-level windows. But I have seen a dialog box or two issued from a main window on which I want the titlebar buttons that have, in the dialog, errant buttons. I think there is not a way provided (and likely shouldn't be a way because of complexity) to restrict the buttons on these. I'll happily live with what I see (or ultimately if I can't in a special case then I'll do some kind of adaptation).
Nov 10, 2015  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks Randy! If it's an app we can test here, we should be able to fix up the issue of the buttons showing up on the dialogs. We may also add the ability to create Compatibility rules that match specific window classes or titles, which would also help there :)
Nov 13, 2015  • #4
User Image
Randy31416
19 discussion posts
As it stands I can live, easily and happily,. with things as they are, but it does seem strange to me that titlebar buttons are allowed to be drawn on windows without titlebars. I would think that the presence or absence of a titlebar is something that could be determined solely by looking at the window properties. "I am not a lawyer trained windows programmer", so likely I am wrong. As for adding compatability constraints on classes and titles, quickly one wants wild cards and regex operators and on and on and on, so I think you are better off with the simplicity of what you now have. Which is very very nice.
Nov 14, 2015  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Yeah, the problem is that some windows have the properties we look for (like WS_CAPTION) even if they don't have an actual caption bar. You can check with something like Window Detective. I've attached instructions for that program if you wanted to check it out :)
• Attachment: Window Detective Instructions.pdf [222,458 bytes]
Nov 17, 2015  • #6
User Image
Randy31416
19 discussion posts
That's a good program. What I found with it is that the offending windows, although they do not have WS_CAPTION set, do have WS_MAXIMIZEBOX and WS_MINIMIZEBOX set. If these are toggled off then Display Fusion takes away its titlebar buttons. So I have removed those settings from the offending windows, and removed as well the compatability settings I had given DF, and now things work fine out of the box.

Thanks for the pointer to Window Detective. And for the superb responsiveness of this forum.
Nov 17, 2015  • #7
Keith Lammers (BFS)'s profile on WallpaperFusion.com
No worries, glad we could help!
Nov 18, 2015  • #8
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)