Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Ribbon when Maximized Issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ribbon when Maximized Issue

 Post Reply Post Reply
Author
Message
daveED View Drop Down
Newbie
Newbie


Joined: 16 August 2006
Location: Australia
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote daveED Quote  Post ReplyReply Direct Link To This Post Topic: Ribbon when Maximized Issue
    Posted: 22 August 2006 at 3:07pm
Hellow,
 
When i open a file with the RibbonSample when Maximized the title bar resorts back to the winXp Defualt title bar,
 
But only when Maximized, it fine other wise.
 
 
Have You got any idears how to get the window to maximize just below
ClientHeight ClientWidth 
 
 
regards, David
 
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 22 August 2006 at 3:16pm
Hi,
So you opened RibbonSample, slect System Button->Open (Message Box appeared) and after see standard title?
 
Can you attach screenshot?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
daveED View Drop Down
Newbie
Newbie


Joined: 16 August 2006
Location: Australia
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote daveED Quote  Post ReplyReply Direct Link To This Post Posted: 22 August 2006 at 4:50pm

hi, no mate i have added a open dialog happens when eg 900K txt files

after it hit open from the dialog,

Regards,
Dave
 
 
Back to Top
daveED View Drop Down
Newbie
Newbie


Joined: 16 August 2006
Location: Australia
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote daveED Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2006 at 7:58am
 Hi olge,
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2006 at 8:46am
Sorry, don't see attachment. :(
 
ok, as I understand you changed code to allow open file, can you show what exactly you changed?
 
 
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
daveED View Drop Down
Newbie
Newbie


Joined: 16 August 2006
Location: Australia
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote daveED Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2006 at 8:59am
all i did for for the samlpe wwas add to ;
 
Private Sub CommandBars_Execute(ByVal Control As XtremeCommandBars.ICommandBarControl)

Was
 
Case ID_FILE_OPEN: mnuFileOpen_Click
 
 
'----------------------------------------------------------------------
and to Form_Load()
 
    SkinFramework.LoadSkin App.Path + "\Office2007.cjstyles", ""
 
 
SkinFramework.ApplyOptions = SkinFramework.ApplyOptions Or xtpSkinApplyMetrics
 
------------------------------------------------------------------------
Private Sub mnuFileOpen_Click()
    Dim sFile As String
        CommonDialog1.DialogTitle = "Open"
        CommonDialog1.CancelError = False
        CommonDialog1.Filter = "Text Documents (*.txt)|*.txt"
        CommonDialog1.ShowOpen
        If Len(CommonDialog1.FileName) = 0 Then
       End If
              
     sFile = CommonDialog1.FileName
    txtClient.LoadFile sFile
Caption = CommonDialog1.FileTitle
End Sub
Back to Top
daveED View Drop Down
Newbie
Newbie


Joined: 16 August 2006
Location: Australia
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote daveED Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2006 at 9:02am
try adding this add a common dialog
 
run it. maximize window, open file, and then re open a file
can you tell me what you see ?
 
 
Ps can i send you a  email attachment of the screen shot?
Back to Top
daveED View Drop Down
Newbie
Newbie


Joined: 16 August 2006
Location: Australia
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote daveED Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2006 at 9:11am

try hitting this

 

http://210.10.216.122/test/

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2006 at 9:14am
That link doe snot work for me
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2006 at 9:15am
Originally posted by daveED daveED wrote:

try adding this add a common dialog
 
run it. maximize window, open file, and then re open a file
can you tell me what you see ?
 
 
Ps can i send you a  email attachment of the screen shot?


You can sent to support@codejock.com
Back to Top
daveED View Drop Down
Newbie
Newbie


Joined: 16 August 2006
Location: Australia
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote daveED Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2006 at 9:23am

 

I have sent a email with attachment i hope you receve it

Back to Top
daveED View Drop Down
Newbie
Newbie


Joined: 16 August 2006
Location: Australia
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote daveED Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2006 at 9:57am
Here This Link should Work
 
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2006 at 10:54am
Thanks a lot. I see problem
 
Actually problem in Form.Caption property -
seems when calling this property Visual Basic not only change Window Caption but also change styles of frame... if you comment
Caption = dlgCommonDialog.FileTitle
you will see that problem will gone....
 
 
Workaround now instead Caption property use API SetWindowText:
 
Private Declare Function SetWindowText Lib "user32.dll" Alias "SetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String) As Long
 
SetWindowText Me.hwnd, dlgCommonDialog.FileTitle
 
 
Thanks a lot for this issue.
 
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
daveED View Drop Down
Newbie
Newbie


Joined: 16 August 2006
Location: Australia
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote daveED Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2006 at 10:57am
Thanks for the help
 
you have been great help
 
 
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.172 seconds.