Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Sort of Window Title Bar above ToolBar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Sort of Window Title Bar above ToolBar

 Post Reply Post Reply
Author
Message
JoukevRossum View Drop Down
Groupie
Groupie
Avatar

Joined: 03 November 2011
Location: The Netherlands
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote JoukevRossum Quote  Post ReplyReply Direct Link To This Post Topic: Sort of Window Title Bar above ToolBar
    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#
Back to Top
JoukevRossum View Drop Down
Groupie
Groupie
Avatar

Joined: 03 November 2011
Location: The Netherlands
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote JoukevRossum Quote  Post ReplyReply Direct Link To This Post 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#
Back to Top
Arnoutdv View Drop Down
Groupie
Groupie


Joined: 29 September 2010
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote Arnoutdv Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
JoukevRossum View Drop Down
Groupie
Groupie
Avatar

Joined: 03 November 2011
Location: The Netherlands
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote JoukevRossum Quote  Post ReplyReply Direct Link To This Post 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#
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.