Print Page | Close Window

EnableFrameTheme issue

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=11352
Printed Date: 15 June 2025 at 11:37pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: EnableFrameTheme issue
Posted By: Rmoz
Subject: EnableFrameTheme issue
Date Posted: 08 July 2008 at 10:30pm
Hi,
 
I have a very odd issue with a ribbon on a form. When enableframetheme is set, and the grid control (a Formula One OLE Grid control) gets focus, the ribbon stops functioning. The execute event stops firing even though the tabs will still change and the 'globe' button shows its menu. I have looked through the forums and changed the setting of the forms caption to using the SetWindowText API. I have also removed the skinning and also changed the sequence of events (i.e no skinning, skinning before and after the ribbon creation etc) all manifest in the same behaviour. The only thing that seems to work happily is not setting enableframetheme.
 
This is the first time I have encountered this, and have other forms from the same app with skins/ribbon/enableframetheme set.
 
This is a VB6 app running on XP SP3. 
 
Any advice gratefully accepted!!!


-------------
ActiveX SuitePro v13.0



Replies:
Posted By: Oleg
Date Posted: 09 July 2008 at 4:40am

Hi,

To resolve such issues we need sample application to see your problem with our PC. Please submit sample to mailto:support@codejock.com - support@codejock.com andwrite details how reproduce it.


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


Posted By: Baldur
Date Posted: 09 July 2008 at 9:30am
May be, the gridcontrol subclasses the mainwindow.
Has this gridcontrol own menues ?
Try to put the gridcontrol in a separate form and attach this form to a dockingpane in the mainwindow, so the gridcontrol doesn't know anything about the mainform.


Posted By: Rmoz
Date Posted: 10 July 2008 at 2:46am
Hi,
 
We managed to get to the bottom of the issue. If the forms NavigateMenus property was set to false, eveything works as intended. Thanks for your help, I hope I didn't take up too much of your time.
 
Thanks!


-------------
ActiveX SuitePro v13.0



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