Print Page | Close Window

How to remove MDI Child Form Name in Title bar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Active-X COM Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=22789
Printed Date: 13 October 2024 at 9:22am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to remove MDI Child Form Name in Title bar
Posted By: JoukevRossum
Subject: How to remove MDI Child Form Name in Title bar
Date Posted: 19 November 2015 at 11:09am
Does anyone know how to stop an mdi child to add his name to the main application window ? If my app is named MYMDI and the childforms caption is CHILD1, I get a caption MYMDI - [CHILD1] !
But I want the main window caption to keep the name MYMDI.
I'm looking for a solution in C# or VB.NET as I can translate it to C# ...

-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3
Platform: Windows 8.1 (x64)
Language: Visual Studio 2012 ActiveX C#



Replies:
Posted By: cpede
Date Posted: 19 November 2015 at 1:06pm
Look for information about the method:

virtual void OnUpdateFrameTitle(BOOL bAddToTitle);

-cpede


-------------
Product: Xtreme ToolkitPro (22.1.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)


Posted By: ScottW
Date Posted: 21 September 2018 at 11:37am
Is there some version of this event available somewhere in the ActiveX edition?

I could use this too, or something similar, since we used to change the base part of the form caption to the open database name. If I set the form caption to this, I see that the commandbars uses what I set when it does an update of the form caption itself, but since the form caption property doesn't support Unicode, I get ??? in the database name if it contains any of those characters.

An event that shows what the caption is about to be set to with an opportunity to change it first would be really helpful.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net