Hi Roger,
the problem seems to be your method ResizeDrawingArea.
RibbonBar and Win7
-
- Posts: 481
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: RibbonBar and Win7
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
Re: RibbonBar and Win7
as i say Codejock and other Windows Application does not know about :DrawingArea and Xbase++ return wrong Size when using CJ Controls.Wolfgang Ciriack wrote:the problem seems to be your method ResizeDrawingArea.
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
Jimmy
Re: RibbonBar and Win7
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.
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.