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
Printed Date: 21 February 2024 at 10:58pm
Software Version: Web Wiz Forums 12.04 -

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#

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

virtual void OnUpdateFrameTitle(BOOL bAddToTitle);


Product: Xtreme ToolkitPro (20.3.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 -
Copyright ©2001-2021 Web Wiz Ltd. -