Print Page | Close Window

Removing MDI Form Title bar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=18207
Printed Date: 16 April 2024 at 6:17am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Removing MDI Form Title bar
Posted By: ahmadgames
Subject: Removing MDI Form Title bar
Date Posted: 12 April 2011 at 6:53am

Dears,

After using CJ Docking and Command Bars components, I couldn't remove the title bar for the Main MDI Form, we were removing it using some code like:

----------------------------------

x = GetWindowLong(Me.hwnd, GWL_STYLE)

x = x And (Not WS_DLGFRAME)

SetWindowLong Me.hwnd, GWL_STYLE, x

-----------------------------------

 

Do you have any other way to remove this.

 

Because we have a button on the system for a Full Screen System, that will make the system full screen and above the task bar, and it was removing the title bar and borders too so it remain as it is until pressing the button again.

 

Do you have any other solution for this.

 

Thanks.



-------------
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions



Replies:
Posted By: Oleg
Date Posted: 13 April 2011 at 2:21pm
Maybe you activated Office2007 frame ? just don't call Enableoffice2007Frame then.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: ahmadgames
Date Posted: 14 April 2011 at 7:22am
Thanks alot oleg, another great reply :)



-------------
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions



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