Re: new year's bug
"'Konstantin Mironovich' [email protected] [wtl]" <[email protected]> Sat, 2 Jan 2016 18:42:01 +0300
| Newsgroups | gmane.comp.windows.wtl |
|---|---|
| Organization | ixbt.com |
| Message-ID | <0B6305BDABF146E792219149C0FABF67@KLM64> |
------=_NextPart_000_0062_01D1458D.466D79A0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Don't panic, guys! I'm here too )) So, the gang of 5 WTL programmers is a great power. Nenad, I guess CRichEditCtrl::GetLibraryName() should be fixed to separate 2.0 and 3.0 cases. Or just deprecate early versions. Happy New Yearrr! Konstantin -km ----- Original Message ----- From: Nenad Stefanović [email protected] [wtl] To: [email protected] Sent: Saturday, January 02, 2016 4:10 PM Subject: Re: [wtl] new year's bug Happy New Year everybody! I am still here and still checking what is posted on this list :-) EM_POSFROMCHAR - yes, we could add some #ifdefs to deal with this. Documentation is really messy, and changes between versions even worse :-) Cheers, Nenad On Fri, Jan 1, 2016 at 10:30 PM, 'Michael Stephenson' [email protected] [wtl] <[email protected]> wrote: Happy New Year Nikos! I was this close to actually posting a question on the list earlier this week (having a flickering problem and can’t seem to figure it out). I was also wondering if anyone still monitors the list J. I’ve been working on a web app at work for the past three years or so and have been mostly away from WTL, win32 api, and C++, but getting back into these things now (lots has changed, good stuff). ~Mike From: [email protected] [mailto:[email protected]] Sent: Friday, January 1, 2016 2:40 AM To: [email protected] Subject: [wtl] new year's bug I just read the documentation for EM_POSFROMCHAR and it appears that it varies a lot depending on the richedit control version (very messy, see the docs ), so atlctrls.h CRichEditCtrl must be changed depending on _RICHEDIT_VER Happy new year to anyone who's listening :) PS. any WTL professional developers should read this, another new year hiccup http://zabkat.com/blog/code-signing-sha1-armageddon.htm ------=_NextPart_000_0062_01D1458D.466D79A0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <head> <style type=3D"text/css"> <!-- /* start of attachment style */ .ygrp-photo-title{ clear: both; font-size: smaller; height: 15px; overflow: hidden; text-align: center; width: 75px; } div.ygrp-photo{ background-position: center; background-repeat: no-repeat; background-color: white; border: 1px solid black; height: 62px; width: 62px; } div.photo-title=20 a, div.photo-title a:active, div.photo-title a:hover, div.photo-title a:visited { text-decoration: none;=20 } div.attach-table div.attach-row { clear: both; } div.attach-table div.attach-row div { float: left; /* margin: 2px;*/ } p { clear: both; padding: 15px 0 3px 0; overflow: hidden; } div.ygrp-file { width: 30px; valign: middle; } div.attach-table div.attach-row div div a { text-decoration: none; } div.attach-table div.attach-row div div span { font-weight: normal; } div.ygrp-file-title { font-weight: bold; } /* end of attachment style */ --> </style> </head> =EF=BB=BF<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Dutf-8" http-equiv=3DContent-Type> <META name=3DGENERATOR content=3D"MSHTML 8.00.6001.19705"></HEAD> <BODY style=3D"BACKGROUND-COLOR: #fff" bgColor=3D#ffffff> <!-- |**|begin egp html banner|**| --> <br><br> <!-- |**|end egp html banner|**| --> <DIV><FONT face=3DCalibri>Don't panic, guys! I'm here too ))</FONT></DIV> <DIV><FONT face=3DCalibri>So, the gang of 5 WTL programmers is a great=20 power.</FONT></DIV> <DIV><FONT face=3DCalibri></FONT> </DIV> <DIV><FONT face=3DCalibri>Nenad, </FONT><FONT face=3DCalibri>I guess <FONT= =20 color=3D#020002 size=3D2><FONT color=3D#020002 size=3D2>CRichEditCtrl</FONT= ></FONT><FONT=20 size=3D2>::</FONT><FONT color=3D#020002 size=3D2><FONT color=3D#020002=20 size=3D2>GetLibraryName</FONT></FONT><FONT size=3D2>() </FONT></FONT><FONT= =20 face=3DCalibri>should be fixed to separate 2.0 and 3.0 cases. </FONT>= <FONT=20 face=3DCalibri>Or just deprecate early versions.</FONT></DIV> <DIV><FONT face=3DCalibri></FONT> </DIV> <DIV><FONT face=3DCalibri>Happy New Yearrr!</FONT></DIV> <DIV><FONT face=3DCalibri></FONT> </DIV> <DIV><FONT face=3DCalibri>Konstantin</FONT></DIV> <DIV><FONT face=3DCalibri></FONT> </DIV> <DIV><FONT size=3D2>-km<BR></FONT></DIV> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: = 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV=20 style=3D"FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>Fro= m:</B>=20 <A [email protected] href=3D"mailto:[email protected] [wtl]">= Nenad=20 Stefanovi=C4=87 [email protected] [wtl]</A> </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A [email protected]= =20 href=3D"mailto:[email protected]">[email protected]</A> </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Saturday, January 02, 2016 4= :10=20 PM</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [wtl] new year's bug<= /DIV> <DIV><BR></DIV><SPAN style=3D"DISPLAY: none"> </SPAN>=20 <DIV id=3Dygrp-text> <P> <DIV dir=3Dltr>Happy New Year everybody! <DIV><BR></DIV> <DIV>I am still here and still checking what is posted on this list :-)</= DIV> <DIV><BR></DIV> <DIV>EM_POSFROMCHAR - yes, we could add some #ifdefs to deal with this.=20 Documentation is really messy, and changes between versions even worse=20 :-)<BR></DIV> <DIV><BR></DIV> <DIV>Cheers,</DIV> <DIV>Nenad</DIV> <DIV><BR></DIV></DIV> <DIV class=3Dgmail_extra><BR> <DIV class=3Dgmail_quote>On Fri, Jan 1, 2016 at 10:30 PM, 'Michael Stephe= nson'=20 <A href=3D"mailto:[email protected]">[email protected]</A> [wtl] = <SPAN=20 dir=3Dltr><<A href=3D"mailto:[email protected]"=20 target=3D_blank>[email protected]</A>></SPAN> wrote:<BR> <BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid" class=3Dgmail_quote><U>= </U> <DIV style=3D"BACKGROUND-COLOR: #fff"><SPAN> </SPAN>=20 <DIV> <DIV> <DIV> <P></P> <DIV> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: 'Calibri',sans-serif; COLOR: #1f497d; FONT-SIZE: = 11pt">Happy=20 New Year Nikos!<U></U><U></U></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: 'Calibri',sans-serif; COLOR: #1f497d; FONT-SIZE: = 11pt"><U></U><U></U></SPAN> </P> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: 'Calibri',sans-serif; COLOR: #1f497d; FONT-SIZE: = 11pt">I=20 was <U>this</U> close to actually posting a question on the list earlie= r=20 this week (having a flickering problem and can=E2=80=99t seem to figure= it=20 out). I was also wondering if anyone still monitors the list=20 </SPAN><SPAN=20 style=3D"FONT-FAMILY: Wingdings; COLOR: #1f497d; FONT-SIZE: 11pt">J</SP= AN><SPAN=20 style=3D"FONT-FAMILY: 'Calibri',sans-serif; COLOR: #1f497d; FONT-SIZE: = 11pt">.<U></U><U></U></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: 'Calibri',sans-serif; COLOR: #1f497d; FONT-SIZE: = 11pt"><U></U><U></U></SPAN> </P> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: 'Calibri',sans-serif; COLOR: #1f497d; FONT-SIZE: = 11pt">I=E2=80=99ve=20 been working on a web app at work for the past three years or so and ha= ve=20 been mostly away from WTL, win32 api, and C++, but getting back into th= ese=20 things now (lots has changed, good stuff).<U></U><U></U></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: 'Calibri',sans-serif; COLOR: #1f497d; FONT-SIZE: = 11pt"><U></U><U></U></SPAN> </P> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: 'Calibri',sans-serif; COLOR: #1f497d; FONT-SIZE: = 11pt">~Mike<U></U><U></U></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: 'Calibri',sans-serif; COLOR: #1f497d; FONT-SIZE: = 11pt"><U></U><U></U></SPAN> </P> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: 'Calibri',sans-serif; COLOR: #1f497d; FONT-SIZE: = 11pt"><U></U><U></U></SPAN> </P> <DIV> <DIV=20 style=3D"PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BO= RDER-TOP: #e1e1e1 1pt solid; PADDING-TOP: 3pt"> <P class=3DMsoNormal><B><SPAN=20 style=3D"FONT-FAMILY: 'Calibri',sans-serif; FONT-SIZE: 11pt">From:</SPA= N></B><SPAN=20 style=3D"FONT-FAMILY: 'Calibri',sans-serif; FONT-SIZE: 11pt"> <A=20 href=3D"mailto:[email protected]" target=3D_blank>[email protected]= </A>=20 [mailto:<A href=3D"mailto:[email protected]"=20 target=3D_blank>[email protected]</A>] <BR><B>Sent:</B> Friday, Janua= ry 1,=20 2016 2:40 AM<BR><B>To:</B> <A href=3D"mailto:[email protected]"=20 target=3D_blank>[email protected]</A><BR><B>Subject:</B> [wtl] new ye= ar's=20 bug<U></U><U></U></SPAN></P></DIV></DIV><SPAN> <P class=3DMsoNormal><U></U><U></U> </P> <P class=3DMsoNormal> <U></U><U></U></P> <DIV> <DIV> <DIV> <P>I just read the documentation for EM_POSFROMCHAR and it appears that= it=20 varies a lot depending on the richedit control version (very messy,=20 see <A=20 href=3D"https://msdn.microsoft.com/en-us/library/windows/desktop/bb7616= 31(v=3Dvs.85).aspx"=20 target=3D_blank>the docs</A> ), so atlctrls.h CRichEditCtrl must b= e=20 changed depending on _RICHEDIT_VER<U></U><U></U></P> <P><U></U><U></U> </P> <P>Happy new year to anyone who's listening :)<U></U><U></U></P> <P><U></U><U></U> </P> <P>PS. any WTL professional developers should read this, another new ye= ar=20 hiccup<U></U><U></U></P> <P><A href=3D"http://zabkat.com/blog/code-signing-sha1-armageddon.htm"= =20 target=3D_blank>http://zabkat.com/blog/code-signing-sha1-armageddon.htm= </A><U></U><U></U></P></DIV> <DIV> <P class=3DMsoNormal><SPAN=20 style=3D"COLOR: white"><U></U><U></U></SPAN></P></DIV></DIV></DIV></SPA= N></DIV> <P></P></DIV> <DIV=20 style=3D"MIN-HEIGHT: 0px; COLOR: #fff"></DIV></DIV></DIV></DIV></BLOCKQUO= TE></DIV><BR></DIV> <P></P></DIV><!-- end group email --> <!-- |**|begin egp html banner|**| --> <br> <br> <!-- |**|end egp html banner|**| --> <div width=3D"1" style=3D"color: white; clear: both;"/>__._,_.___</div> =20=20=20=20=20=20 =20=20 =20=20=20=20 <div id=3D"fromDMARC" style=3D"clear:both; margin-top: 10px;"> <hr style=3D"height:2px ; border-width:0; color:#E3E3E3; backgroun= d-color:#E3E3E3;"> Posted by: "Konstantin Mironovich" <[email protected]>= ; <hr style=3D"height:2px ; border-width:0; color:#E3E3E3; backgrou= nd-color:#E3E3E3;"> </div> <!-- Start Recommendations --> <!-- End Recommendations --> <!-- |**|begin egp html banner|**| --> <img src=3D"http://geo.yahoo.com/serv?s=3D97476590/grpId=3D488621/grpspId= =3D1705006764/msgId=3D16704/stime=3D1451749332" width=3D"1" height=3D"1"> <= br> <!-- |**|end egp html banner|**| --> =20=20=20=20 <!-- |**|begin egp html banner|**| --> <br> =20=20=20 =20=20=20=20=20 =20 <!-- |**|begin egp html banner|**| --> <div id=3D"ygrp-vital" style=3D"background-color: #f2f2f2; font-fam= ily: Verdana; font-size: 10px; margin-bottom: 10px; padding: 10px;"> <span id=3D"vithd" style=3D"font-weight: bold; color: #333; text-tr= ansform: uppercase; "><a href=3D"https://groups.yahoo.com/neo/groups/wtl/in= fo;_ylc=3DX3oDMTJkYnE0azNzBF9TAzk3MzU5NzE0BGdycElkAzQ4ODYyMQRncnBzcElkAzE3M= DUwMDY3NjQEc2VjA3Z0bARzbGsDdmdocARzdGltZQMxNDUxNzQ5MzMy" style=3D"text-deco= ration: none;">Visit Your Group</a></span> <ul style=3D"list-style-type: none; margin: 0; padding: 0; display: in= line;"> </ul> </div> <div id=3D"ft" style=3D"font-family: Arial; font-size: 11px; margin-top: 5p= x; padding: 0 2px 0 0; clear: both;"> <a href=3D"https://groups.yahoo.com/neo;_ylc=3DX3oDMTJjNm5hcW01BF9TAzk3ND= c2NTkwBGdycElkAzQ4ODYyMQRncnBzcElkAzE3MDUwMDY3NjQEc2VjA2Z0cgRzbGsDZ2ZwBHN0a= W1lAzE0NTE3NDkzMzI-" style=3D"float: left;"><img src=3D"http://l.yimg.com/r= u/static/images/yg/img/email/new_logo/logo-groups-137x15.png" height=3D"15"= width=3D"137" alt=3D"Yahoo! Groups" style=3D"border: 0;"/></a> <div style=3D"color: #747575; float: right;"> • <a href=3D"https://i= nfo.yahoo.com/privacy/us/yahoo/groups/details.html" style=3D"text-decoratio= n: none;">Privacy</a> • <a href=3D"mailto:wtl-unsubscribe@yahoogroups.= com?subject=3DUnsubscribe" style=3D"text-decoration: none;">Unsubscribe</a>= • <a href=3D"https://info.yahoo.com/legal/us/yahoo/utos/terms/" style= =3D"text-decoration: none;">Terms of Use</a> </div> </div> <!-- |**|end egp html banner|**| --> </div> <!-- ygrp-msg --> =20=20=20 <br> <!-- |**|end egp html banner|**| --> <div style=3D"color: white; clear: both;"/>__,_._,___</div> </BODY></HTML> ------=_NextPart_000_0062_01D1458D.466D79A0--