Thread: [Dev-C++] about slider control
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Jessica C. <jes...@gm...> - 2007-10-24 19:52:40
|
Hi, Does anyone have the experience of design slider control in Dev-C++? It seems I can only find MFC ways to do so. Dev-C++ cannot invoke MFC? Thanks, Jessica |
|
From: Per W. <pw...@ia...> - 2007-10-25 09:05:23
|
Look for wxWidgets for a general-purpose, platform-independent solution. /pwm On Wed, 24 Oct 2007, Jessica Chen wrote: > Hi, > > Does anyone have the experience of design slider control in Dev-C++? > It seems I can only find MFC ways to do so. Dev-C++ cannot invoke MFC? > > Thanks, > Jessica > |
|
From: seb_kramm <seb...@ya...> - 2007-10-26 07:03:24
|
Jessica Chen a écrit : > Does anyone have the experience of design slider control in Dev-C++? > It seems I can only find MFC ways to do so. Dev-C++ cannot invoke MFC? As said before, DevCpp is only an IDE. What you can do depends on the compiler behind, GCC by default. And yes, the ressource compiler provided with Devcpp can handle sliders. See http://msdn2.microsoft.com/en-us/library/bb760145.aspx and http://msdn2.microsoft.com/en-us/library/aa381043.aspx A typical line in your ressource .rc file should look like: CONTROL "Slider1", IDC_SLIDER1, "msctls_trackbar32", TBS_HORZ | TBS_BOTTOM | TBS_AUTOTICKS | WS_TABSTOP, 100, 80, 60,12 Of course, as stated before, win32 api is probably not the best choice... |
|
From: seb_kramm <seb...@ya...> - 2007-10-26 17:10:33
|
Jessica Chen a écrit : > hi, thanks for your reply. > i agree that win32 api is not the best way. > but it seem i cannot use MFC in Dev-C++, so i have to use win32 api. Of course you can... I'll say it again : DevCpp IS JUST AN IDE ! Then, I agree it might be harder than using MS VC...But who want's to use MFC, anyway? > i got another way to do controls in Dev-c++ -- "RAD", pls read as follow. > but the problem is: it is not easy to invoke other functions in the project. > WxWigets(http://www.wxwidgets.org) and RadCpp (http://www.radcpp.com). Both > have slider components. If you're out on wxWidgets, you can check out http://wxdsgn.sourceforge.net/ |
|
From: Per W. <pw...@ia...> - 2007-10-26 17:26:56
|
There are problems trying to build MFC application susing Dev-C++, and it doesn't matter if you call Dev-C++ an IDE or not. An MFC application requires MFC header files. They are not distributed with Dev-C++. MFC is a c++ application framework. C++ compilers does not like to use other C++ compilers libraries, because the layout of C++ objects, the calling conventions, the name mangling etc are not the same. Recompiling the MFC library with a different compiler requires the MFC source - but that is only supplied with some Visual C++ licenses, and if you have a M$ license that incorporates the MFC source, then the interest in using Dev-C++ for MFC work is not too big. The Dev-C++ IDE could be used with the Visual C++ Express compiler, but I don't think too many people would consider that a viable option - especially since Visual C++ already comes with a working IDE. On the other hand: people shouldn't really start any new projects using Dev-C++. Dev-C++ is dead and Code:Blocks is a very much better choice of IDE. It does directly support a number of freely available compilers. /pwm On Fri, 26 Oct 2007, seb_kramm wrote: > Jessica Chen a =E9crit : > > hi, thanks for your reply. > > i agree that win32 api is not the best way. > > but it seem i cannot use MFC in Dev-C++, so i have to use win32 api. > > Of course you can... I'll say it again : DevCpp IS JUST AN IDE ! > Then, I agree it might be harder than using MS VC...But who want's to use= MFC, anyway? > > > i got another way to do controls in Dev-c++ -- "RAD", pls read as follo= w. > > but the problem is: it is not easy to invoke other functions in the pro= ject. > > WxWigets(http://www.wxwidgets.org) and RadCpp (http://www.radcpp.com). = Both > > have slider components. > > If you're out on wxWidgets, you can check out > http://wxdsgn.sourceforge.net/ > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Jessica C. <jes...@gm...> - 2007-10-26 18:53:14
|
Hi, I agree with Per Westermark. Dev-c++ is based on MinGW. It is not easy to put MFC into MinGW. By the way, VC++ Expression is not a free software if used on commercial software. It doesn't have resource editor/compiler, and even don't support resource file as I known. Thanks for your replies. Regards, Jessica Chen On 10/26/07, Per Westermark <pw...@ia...> wrote: > > There are problems trying to build MFC application susing Dev-C++, and it > doesn't matter if you call Dev-C++ an IDE or not. > > An MFC application requires MFC header files. They are not distributed > with Dev-C++. > > MFC is a c++ application framework. C++ compilers does not like to use > other C++ compilers libraries, because the layout of C++ objects, the > calling conventions, the name mangling etc are not the same. Recompiling > the MFC library with a different compiler requires the MFC source - but > that is only supplied with some Visual C++ licenses, and if you have a M$ > license that incorporates the MFC source, then the interest in using > Dev-C++ for MFC work is not too big. > > The Dev-C++ IDE could be used with the Visual C++ Express compiler, but I > don't think too many people would consider that a viable option - > especially since Visual C++ already comes with a working IDE. > > On the other hand: people shouldn't really start any new projects using > Dev-C++. Dev-C++ is dead and Code:Blocks is a very much better choice of > IDE. It does directly support a number of freely available compilers. > > /pwm > > On Fri, 26 Oct 2007, seb_kramm wrote: > > > Jessica Chen a =E9crit : > > > hi, thanks for your reply. > > > i agree that win32 api is not the best way. > > > but it seem i cannot use MFC in Dev-C++, so i have to use win32 api. > > > > Of course you can... I'll say it again : DevCpp IS JUST AN IDE ! > > Then, I agree it might be harder than using MS VC...But who want's to > use MFC, anyway? > > > > > i got another way to do controls in Dev-c++ -- "RAD", pls read as > follow. > > > but the problem is: it is not easy to invoke other functions in the > project. > > > WxWigets(http://www.wxwidgets.org) and RadCpp (http://www.radcpp.com)= . > Both > > > have slider components. > > > > If you're out on wxWidgets, you can check out > > http://wxdsgn.sourceforge.net/ > > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: seb_kramm <seb...@ya...> - 2007-10-29 17:34:12
|
Oups, sorry... Indeed, if headers are not released, then i'ts quite complicated to write MFC code. Actually, I personally don't use MFC, so I really didn't realize that point. Sorry for the misleading information. Per Westermark a écrit : > There are problems trying to build MFC application susing Dev-C++, and it > doesn't matter if you call Dev-C++ an IDE or not. > > An MFC application requires MFC header files. They are not distributed > with Dev-C++. > > MFC is a c++ application framework. C++ compilers does not like to use > other C++ compilers libraries, because the layout of C++ objects, the > calling conventions, the name mangling etc are not the same. Recompiling > the MFC library with a different compiler requires the MFC source - but > that is only supplied with some Visual C++ licenses, and if you have a M$ > license that incorporates the MFC source, then the interest in using > Dev-C++ for MFC work is not too big. > > The Dev-C++ IDE could be used with the Visual C++ Express compiler, but I > don't think too many people would consider that a viable option - > especially since Visual C++ already comes with a working IDE. > > On the other hand: people shouldn't really start any new projects using > Dev-C++. Dev-C++ is dead and Code:Blocks is a very much better choice of > IDE. It does directly support a number of freely available compilers. > > /pwm > > On Fri, 26 Oct 2007, seb_kramm wrote: > >> Jessica Chen a écrit : >>> hi, thanks for your reply. >>> i agree that win32 api is not the best way. >>> but it seem i cannot use MFC in Dev-C++, so i have to use win32 api. >> Of course you can... I'll say it again : DevCpp IS JUST AN IDE ! >> Then, I agree it might be harder than using MS VC...But who want's to use MFC, anyway? >> >>> i got another way to do controls in Dev-c++ -- "RAD", pls read as follow. >>> but the problem is: it is not easy to invoke other functions in the project. >>> WxWigets(http://www.wxwidgets.org) and RadCpp (http://www.radcpp.com). Both >>> have slider components. >> If you're out on wxWidgets, you can check out >> http://wxdsgn.sourceforge.net/ >> >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Dev-cpp-users mailing list >> Dev...@li... >> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >> > > |
|
From: hhh h. <the...@ho...> - 2007-11-09 06:57:48
|
Hello Dev-cpp List : I've got to say... I have been a way for a while, but now that I have again free time, i came across old threads... I started to read to keep up, and read the following : Extract of an thread by Per Westermark : "Dev-C++ is dead and Code:Blocks is a very much better choice of IDE. " Per Westermark : Please, do inform me, if not us... Are you sure ?, Is Dev CPP Dead ? Won't the project be continued? I must say that is so, it sadens me, because almost every project I have worked on, (Small, Large) it was always on Dev Cpp... >From: Per Westermark <pw...@ia...> >To: seb_kramm <seb...@ya...> >CC: dev...@li... >Subject: Re: [Dev-C++] about slider control >Date: Fri, 26 Oct 2007 19:26:30 +0200 (CEST) > >There are problems trying to build MFC application susing Dev-C++, and it >doesn't matter if you call Dev-C++ an IDE or not. > >An MFC application requires MFC header files. They are not distributed >with Dev-C++. > >MFC is a c++ application framework. C++ compilers does not like to use >other C++ compilers libraries, because the layout of C++ objects, the >calling conventions, the name mangling etc are not the same. Recompiling >the MFC library with a different compiler requires the MFC source - but >that is only supplied with some Visual C++ licenses, and if you have a M$ >license that incorporates the MFC source, then the interest in using >Dev-C++ for MFC work is not too big. > >The Dev-C++ IDE could be used with the Visual C++ Express compiler, but I >don't think too many people would consider that a viable option - >especially since Visual C++ already comes with a working IDE. > >On the other hand: people shouldn't really start any new projects using >Dev-C++. Dev-C++ is dead and Code:Blocks is a very much better choice of >IDE. It does directly support a number of freely available compilers. > >/pwm > >On Fri, 26 Oct 2007, seb_kramm wrote: > > > Jessica Chen a écrit : > > > hi, thanks for your reply. > > > i agree that win32 api is not the best way. > > > but it seem i cannot use MFC in Dev-C++, so i have to use win32 api. > > > > Of course you can... I'll say it again : DevCpp IS JUST AN IDE ! > > Then, I agree it might be harder than using MS VC...But who want's to >use MFC, anyway? > > > > > i got another way to do controls in Dev-c++ -- "RAD", pls read as >follow. > > > but the problem is: it is not easy to invoke other functions in the >project. > > > WxWigets(http://www.wxwidgets.org) and RadCpp (http://www.radcpp.com). >Both > > > have slider components. > > > > If you're out on wxWidgets, you can check out > > http://wxdsgn.sourceforge.net/ > > > > > > > > > > >------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. >Still grepping through log files to find problems? Stop. >Now Search log events and configuration files using AJAX and a browser. >Download your FREE copy of Splunk now >> http://get.splunk.com/ >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Transfira JÁ a última versão do Windows Live Messenger! http://get.live.com/pt-pt/messenger/overview |
|
From: Per W. <pw...@ia...> - 2007-11-09 09:53:51
|
Take a look and decide for yourself: http://www.bloodshed.net/ Latest news (release 4.9.9.2) is from feb 21 2005. http://sourceforge.net/projects/dev-cpp/ Latest news (release 4.9.9.2) is from feb 22 2005. Last closed bug is from nov 27 2005. The biggest reason for the death is probably that the source is Delphi - not too many are interested in helping with bug fixes or new features. /pwm On Fri, 9 Nov 2007, hhh hhh wrote: > Hello Dev-cpp List : > > I've got to say... I have been a way for a while, but now that I have > again free time, i came across old threads... I started to read to keep u= p, > and read the following : > > Extract of an thread by Per Westermark : "Dev-C++ is dead and Code:Bloc= ks > is a very much better choice of IDE. " > > Per Westermark : Please, do inform me, if not us... Are you sure ?, Is = Dev > CPP Dead ? Won't the project be continued? > I must say that is so, it sadens me, because almost every project I hav= e > worked on, (Small, Large) it was always on Dev Cpp... > > > >From: Per Westermark <pw...@ia...> > >To: seb_kramm <seb...@ya...> > >CC: dev...@li... > >Subject: Re: [Dev-C++] about slider control > >Date: Fri, 26 Oct 2007 19:26:30 +0200 (CEST) > > > >There are problems trying to build MFC application susing Dev-C++, and i= t > >doesn't matter if you call Dev-C++ an IDE or not. > > > >An MFC application requires MFC header files. They are not distributed > >with Dev-C++. > > > >MFC is a c++ application framework. C++ compilers does not like to use > >other C++ compilers libraries, because the layout of C++ objects, the > >calling conventions, the name mangling etc are not the same. Recompiling > >the MFC library with a different compiler requires the MFC source - but > >that is only supplied with some Visual C++ licenses, and if you have a M= $ > >license that incorporates the MFC source, then the interest in using > >Dev-C++ for MFC work is not too big. > > > >The Dev-C++ IDE could be used with the Visual C++ Express compiler, but = I > >don't think too many people would consider that a viable option - > >especially since Visual C++ already comes with a working IDE. > > > >On the other hand: people shouldn't really start any new projects using > >Dev-C++. Dev-C++ is dead and Code:Blocks is a very much better choice of > >IDE. It does directly support a number of freely available compilers. > > > >/pwm > > > >On Fri, 26 Oct 2007, seb_kramm wrote: > > > > > Jessica Chen a =E9crit : > > > > hi, thanks for your reply. > > > > i agree that win32 api is not the best way. > > > > but it seem i cannot use MFC in Dev-C++, so i have to use win32 api= =2E > > > > > > Of course you can... I'll say it again : DevCpp IS JUST AN IDE ! > > > Then, I agree it might be harder than using MS VC...But who want's to > >use MFC, anyway? > > > > > > > i got another way to do controls in Dev-c++ -- "RAD", pls read as > >follow. > > > > but the problem is: it is not easy to invoke other functions in the > >project. > > > > WxWigets(http://www.wxwidgets.org) and RadCpp (http://www.radcpp.co= m). > >Both > > > > have slider components. > > > > > > If you're out on wxWidgets, you can check out > > > http://wxdsgn.sourceforge.net/ > > > > > > > > > > > > > > > > >------------------------------------------------------------------------= - > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a browse= r. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > _______________________________________________ > > > Dev-cpp-users mailing list > > > Dev...@li... > > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > > > > >------------------------------------------------------------------------= - > >This SF.net email is sponsored by: Splunk Inc. > >Still grepping through log files to find problems? Stop. > >Now Search log events and configuration files using AJAX and a browser. > >Download your FREE copy of Splunk now >> http://get.splunk.com/ > >_______________________________________________ > >Dev-cpp-users mailing list > >Dev...@li... > >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > _________________________________________________________________ > Transfira J=C1 a =FAltima vers=E3o do Windows Live Messenger! > http://get.live.com/pt-pt/messenger/overview > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |