Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Is cool GUI possible with C#/.Net?

Is cool GUI possible with C#/.Net?

Scheduled Pinned Locked Moved The Lounge
csharpc++dotnetvisual-studioquestion
27 Posts 11 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    G Suresh
    wrote on last edited by
    #1

    Is it possible to write MFC like GUI (cool office look, VS look etc) with C# and the .Net framework? I am starting a project that is kind of GUI intensive and have permission to use .Net if it will work for us. I would prefer to work with the cool new stuff. But then will I miss anything coming from the MFC side of things? How about 3rd party support? Dundas, Stingray, BCGSoft? Thanks a bunch! Suresh

    C C N P P 6 Replies Last reply
    0
    • G G Suresh

      Is it possible to write MFC like GUI (cool office look, VS look etc) with C# and the .Net framework? I am starting a project that is kind of GUI intensive and have permission to use .Net if it will work for us. I would prefer to work with the cool new stuff. But then will I miss anything coming from the MFC side of things? How about 3rd party support? Dundas, Stingray, BCGSoft? Thanks a bunch! Suresh

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Nothing smells like danger more than someone using something new, not because it will help, but because it won't hurt. Save your playing for playtime, and use proven tools unless C# gives you compelling reason to do otherwise. I will be shortly learning C# at home, but I wouldn't dream of using it at work unless a need came up and I felt it was *the* tool for the job. It's shiny newness and the need for my users to install the CLR would make me tend away from it unless the case was truly compelling. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001

      G 1 Reply Last reply
      0
      • G G Suresh

        Is it possible to write MFC like GUI (cool office look, VS look etc) with C# and the .Net framework? I am starting a project that is kind of GUI intensive and have permission to use .Net if it will work for us. I would prefer to work with the cool new stuff. But then will I miss anything coming from the MFC side of things? How about 3rd party support? Dundas, Stingray, BCGSoft? Thanks a bunch! Suresh

        C Offline
        C Offline
        Chris Maunder
        wrote on last edited by
        #3

        Hmm - Christian is such a ray of sunshine isn't he ;) I'm posting some articles this afternoon (or tonight) that replicate the VS.NET GUI using C#. It can be done, and the results are fantastic. cheers, Chris Maunder (CodeProject)

        C 1 Reply Last reply
        0
        • C Chris Maunder

          Hmm - Christian is such a ray of sunshine isn't he ;) I'm posting some articles this afternoon (or tonight) that replicate the VS.NET GUI using C#. It can be done, and the results are fantastic. cheers, Chris Maunder (CodeProject)

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Hmm - Christian is such a ray of sunshine isn't he As I've said once already today, I'm ALWAYS arrogant and opinionated. However, do you disagree that in a work situation it's wrong to use a new tool just for the sake of it, when it comes with the sort of cost C# does, in terms of CLR distribtion, in terms of using a beta compiler at this stage to build it, in terms above all else of total lack of adequate reason to ? I know how he feels, I've wanted for ages to find an excuse to use ATL at work, but I've never found a compelling reason to do so and so haven't. So I did it in my own time. That's all I am advocating. I'll look forward to your article though, my book should arrive this week, and my latest DB should be finished, so I'll be allocating some of my spare time to some C#. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001

          C P D 3 Replies Last reply
          0
          • G G Suresh

            Is it possible to write MFC like GUI (cool office look, VS look etc) with C# and the .Net framework? I am starting a project that is kind of GUI intensive and have permission to use .Net if it will work for us. I would prefer to work with the cool new stuff. But then will I miss anything coming from the MFC side of things? How about 3rd party support? Dundas, Stingray, BCGSoft? Thanks a bunch! Suresh

            N Offline
            N Offline
            Nish Nishant
            wrote on last edited by
            #5

            Suresh I am not sure that its a smart idea to develop a comemrcial product using a beta tool. beta 1 and beta 2 had several differences And I bet that when they release it, it will be further different from the beta versions I'd probably wait for them to release VS.NET and then wait again till they release the inevitable SP 1 before doing anything serious with it Regards Nish

            T 1 Reply Last reply
            0
            • C Christian Graus

              Hmm - Christian is such a ray of sunshine isn't he As I've said once already today, I'm ALWAYS arrogant and opinionated. However, do you disagree that in a work situation it's wrong to use a new tool just for the sake of it, when it comes with the sort of cost C# does, in terms of CLR distribtion, in terms of using a beta compiler at this stage to build it, in terms above all else of total lack of adequate reason to ? I know how he feels, I've wanted for ages to find an excuse to use ATL at work, but I've never found a compelling reason to do so and so haven't. So I did it in my own time. That's all I am advocating. I'll look forward to your article though, my book should arrive this week, and my latest DB should be finished, so I'll be allocating some of my spare time to some C#. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001

              C Offline
              C Offline
              Chris Maunder
              wrote on last edited by
              #6

              Your reaction was "don't even bother", while I'm saying "Let me show you an example so you can make up your own mind". Obviously it's difficult to make a decision on .NET until it goes gold, but spending a few hours investigating it's possibilities certainly isn't a waste of time - even if the verdict is to stay with win32. cheers, Chris Maunder (CodeProject)

              1 Reply Last reply
              0
              • N Nish Nishant

                Suresh I am not sure that its a smart idea to develop a comemrcial product using a beta tool. beta 1 and beta 2 had several differences And I bet that when they release it, it will be further different from the beta versions I'd probably wait for them to release VS.NET and then wait again till they release the inevitable SP 1 before doing anything serious with it Regards Nish

                T Offline
                T Offline
                Todd Smith
                wrote on last edited by
                #7

                Will the VS.NET runtime and libraries work on all Windows OS's? I know MS is trying to get rid of 95. IE6 and MediaPlayer 7 will no longer install on 95.

                Todd Smith

                1 Reply Last reply
                0
                • G G Suresh

                  Is it possible to write MFC like GUI (cool office look, VS look etc) with C# and the .Net framework? I am starting a project that is kind of GUI intensive and have permission to use .Net if it will work for us. I would prefer to work with the cool new stuff. But then will I miss anything coming from the MFC side of things? How about 3rd party support? Dundas, Stingray, BCGSoft? Thanks a bunch! Suresh

                  P Offline
                  P Offline
                  Paul Watson
                  wrote on last edited by
                  #8

                  I can say with 100% qualification that developing an attractive, robust and usable GUI in C# using Visual Studio .NET (Beta 2 so far) is an almost wondrous experience. MS have put a lot of thought into the controls that come with VS.NET and using them is really easy. Naturally VS.NET will support a myriad of 3rd Party controls so you should have no fear there (you might need to research wether "old" controls will work in VS.NET though as I have not tested that yet). However if the only reason you are thinking about using C# is because it has cool UI features then you may be asking for trouble. Do you or any of your fellow developers know C#? Or do you have the time to learn a new language and a whole new "platform" (.NET) on which to code? If you have the time to learn C# then go for it, but if you are going to be learning as you go on the project and the project is a complex app then you could get in trouble. IMHO. If you do go C# please give us a report back on how it went, thanks. :) regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge "In other words, the developer is dealing with an elephant, the accountant is dealing with a bunny rabbit." by Stan Shannon - 16/10/2001

                  C A 2 Replies Last reply
                  0
                  • P Paul Watson

                    I can say with 100% qualification that developing an attractive, robust and usable GUI in C# using Visual Studio .NET (Beta 2 so far) is an almost wondrous experience. MS have put a lot of thought into the controls that come with VS.NET and using them is really easy. Naturally VS.NET will support a myriad of 3rd Party controls so you should have no fear there (you might need to research wether "old" controls will work in VS.NET though as I have not tested that yet). However if the only reason you are thinking about using C# is because it has cool UI features then you may be asking for trouble. Do you or any of your fellow developers know C#? Or do you have the time to learn a new language and a whole new "platform" (.NET) on which to code? If you have the time to learn C# then go for it, but if you are going to be learning as you go on the project and the project is a complex app then you could get in trouble. IMHO. If you do go C# please give us a report back on how it went, thanks. :) regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge "In other words, the developer is dealing with an elephant, the accountant is dealing with a bunny rabbit." by Stan Shannon - 16/10/2001

                    C Offline
                    C Offline
                    Christian Graus
                    wrote on last edited by
                    #9

                    However if the only reason you are thinking about using C# is because it has cool UI features then you may be asking for trouble. Do you or any of your fellow developers know C#? Or do you have the time to learn a new language and a whole new "platform" (.NET) on which to code? If you have the time to learn C# then go for it, but if you are going to be learning as you go on the project and the project is a complex app then you could get in trouble. IMHO. Thank you for making my point more lucidly. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001

                    1 Reply Last reply
                    0
                    • G G Suresh

                      Is it possible to write MFC like GUI (cool office look, VS look etc) with C# and the .Net framework? I am starting a project that is kind of GUI intensive and have permission to use .Net if it will work for us. I would prefer to work with the cool new stuff. But then will I miss anything coming from the MFC side of things? How about 3rd party support? Dundas, Stingray, BCGSoft? Thanks a bunch! Suresh

                      P Offline
                      P Offline
                      Paulo
                      wrote on last edited by
                      #10

                      Maybe you can try this one: http://www.devexpress.com/products/net/xtrabars/index.asp :omg::omg::omg: :-O beware that this product is still in beta but it will be released soon :laugh::cool:

                      1 Reply Last reply
                      0
                      • C Christian Graus

                        Hmm - Christian is such a ray of sunshine isn't he As I've said once already today, I'm ALWAYS arrogant and opinionated. However, do you disagree that in a work situation it's wrong to use a new tool just for the sake of it, when it comes with the sort of cost C# does, in terms of CLR distribtion, in terms of using a beta compiler at this stage to build it, in terms above all else of total lack of adequate reason to ? I know how he feels, I've wanted for ages to find an excuse to use ATL at work, but I've never found a compelling reason to do so and so haven't. So I did it in my own time. That's all I am advocating. I'll look forward to your article though, my book should arrive this week, and my latest DB should be finished, so I'll be allocating some of my spare time to some C#. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001

                        P Offline
                        P Offline
                        Paul Westcott
                        wrote on last edited by
                        #11

                        I really don't think time at home allows you the time needed to really get to know a technology anyway; I don't think I felt comfortable using ATL until 100+ hours - and I'm not sure about you, but to clock up 100+ hours on the computer out of work time would be - Ummm... (well besides email time) about a year. But, when I am using a new technology at work I do tend to work longer hours. Now you might say that that is the equivalvent of working from home; but no I disagree because you need to have a consentrated burst of learning to get you to that 100+ hour mark. And of course, if after the 2 weeks or so of delving in you find that it doesn't do what you want, then you have to spend late night for the next couple of weeks in extra time making up for it. But if you don't take a risk, then you never get results. Obviously you evaluate your options (study peoples comments, read a few reviews) but then you do have to risk. It is what the the modern world is based on. (ie. put your money in the bank, low risk-low return, on the stock market, well...) Have fun, Paul Westcott.

                        C 1 Reply Last reply
                        0
                        • G G Suresh

                          Is it possible to write MFC like GUI (cool office look, VS look etc) with C# and the .Net framework? I am starting a project that is kind of GUI intensive and have permission to use .Net if it will work for us. I would prefer to work with the cool new stuff. But then will I miss anything coming from the MFC side of things? How about 3rd party support? Dundas, Stingray, BCGSoft? Thanks a bunch! Suresh

                          C Offline
                          C Offline
                          Chris Maunder
                          wrote on last edited by
                          #12

                          It's a simple example, but does answer the question 'Is it possible to write MFC like GUI (cool office look, VS look etc) with C# and the .Net framework?' Visual Studio .NET Menu Style. Over to you to decide whether or not it's worth embracing a technology that hasn't been released yet. We're looking forward to your comments! cheers, Chris Maunder (CodeProject)

                          1 Reply Last reply
                          0
                          • C Christian Graus

                            Hmm - Christian is such a ray of sunshine isn't he As I've said once already today, I'm ALWAYS arrogant and opinionated. However, do you disagree that in a work situation it's wrong to use a new tool just for the sake of it, when it comes with the sort of cost C# does, in terms of CLR distribtion, in terms of using a beta compiler at this stage to build it, in terms above all else of total lack of adequate reason to ? I know how he feels, I've wanted for ages to find an excuse to use ATL at work, but I've never found a compelling reason to do so and so haven't. So I did it in my own time. That's all I am advocating. I'll look forward to your article though, my book should arrive this week, and my latest DB should be finished, so I'll be allocating some of my spare time to some C#. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001

                            D Offline
                            D Offline
                            Daniel Turini
                            wrote on last edited by
                            #13

                            I think the question here is: will you "eat" your application ? If you'll depend on your application for surviving, don't take risks trying anything new until you have a working version. If it's just another application and is not critical for your bussiness, then you SHOULD try .NET, because it looks like more productive at a long term, specially in group programming, when most programmers simply do not understand when to use STL, ATL, MFC, and those 200 different string types. Furor fit laesa saepius patientia

                            C 1 Reply Last reply
                            0
                            • P Paul Watson

                              I can say with 100% qualification that developing an attractive, robust and usable GUI in C# using Visual Studio .NET (Beta 2 so far) is an almost wondrous experience. MS have put a lot of thought into the controls that come with VS.NET and using them is really easy. Naturally VS.NET will support a myriad of 3rd Party controls so you should have no fear there (you might need to research wether "old" controls will work in VS.NET though as I have not tested that yet). However if the only reason you are thinking about using C# is because it has cool UI features then you may be asking for trouble. Do you or any of your fellow developers know C#? Or do you have the time to learn a new language and a whole new "platform" (.NET) on which to code? If you have the time to learn C# then go for it, but if you are going to be learning as you go on the project and the project is a complex app then you could get in trouble. IMHO. If you do go C# please give us a report back on how it went, thanks. :) regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge "In other words, the developer is dealing with an elephant, the accountant is dealing with a bunny rabbit." by Stan Shannon - 16/10/2001

                              A Offline
                              A Offline
                              Anders Molin
                              wrote on last edited by
                              #14

                              but if you are going to be learning as you go on the project and the project is a complex app then you could get in trouble Hmmm, thats the way I have learned everything I know about programming. - Anders Money talks, but all mine ever says is "Goodbye!"

                              P C 2 Replies Last reply
                              0
                              • A Anders Molin

                                but if you are going to be learning as you go on the project and the project is a complex app then you could get in trouble Hmmm, thats the way I have learned everything I know about programming. - Anders Money talks, but all mine ever says is "Goodbye!"

                                P Offline
                                P Offline
                                Paul Watson
                                wrote on last edited by
                                #15

                                Same here but it is not an optimal method. Plus you are a bright guy with lots of experience. Paramedics don't learn on the job, nor do brain surgeons. Not even truck drivers learn on the job. Yes they learn tips and tricks of the trade but the fundamentals are all taught to them and they get a license or a degree at the end to qualify them. You don't say to your client "don't worry Bob, I will be learning C# as I go on your project. By the way should the heart monitor blink or wail when the patients heart stops beating?". ;) By all means learn new technologies on "demo" applications but learning a new tech on a real world client app is bad form and asking for trouble. regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge "In other words, the developer is dealing with an elephant, the accountant is dealing with a bunny rabbit." by Stan Shannon - 16/10/2001

                                E 1 Reply Last reply
                                0
                                • C Christian Graus

                                  Nothing smells like danger more than someone using something new, not because it will help, but because it won't hurt. Save your playing for playtime, and use proven tools unless C# gives you compelling reason to do otherwise. I will be shortly learning C# at home, but I wouldn't dream of using it at work unless a need came up and I felt it was *the* tool for the job. It's shiny newness and the need for my users to install the CLR would make me tend away from it unless the case was truly compelling. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001

                                  G Offline
                                  G Offline
                                  G Suresh
                                  wrote on last edited by
                                  #16

                                  Maybe, I should have been a bit more clear about this. I am not looking into .Net merely because it is cool. I do think that the environment is more productive (I have been learning c# for the past 6 months or so). My question is more on the lines of "Ok, I know that I will probably be more productive in C# than C++. But am I giving up something by moving away from MFC?" I have taken into account the following: 1) Most of asp.net appears to have been written in C#. The framework does appear quite stable. 2) Little change from Beta 2 to RC1 indicates maturity (to me) 3) Documentation seems pretty complete. 4) CLR distribution is not an issue for me since I have a closed audience that will be able to upgrade easily. But these issues worry me: 1) Not many third party tools. Maybe just a question of time. 2) Resources are few; gurus hard to come by :( 3) No source code for the framework. 4) Even if third party libraries become available will they give out source code? I really like having all the source code for my MFC apps (I use both Dundas and Stingray and have their source). Thanks, Suresh

                                  C 1 Reply Last reply
                                  0
                                  • P Paul Watson

                                    Same here but it is not an optimal method. Plus you are a bright guy with lots of experience. Paramedics don't learn on the job, nor do brain surgeons. Not even truck drivers learn on the job. Yes they learn tips and tricks of the trade but the fundamentals are all taught to them and they get a license or a degree at the end to qualify them. You don't say to your client "don't worry Bob, I will be learning C# as I go on your project. By the way should the heart monitor blink or wail when the patients heart stops beating?". ;) By all means learn new technologies on "demo" applications but learning a new tech on a real world client app is bad form and asking for trouble. regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge "In other words, the developer is dealing with an elephant, the accountant is dealing with a bunny rabbit." by Stan Shannon - 16/10/2001

                                    E Offline
                                    E Offline
                                    Eddie Velasquez
                                    wrote on last edited by
                                    #17

                                    Paramedics don't learn on the job, nor do brain surgeons You told you that? I'm waiting for my first victim... er, pacient so I can practice what I learned in "Brain Surgery for Dummies". :-D I still think "Teach Yourself Brain Surgery in 21 Days" is better. :cool: Foot-and-Mouth disease is believed to be the first virus unable to spread through Microsoft Outlook

                                    P 1 Reply Last reply
                                    0
                                    • E Eddie Velasquez

                                      Paramedics don't learn on the job, nor do brain surgeons You told you that? I'm waiting for my first victim... er, pacient so I can practice what I learned in "Brain Surgery for Dummies". :-D I still think "Teach Yourself Brain Surgery in 21 Days" is better. :cool: Foot-and-Mouth disease is believed to be the first virus unable to spread through Microsoft Outlook

                                      P Offline
                                      P Offline
                                      Paul Watson
                                      wrote on last edited by
                                      #18

                                      I hope you got the revised 2001 edition of Brain Surgery for Dummies. My nureolegist friend said that it had typo on page 2005. Originally it said that the abdulah-oblong-gater was connected to the thigh bone. Obviously that is wrong! Naturally the abdulah-oblong-gater is attached to the abdulah-imabooby-towelheadinis. Don't forget it Eddie or you may have a lawsuit on your hands! Or bits of brain, whichever comes first. regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge "In other words, the developer is dealing with an elephant, the accountant is dealing with a bunny rabbit." by Stan Shannon - 16/10/2001

                                      E 1 Reply Last reply
                                      0
                                      • P Paul Watson

                                        I hope you got the revised 2001 edition of Brain Surgery for Dummies. My nureolegist friend said that it had typo on page 2005. Originally it said that the abdulah-oblong-gater was connected to the thigh bone. Obviously that is wrong! Naturally the abdulah-oblong-gater is attached to the abdulah-imabooby-towelheadinis. Don't forget it Eddie or you may have a lawsuit on your hands! Or bits of brain, whichever comes first. regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge "In other words, the developer is dealing with an elephant, the accountant is dealing with a bunny rabbit." by Stan Shannon - 16/10/2001

                                        E Offline
                                        E Offline
                                        Eddie Velasquez
                                        wrote on last edited by
                                        #19

                                        My nureolegist friend said that it had typo on page 2005 I don't care! I'm only up to page 300 but I feel confident that I can perform some beautiful carnage! :-D Or bits of brain, whichever comes first. Yummy! Clarice... Can you hear the Silence? The silence of the Lambs? :eek: Foot-and-Mouth disease is believed to be the first virus unable to spread through Microsoft Outlook

                                        1 Reply Last reply
                                        0
                                        • P Paul Westcott

                                          I really don't think time at home allows you the time needed to really get to know a technology anyway; I don't think I felt comfortable using ATL until 100+ hours - and I'm not sure about you, but to clock up 100+ hours on the computer out of work time would be - Ummm... (well besides email time) about a year. But, when I am using a new technology at work I do tend to work longer hours. Now you might say that that is the equivalvent of working from home; but no I disagree because you need to have a consentrated burst of learning to get you to that 100+ hour mark. And of course, if after the 2 weeks or so of delving in you find that it doesn't do what you want, then you have to spend late night for the next couple of weeks in extra time making up for it. But if you don't take a risk, then you never get results. Obviously you evaluate your options (study peoples comments, read a few reviews) but then you do have to risk. It is what the the modern world is based on. (ie. put your money in the bank, low risk-low return, on the stock market, well...) Have fun, Paul Westcott.

                                          C Offline
                                          C Offline
                                          Christian Graus
                                          wrote on last edited by
                                          #20

                                          I tend to put in a minimum 25 hours a week at home, in 4 hour bursts during the week, and a lengthy session on Saturday. Using a new technologoy for no other reason than that you want to is a stupid risk, it *is* better to make time in your own time to evaluate things and to use them when you know them sufficiently and when you have an actual reason to. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups