RibbonBar and Win7

This forum is for support of XCodeJock
Message
Author
Wolfgang Ciriack
Posts: 478
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: RibbonBar and Win7

#11 Post by Wolfgang Ciriack »

Hi Roger,
the problem seems to be your method ResizeDrawingArea.
_______________________
Best Regards
Wolfgang

User avatar
Auge_Ohr
Posts: 1405
Joined: Wed Feb 24, 2010 3:44 pm

Re: RibbonBar and Win7

#12 Post by Auge_Ohr »

Wolfgang Ciriack wrote:the problem seems to be your method ResizeDrawingArea.
as i say Codejock and other Windows Application does not know about :DrawingArea and Xbase++ return wrong Size when using CJ Controls.

so you have to "calculate" it from oDialog:CurrentSize - Ribbonbar high/wide. -Border (-FramePadding / Win7)

Also :DrawingArea "Size" will different e.g. when Ribbonbar :AllowMinimize := .T. is :Minimized == .T.
which is different as Hide (oDialog:oCommandbarS:ActiveMenuBar:Visible := .T. )

btw.
same is with Codejock Shortcutbar when set to left/right Side of :DrawingArea.
You will get "wrong" Size from :DrawingArea:CurrentSize()

what shell we do ? we can wait until Alaska fix it or we can use a workaroud with "calculation"
greetings by OHR
Jimmy

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: RibbonBar and Win7

#13 Post by rdonnay »

I don't have any problem with workarounds.

That's what I have been doing in eXpress++ since day 1.

If I can calculate the ribbonbar area, I must now attach a window to the dialog rather than the drawingArea, as I do in DCSTATUSBARs. This concept is not new to me. What I am not sure about yet is how much control I will have of that static area. That is my work for this weekend.
The eXpress train is coming - and it has more cars.

Post Reply