FWH - New Office 2007 menus !!!

User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Otto,

very nice! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

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:

Image


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
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

> 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Checked items are ready :-)

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

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

G. N. Rao.
Hyderabad, India
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

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

Code: Select all

#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
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

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

EMG
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Enrico,

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

Thats a listbox bug. This is the fix:

Code: Select all

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

Antonio Linares wrote:Thats a listbox bug. This is the fix:

Code: Select all

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
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Enrico,

getting closer :-)

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply