Print Page | Close Window

App Titlebar Move

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


Topic: App Titlebar Move
Posted By: daveED
Subject: App Titlebar Move
Date Posted: 19 August 2006 at 2:43pm
Hellow,
 
In my app when it loses focus and i try to move it with the title bar i get no respose, until i resize it or from the status bar,
 
 
Im Using Your Xtream Command Bars, SkinFrame Work,
 
Heres some sample code
 
Private Sub Form_Load()
 CommandBars.VisualTheme = xtpThemeRibbon
    CommandBars.EnableOffice2007Frame (ID_THEME_OFFICE2007FRAME) '= ID_THEME_OFFICE2007FRAME
 
SkinFramework.LoadSkin App.Path + "\Office2007.cjstyles", ""
SkinFramework.ApplyWindow Me.hwnd
SkinFramework.ApplyOptions = SkinFramework.ApplyOptions Or xtpSkinApplyMetrics
   
   
   
CommandBars.Options.ShowExpandButtonAlways = False
CommandBars.ActiveMenuBar.EnableDocking xtpFlagStretched
CommandBars.ActiveMenuBar.ModifyStyle &H400000, 0
End Sub
 
 Regards,
 Dave
 



Replies:
Posted By: Oleg
Date Posted: 21 August 2006 at 9:00am
Hello,
 
Do you see same problem with our skin samples?


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


Posted By: daveED
Date Posted: 21 August 2006 at 11:42am
 
No not in the unmodified Skin sample.
 
 
I added this and the prolbrem was:
 
  
    CommandBars.VisualTheme = xtpThemeRibbon
                         '  CommandBars.EnableOffice2007Frame (ID_THEME_OFFICE2007FRAME)                               

sfw.LoadSkin App.Path + "\Office2007.cjstyles", ""
sfw.ApplyWindow Me.hwnd
sfw.ApplyOptions = SkinFramework.ApplyOptions Or xtpSkinApplyMetrics


Posted By: Oleg
Date Posted: 21 August 2006 at 3:03pm
Hi,
What your OS, What toolkit version?


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


Posted By: daveED
Date Posted: 22 August 2006 at 2:35am
Hi,
 
My Os is XP Pro SP1,
 
and is toolkit v10.3
 
 
 
Also: , sorry to be a pain.
 
When i am using the RibbonSample and open a large text file say
greater than 900K, and when the window is maximized,
theres a flicke and the Standard Titlebar is shown, but is
removed when i resize.
 
 
 


Posted By: Oleg
Date Posted: 22 August 2006 at 9:30am
Hello,
Please open issue in isuetrack I will send you sample to test...


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


Posted By: Oleg
Date Posted: 22 August 2006 at 9:35am
Hi,
 
To clarify: So it doesn't happen in unmodified SkinSample, not in RibbonSample... Only happen when you use both EnableOffice2007Frame  + LoadSkin  ?


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


Posted By: daveED
Date Posted: 22 August 2006 at 9:42am
Correct,
 
 
 
I have Found this works fine:
 
CommandBars.VisualTheme = xtpThemeRibbon
                                 
SkinFramework.LoadSkin App.Path + "\Office2007.cjstyles", ""
SkinFramework.ApplyWindow Me.hWnd
'SkinFramework.ApplyWindow pboxForm.hWnd
SkinFramework.ApplyOptions = SkinFramework.ApplyOptions Or xtpSkinApplyMetrics
 
 
 
ok ill wait for issuetrack


Posted By: Oleg
Date Posted: 22 August 2006 at 2:29pm
Hello,
 
 
Please try this attachment.  https://forum.codejock.com/uploads/20060822_142852_ss.zip - ss.zip
 
Do you see the problem when focus lost and you press mouse in title bar?


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


Posted By: daveED
Date Posted: 22 August 2006 at 2:55pm

Hi, Champ

title bar focus is still not ok, But
The Hole frame loses it black border and flickers,
 
i beleave using
 
SkinFramework.LoadSkin App.Path & "\WinXP.Royale.cjstyles", ""
    SkinFramework.ApplyWindow Me.hWnd
    CommandBars.LoadDesignerBars
    

    
    CommandBars.VisualTheme = xtpThemeRibbon
    CommandBars.EnableOffice2007Frame True
 
caues the prolbrem.
 
Thanks Dave


Posted By: Oleg
Date Posted: 22 August 2006 at 3:22pm

Ok, last test:

To be sure we use same ocx files, I compilled oc and exe,
please download attachment again:
 
http://forum.codejock.com/uploads/20060822_152219_ss2.zip - uploads/20060822_152219_ss2.zip
 
register ocx files (regsvr32) and try
 
 
Thanks.


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


Posted By: daveED
Date Posted: 22 August 2006 at 4:01pm
Hi, All went good
 
 
With This OCX it ok
 
10.3.1.0
 
THe one i was using : 10.3.0.0
 
Thank you for your time you have been a great help
Thats why i guss  your a MCSD
 
David


Posted By: Oleg
Date Posted: 22 August 2006 at 4:42pm
Hi,
 
ok, great, 10.3.1.0 will be release very soon.
 
Lets try find reason second problem
in https://forum.codejock.com/forum_posts.asp?TID=4854 - https://forum.codejock.com/forum_posts.asp?TID=4854
 
Can you please replace attached ocx in your bin folder and check if you see problem?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE 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