Thread: MenuStrip & ToolStrip look like Office 2007?

  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    244

    MenuStrip & ToolStrip look like Office 2007?

    hi!
    i wondered if it was possible to make a the app (menuStrips and toolStrips) look like office 2007?
    i guess i need to use .net framework, but i dont know how.
    would apprecheate any help
    bye!

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    I would say it's possible via many 3rd part libraries for C++ and it's probably available in Microsoft's .NET Framework, as well. You might just need to select which way you want to go.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Registered User
    Join Date
    Jan 2008
    Posts
    244
    well, what do you reecomend for me? i would spontanely say .net framework...
    if thats what is good, tell me: how do i implement it?

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    I don't really know how to create those user controls at all, via either language, I'm afraid to say.
    However, I can almost certainly say it's going to be harder in C++ (and you may have to pay for a 3rd party library, too).
    If you can use C#, then I would probably say it's the easiest.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    Registered User
    Join Date
    Jan 2008
    Posts
    244
    actually, we are in the c# forums right now...

  6. #6
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Just enter the visual designer (or whatever it's called). Here you can simply drag-n-drop a toolstrip then fill it with items. It has a typical "flashy" layout, if it's the same as Office2007 I dunno, but with some skillz you could hack the paint methods and make it look better.
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  7. #7
    Registered User
    Join Date
    Jan 2008
    Posts
    244
    i dont have the skills needed to hack the toolstrip to make it look like office 2007... thats why i'm askin for help here

  8. #8
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    I believe he's talking about the Ribbon effects. My visual Studio only has the 2003 style toolstrips, not the ribbon

  9. #9
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Well, a search on google revealed this as the first hit. Maybe something to look closer on?
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  10. #10
    Registered User
    Join Date
    Jan 2008
    Posts
    244
    that seems to be for web applications. i'm looking to something to implement into a windows form.

  11. #11
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    Since when could you not use Windows Forms Controls for both web and desktop apps? Though it does say it's for WPF.

  12. #12
    Registered User
    Join Date
    Jan 2008
    Posts
    244
    so how exactly do i _use_ this stuff?

  13. #13
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    Most likely the same way you use a user control. You download the library they provide, add a reference to your project, and add the controls to your toolbox.

  14. #14
    Registered User
    Join Date
    Apr 2008
    Location
    USA
    Posts
    24

    Cool Ribbon tool bars

    Those types of menu & tool bars are referred to as Ribbons and this is a specially designed end-user oriented product for developers and is basically the redefined or hacked GUI libraries and controls. These tools are licensed to individuals that do not want to rework the GUI elements themselves. Purchase a license otherwise you are going to have to do it yourself as this kind of design is not very trivial.

    If you got some time and wish to investigate the possibilities of creating your own menus, toolbars; etc. visit "The Code Project" and navigate to their C# resources as there are many, many posts with examples and source code for overiding GUI elements and creating 'custom controls.'

    If you are seriously considering the possibility of just purchasing a license to use a Ribbon style set of controls do a Google for .Net Ribbon tool Bars or .Net Ribbon Menu Strip controls as I'm quite certain these searches will yield some interesting results for you.

    I, myself, find that the Outlook toolbars are far more intuitive and realestate friendly on a varied number of monitors. An example of this is VS C#.Net Express Ed.'s slide in menu with the Outlook collapsible controls that contain all of your drag & drop control elements. This is optimized resource handling to the max approaching space as an asset to be managed like in real world business. Business objects 101 anyone?

  15. #15
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    As for me, I'll leave the GUI creations for the experts

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Anyone view this forum on a Blackberry?
    By Sharke in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 06-09-2009, 04:02 PM
  2. c++ help needed
    By ettore in forum C++ Programming
    Replies: 17
    Last Post: 01-18-2008, 12:20 PM
  3. Hooking into the Microsoft Office File Open/Save Dialogs
    By JuggernautMsn in forum Windows Programming
    Replies: 0
    Last Post: 09-09-2007, 12:50 PM
  4. What is your favourite office suite?
    By Nutshell in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 06-06-2002, 02:44 AM