FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH - New Office 2007 menus !!!
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
FWH - New Office 2007 menus !!!
Posted: Sun Oct 14, 2007 07:41 AM

Otto,

very nice! :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
FWH - New Office 2007 menus !!!
Posted: Sun Oct 14, 2007 09:59 AM
Mr Antonio

Thank you very much. Everything is working wonderful. Also glad you gave the sample illustration of typical Office2007 menu screen shot for the benefit of those like me. Now our menus exactly look like that.

Now what in my view is still remaining is that the List of windows under MDI Windows menu do not have the left vertical bar. I think MRU also look like the same. Here is the example:




Is it the intended behaviour? Or will you make this change also so that the numbers appear in the left vertical bar?
Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
FWH - New Office 2007 menus !!!
Posted: Sun Oct 14, 2007 10:22 AM

Mr Antonio

A few more points. The checkbox in our menus still do not appear in Orange boxes like in the sample of Office2007 menu.

Are you planning to provide for graying of bitmaps also for the disabled menu items?

Regards



G. N. Rao.

Hyderabad, India
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
FWH - New Office 2007 menus !!!
Posted: Sun Oct 14, 2007 10:35 AM

> Or will you make this change also so that the numbers appear in the left vertical bar?

We are working to find a way to implement it

> A few more points. The checkbox in our menus still do not appear in Orange boxes like in the sample of Office2007 menu.

Yes, we are aware of it. Its planned.

> Are you planning to provide for graying of bitmaps also for the disabled menu items?

We want to see first how Office 2007 does it

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
FWH - New Office 2007 menus !!!
Posted: Sun Oct 14, 2007 11:35 AM
Checked items are ready :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
FWH - New Office 2007 menus !!!
Posted: Sun Oct 14, 2007 12:35 PM

Thats very nice.
Can you please provide me the updated lib pls?

Regards



G. N. Rao.

Hyderabad, India
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
FWH - New Office 2007 menus !!!
Posted: Sun Oct 14, 2007 02:50 PM

Me too! :-)

EMG

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
FWH - New Office 2007 menus !!!
Posted: Sun Oct 14, 2007 03:06 PM
The following sample GPFs when you right click on the listbox:

#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oDlg, oLbx, nItem

    DEFINE DIALOG oDlg

    @ 0, 0 LISTBOX oLbx VAR nItem

    oLbx:bRClicked = { || MyPopup( oLbx ) }

    ACTIVATE DIALOG oDlg;
             CENTER

    RETURN NIL


STATIC FUNCTION MYPOPUP( oLbx )

    LOCAL oMenu

    MENU oMenu POPUP
        MENUITEM "Test"
    ENDMENU

    ACTIVATE MENU oMenu OF oLbx

    RETURN NIL


EMG
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
FWH - New Office 2007 menus !!!
Posted: Sun Oct 14, 2007 03:39 PM

It is not possible to set preview buttonbar and statusbar to 2007 look.

EMG

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
FWH - New Office 2007 menus !!!
Posted: Sun Oct 14, 2007 04:19 PM

Sometimes I get the disabled menu items longer than the enabled ones (ie. they break the blue bar of the new menu style) but I'm not able to build a sample of the problem yet.

EMG

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
FWH - New Office 2007 menus !!!
Posted: Sun Oct 14, 2007 05:18 PM
Enrico,

> The following sample GPFs when you right click on the listbox:

Thats a listbox bug. This is the fix:
METHOD DrawItem( nIdCtl, nPStruct ) CLASS TListBox

return If( ::lOwnerDraw,;
           LbxDrawItem( nPStruct, ::aBitmaps, ::aItems, ::nBmpWidth, ::bDrawItem ),;
           Super:DrawItem( nIdCtl, nPStruct ) )

Many thanks for your feedback :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
FWH - New Office 2007 menus !!!
Posted: Sun Oct 14, 2007 05:23 PM

Enrico,

> It is not possible to set preview buttonbar and statusbar to 2007 look.

From rpreview.prg we could check if the main bar is ::l2007 and then build a buttonbar 2007 instead of a toolbar.

Is that fine ? :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
FWH - New Office 2007 menus !!!
Posted: Sun Oct 14, 2007 07:04 PM
Antonio Linares wrote:Thats a listbox bug. This is the fix:
METHOD DrawItem( nIdCtl, nPStruct ) CLASS TListBox

return If( ::lOwnerDraw,;
           LbxDrawItem( nPStruct, ::aBitmaps, ::aItems, ::nBmpWidth, ::bDrawItem ),;
           Super:DrawItem( nIdCtl, nPStruct ) )

Many thanks for your feedback :-)


Thank you!

EMG
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
FWH - New Office 2007 menus !!!
Posted: Sun Oct 14, 2007 07:05 PM
Antonio Linares wrote:Enrico,

> It is not possible to set preview buttonbar and statusbar to 2007 look.

From rpreview.prg we could check if the main bar is ::l2007 and then build a buttonbar 2007 instead of a toolbar.

Is that fine ? :-)


Perfect! :-)

EMG
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
FWH - New Office 2007 menus !!!
Posted: Sun Oct 14, 2007 07:27 PM
Enrico,

getting closer :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com