|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Common controlsH all,
I wonder what should I do - Keep using the latest common controls 6. Or use the older version common controls 5 and have better support for WINXP style (e.g. green progress bar,flat listview, round-edged toolbar buttons ) Maybe MS should make SP7 (support XP style and fix some SP6 bugs (listview etc)....) Please advise. Guy "Guy Cohen" <cont***@mediatek.co.il>'s wild thoughts were released on Mon, 19 Sep 2005 15:16:30 +0200 bearing thefollowing fruit: Show quoteHide quote >H all, Only you can answer this. If you can manage without the> >I wonder what should I do - > >Keep using the latest common controls 6. > >Or use the older version common controls 5 and have better support for WINXP >style (e.g. green progress bar,flat listview, round-edged toolbar buttons ) > >Maybe MS should make SP7 (support XP style and fix some SP6 bugs (listview >etc)....) > >Please advise. >Guy changes that are present in 6, and you feel the XP theme support is sufficiently important then you don't have a lot of choice. Jan Hyde (VB MVP) -- Did you hear about the guy who blamed arithmetic for his divorce? His wife put two and two together. (Art. Moger) [Abolish the TV Licence - http://www.tvlicensing.biz/] Thanks Jan,
Question : why should I prefer common controls 6 on 5? Guy Show quoteHide quote "Jan Hyde" <StellaDrin***@REMOVE.ME.uboot.com> wrote in message news:prbti1d89mu2p921us0pnfh3ugjhso1as4@4ax.com... > "Guy Cohen" <cont***@mediatek.co.il>'s wild thoughts were > released on Mon, 19 Sep 2005 15:16:30 +0200 bearing the > following fruit: > >>H all, >> >>I wonder what should I do - >> >>Keep using the latest common controls 6. >> >>Or use the older version common controls 5 and have better support for >>WINXP >>style (e.g. green progress bar,flat listview, round-edged toolbar >>buttons ) >> >>Maybe MS should make SP7 (support XP style and fix some SP6 bugs (listview >>etc)....) >> >>Please advise. >>Guy > > Only you can answer this. If you can manage without the > changes that are present in 6, and you feel the XP theme > support is sufficiently important then you don't have a lot > of choice. > > > > > Jan Hyde (VB MVP) > > -- > Did you hear about the guy who blamed arithmetic for his divorce? > His wife put two and two together. > > (Art. Moger) > > [Abolish the TV Licence - http://www.tvlicensing.biz/] > "Guy Cohen" <cont***@mediatek.co.il>'s wild thoughts were released on Mon, 19 Sep 2005 15:51:47 +0200 bearing thefollowing fruit: >Thanks Jan, Of the top of my head, ListSubItems offer you more options> >Question : why should I prefer common controls 6 on 5? than the old subitems in a listview - that was the main benefit for me at the time. I really can't remember what the other changes were. J Show quoteHide quote >Guy Jan Hyde (VB MVP)> > >"Jan Hyde" <StellaDrin***@REMOVE.ME.uboot.com> wrote in message >news:prbti1d89mu2p921us0pnfh3ugjhso1as4@4ax.com... >> "Guy Cohen" <cont***@mediatek.co.il>'s wild thoughts were >> released on Mon, 19 Sep 2005 15:16:30 +0200 bearing the >> following fruit: >> >>>H all, >>> >>>I wonder what should I do - >>> >>>Keep using the latest common controls 6. >>> >>>Or use the older version common controls 5 and have better support for >>>WINXP >>>style (e.g. green progress bar,flat listview, round-edged toolbar >>>buttons ) >>> >>>Maybe MS should make SP7 (support XP style and fix some SP6 bugs (listview >>>etc)....) >>> >>>Please advise. >>>Guy >> >> Only you can answer this. If you can manage without the >> changes that are present in 6, and you feel the XP theme >> support is sufficiently important then you don't have a lot >> of choice. >> >> >> >> >> Jan Hyde (VB MVP) >> >> -- >> Did you hear about the guy who blamed arithmetic for his divorce? >> His wife put two and two together. >> >> (Art. Moger) >> >> [Abolish the TV Licence - http://www.tvlicensing.biz/] >> > -- A gossip is a person who has a good sense of rumor (Leopold Fechtner) [Abolish the TV Licence - http://www.tvlicensing.biz/] Hi
It really depends how much work you want to do. For example look at the ListView, the SP6 version has CheckBoxes, FullRowSelect and GridLines to mention 3 that SP5 lacks. However all of these properties (and more) can be done with the SP5 control via the API. Once you have a library of routines there really is no reason not to use the SP5 version if you are programming for XP and beyond. (I've just spent 1/2 a morning working out how to read and set checkmarks on a SP5 listview - Thanks Randy your site was as ever, very helpfull!) Best regards Dave O. Show quoteHide quote "Guy Cohen" <cont***@mediatek.co.il> wrote in message news:ezvoPjRvFHA.3860@TK2MSFTNGP09.phx.gbl... > Thanks Jan, > > Question : why should I prefer common controls 6 on 5? > > Guy > > > "Jan Hyde" <StellaDrin***@REMOVE.ME.uboot.com> wrote in message > news:prbti1d89mu2p921us0pnfh3ugjhso1as4@4ax.com... >> "Guy Cohen" <cont***@mediatek.co.il>'s wild thoughts were >> released on Mon, 19 Sep 2005 15:16:30 +0200 bearing the >> following fruit: >> >>>H all, >>> >>>I wonder what should I do - >>> >>>Keep using the latest common controls 6. >>> >>>Or use the older version common controls 5 and have better support for >>>WINXP >>>style (e.g. green progress bar,flat listview, round-edged toolbar >>>buttons ) >>> >>>Maybe MS should make SP7 (support XP style and fix some SP6 bugs >>>(listview >>>etc)....) >>> >>>Please advise. >>>Guy >> >> Only you can answer this. If you can manage without the >> changes that are present in 6, and you feel the XP theme >> support is sufficiently important then you don't have a lot >> of choice. >> >> >> >> >> Jan Hyde (VB MVP) >> >> -- >> Did you hear about the guy who blamed arithmetic for his divorce? >> His wife put two and two together. >> >> (Art. Moger) >> >> [Abolish the TV Licence - http://www.tvlicensing.biz/] >> > > "Dave" <Nob***@Nowhere.Com>'s wild thoughts were released on Mon, 19 Sep 2005 15:51:51 +0100 bearing the following fruit:>Hi I don't think you mean SP6 and SP5, but version 6/5 of the> >It really depends how much work you want to do. >For example look at the ListView, the SP6 version has CheckBoxes, >FullRowSelect and GridLines to mention 3 that SP5 lacks. However all of >these properties (and more) can be done with the SP5 control via the API. >Once you have a library of routines there really is no reason not to use the >SP5 version if you are programming for XP and beyond. >(I've just spent 1/2 a morning working out how to read and set checkmarks on >a SP5 listview - Thanks Randy your site was as ever, very helpfull!) common controls libraries. You do make a very good point though, much of what is now available on version 6 of the controls can be achived via code, of which Randys site has a great many examples http://vbnet.mvps.org/ J Show quoteHide quote >Best regards Jan Hyde (VB MVP)>Dave O. > >"Guy Cohen" <cont***@mediatek.co.il> wrote in message >news:ezvoPjRvFHA.3860@TK2MSFTNGP09.phx.gbl... >> Thanks Jan, >> >> Question : why should I prefer common controls 6 on 5? >> >> Guy >> >> >> "Jan Hyde" <StellaDrin***@REMOVE.ME.uboot.com> wrote in message >> news:prbti1d89mu2p921us0pnfh3ugjhso1as4@4ax.com... >>> "Guy Cohen" <cont***@mediatek.co.il>'s wild thoughts were >>> released on Mon, 19 Sep 2005 15:16:30 +0200 bearing the >>> following fruit: >>> >>>>H all, >>>> >>>>I wonder what should I do - >>>> >>>>Keep using the latest common controls 6. >>>> >>>>Or use the older version common controls 5 and have better support for >>>>WINXP >>>>style (e.g. green progress bar,flat listview, round-edged toolbar >>>>buttons ) >>>> >>>>Maybe MS should make SP7 (support XP style and fix some SP6 bugs >>>>(listview >>>>etc)....) >>>> >>>>Please advise. >>>>Guy >>> >>> Only you can answer this. If you can manage without the >>> changes that are present in 6, and you feel the XP theme >>> support is sufficiently important then you don't have a lot >>> of choice. >>> >>> >>> >>> >>> Jan Hyde (VB MVP) >>> >>> -- >>> Did you hear about the guy who blamed arithmetic for his divorce? >>> His wife put two and two together. >>> >>> (Art. Moger) >>> >>> [Abolish the TV Licence - http://www.tvlicensing.biz/] >>> >> >> > -- Wok: What you fwow at a wabbit. (Aiken Drum) [Abolish the TV Licence - http://www.tvlicensing.biz/] > I don't think you mean SP6 and SP5, but version 6/5 of the Whatever. You know what I meant.> common controls libraries. Didn't the Version 5 and 6 CC's ship with SP5 & SP6 respectively? Regards Dave O. > Didn't the Version 5 and 6 CC's ship with SP5 & SP6 respectively? Nope. They existed before SP5 as far as I can remember.Please read in MSDN about InitCommonControlsEx. It might refer to the version number, like what IE version you have installed. I am not sure. Show quoteHide quote "Dave" <Nob***@Nowhere.Com> wrote in message news:OJ%23eqKTvFHA.3932@TK2MSFTNGP15.phx.gbl... >> I don't think you mean SP6 and SP5, but version 6/5 of the >> common controls libraries. > Whatever. You know what I meant. > > Didn't the Version 5 and 6 CC's ship with SP5 & SP6 respectively? > > Regards > Dave O. > "Dave" <Nob***@Nowhere.Com> wrote in message Nope... V5 shipped with VB5 and v6 shipped with VB6. Most likely coincedence news:OJ%23eqKTvFHA.3932@TK2MSFTNGP15.phx.gbl... >> I don't think you mean SP6 and SP5, but version 6/5 of the >> common controls libraries. > Whatever. You know what I meant. > > Didn't the Version 5 and 6 CC's ship with SP5 & SP6 respectively? > > Regards > Dave O. because they're Windows ocx's and not specifically VB ocx's. -- Ken Halter - MS-MVP-VB - http://www.vbsight.com DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm Please keep all discussions in the groups..
Show quote
Hide quote
"Ken Halter" <Ken_Halter@Use_Sparingly_Hotmail.com> wrote in message Oops, obvious when you think about it.news:%23IWeHTTvFHA.3556@TK2MSFTNGP12.phx.gbl... > "Dave" <Nob***@Nowhere.Com> wrote in message > news:OJ%23eqKTvFHA.3932@TK2MSFTNGP15.phx.gbl... >>> I don't think you mean SP6 and SP5, but version 6/5 of the >>> common controls libraries. >> Whatever. You know what I meant. >> >> Didn't the Version 5 and 6 CC's ship with SP5 & SP6 respectively? >> >> Regards >> Dave O. > > Nope... V5 shipped with VB5 and v6 shipped with VB6. Most likely > coincedence because they're Windows ocx's and not specifically VB ocx's. This is weird, the VB6 control contains the ImageCombo which was not in the VB5 set, the ImageCombo unlike the rest of the VB6 Common Controls does adopt the XP styling - go figure! Regards Dave O. "Dave" <Nob***@Nowhere.Com>'s wild thoughts were released on Mon, 19 Sep 2005 16:56:14 +0100 bearing the following fruit:>> I don't think you mean SP6 and SP5, but version 6/5 of the It was more for the benefit of someone reading your post who>> common controls libraries. >Whatever. You know what I meant. didn't know what you meant. >Didn't the Version 5 and 6 CC's ship with SP5 & SP6 respectively? No.Btw, I'm on SP3 Jan Hyde (VB MVP) -- People who consistently insist on parking in no parking zones must be suffering from parking zones disease. (Dano) [Abolish the TV Licence - http://www.tvlicensing.biz/] There is a fix for SP6:
FIX: The Windows Common Controls Mscomctl.ocx or Comctl32.ocx may cause your application or the Visual Basic 6 IDE to unexpectedly quit, or you may receive a "Divide By Zero" error message http://support.microsoft.com/?id=896559 -- Show quoteHide quoteChris Hanscom - Microsoft MVP (VB) Veign's Resource Center http://www.veign.com/vrc_main.asp Veign's Blog http://www.veign.com/blog -- "Guy Cohen" <cont***@mediatek.co.il> wrote in message news:%23VvnWPRvFHA.3720@TK2MSFTNGP14.phx.gbl... > H all, > > I wonder what should I do - > > Keep using the latest common controls 6. > > Or use the older version common controls 5 and have better support for WINXP > style (e.g. green progress bar,flat listview, round-edged toolbar buttons ) > > Maybe MS should make SP7 (support XP style and fix some SP6 bugs (listview > etc)....) > > Please advise. > Guy > > |
|||||||||||||||||||||||