Print Page | Close Window

Sort of Window Title Bar above ToolBar

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=22742
Printed Date: 06 May 2024 at 7:03am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Sort of Window Title Bar above ToolBar
Posted By: JoukevRossum
Subject: Sort of Window Title Bar above ToolBar
Date Posted: 02 October 2015 at 10:31am
Hi All,

I'm currently seeing a Window Title Bar above my toolbar.. I can drag it and it will drag my toolbar + usercontrol... How  can I disable this??

Thanks in advance.



Best regards,

Jouke


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



Replies:
Posted By: JoukevRossum
Date Posted: 12 October 2015 at 4:29am
Anybody???????

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


Posted By: Arnoutdv
Date Posted: 13 October 2015 at 10:21am
Can you post some code which replicates the problem?

-------------
VB6 SP6, SuitePro 16.3.0 / 18.2.0, Win10/64


Posted By: JoukevRossum
Date Posted: 15 October 2015 at 3:04am
This might be the problem...

        /// <summary>
        /// CommandBar Toolbar maken voor TreeView
        /// </summary>
        /// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns>
        public bool cmdAlleDossiers_CreateToolBar()
        {
            try
            {
                //eerst verwijderen
                cmdAlleDossiers.DeleteAll();
                var toolBar = cmdAlleDossiers.Add("Filteren"XTPBarPosition.xtpBarTop);
                var controls = toolBar.Controls;
                controls.Add(XTPControlType.xtpControlLabel, 000, "Zoeken :"truetrue);
                var customCombobox = controls.Add(XTPControlType.xtpControlCustomID.SEARCH_DOSSIER""truetrueas CommandBarControlCustom;
 
                if (customCombobox != null) customCombobox.Handle = cbTreeViewAutoComplete.Handle.ToInt32();
 
                cbTreeViewAutoComplete.Visible = false;
 
                toolBar.Closeable = false;
                toolBar.ShowGripper = false;
 
                cmdAlleDossiers.Dock = DockStyle.Top;
 
                try
                {
                    cmdAlleDossiers.Height = 26;
 
                    int left, top, right, bottom;
                    cmdAlleDossiers.GetClientRect(out left, out top, out right, out bottom);
 
                    panelDossierObjects.Top = cmdAlleDossiers.Bottom;
                    panelDossierObjects.Height = bottom - top;
                    panelDossierObjects.Left = left;
                    panelDossierObjects.Width = right - left;
                }
                catch (Exception ex)
                {
                    var dmsEx = new DmsException("Fout bij het koppelen van panel aan toolbar""Dossiers ToolBar", 306, ex);
                    ExceptionLogger.LogError(dmsEx);
                }
 
                return true;
            }
            catch (Exception ex)
            {
                var dmsEx = new DmsException("Fout bij het maken van dossiers toolbar""Dossiers Toolbar", 307, ex);
                ExceptionLogger.LogError(dmsEx);
                return false;
            }
        }


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



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