Re: new year's bug

"Nenad Stefanović [email protected] [wtl]" <[email protected]> Sat, 2 Jan 2016 05:10:33 -0800
Newsgroups gmane.comp.windows.wtl
Message-ID <CAK3Hp+8yF3UpEp9LRpb5P-RCx5VFC6R8vcjOhPU5Gcwr-kofgw@mail.gmail.com>
--001a113db7b4f2398e0528599c36
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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=E2=80=99t seem to figure i=
t out).  I
> was also wondering if anyone still monitors the list J.
>
>
>
> I=E2=80=99ve been working on a web app at work for the past three years o=
r 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 t=
he
> docs
> <https://msdn.microsoft.com/en-us/library/windows/desktop/bb761631(v=3Dvs=
.85).aspx> ),
> 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
>
>=20
>

--001a113db7b4f2398e0528599c36
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>
<html>
<head>
<style type=3D"text/css">
<!--
#ygrp-mkp {
  border: 1px solid #d8d8d8;
  font-family: Arial;
  margin: 10px 0;
  padding: 0 10px;
}

#ygrp-mkp hr {
  border: 1px solid #d8d8d8;
}

#ygrp-mkp #hd {
  color: #628c2a;
  font-size: 85%;
  font-weight: 700;
  line-height: 122%;
  margin: 10px 0;
}

#ygrp-mkp #ads {
  margin-bottom: 10px;
}

#ygrp-mkp .ad {
  padding: 0 0;
}

#ygrp-mkp .ad p {
  margin: 0;
}

#ygrp-mkp .ad a {
  color: #0000ff;
  text-decoration: none;
}
-->
</style>
</head>
<body>



<!-- |**|begin egp html banner|**| -->

<br><br>

<!-- |**|end egp html banner|**| -->


<div dir=3D"ltr">Happy New Year everybody!<div><br></div><div>I am still he=
re 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. Docu=
mentation is really messy, and changes between versions even worse :-)<br><=
/div><div><br></div><div>Cheers,</div><div>Nenad</div><div><br></div></div>=
<div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Fri, Jan 1, 20=
16 at 10:30 PM, &#39;Michael Stephenson&#39; <a href=3D"mailto:domehead100@=
gmail.com">[email protected]</a> [wtl] <span dir=3D"ltr">&lt;<a href=3D=
"mailto:[email protected]" target=3D"_blank">[email protected]</a>&gt;<=
/span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">


<u></u>









=20
<div style=3D"background-color:#fff">
<span>=C2=A0</span>


<div>
  <div>


    <div>
=20=20=20=20=20=20
=20=20=20=20=20=20
      <p></p><div><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;fo=
nt-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Happy New Year Niko=
s!<u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:=
11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u>=C2=
=A0<u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt=
;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">I was <u>this</u=
> close to actually posting a question on the list earlier this week (havin=
g a flickering problem and can=E2=80=99t seem to figure it out).=C2=A0 I wa=
s also wondering if anyone still monitors the list </span><span style=3D"fo=
nt-size:11.0pt;font-family:Wingdings;color:#1f497d">J</span><span style=3D"=
font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">=
.<u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:1=
1.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u>=C2=
=A0<u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt=
;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">I=E2=80=99ve bee=
n 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 thin=
gs now (lots has changed, good stuff).<u></u><u></u></span></p><p class=3D"=
MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,=
sans-serif;color:#1f497d"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoNor=
mal"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-s=
erif;color:#1f497d">~Mike<u></u><u></u></span></p><p class=3D"MsoNormal"><s=
pan style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;co=
lor:#1f497d"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoNormal"><span st=
yle=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1=
f497d"><u></u>=C2=A0<u></u></span></p><div><div style=3D"border-top:solid #=
e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class=3D"MsoNormal"><b><span sty=
le=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</s=
pan></b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,san=
s-serif"> <a href=3D"mailto:[email protected]" target=3D"_blank">wtl@yaho=
ogroups.com</a> [mailto:<a href=3D"mailto:[email protected]" target=3D"_b=
lank">[email protected]</a>] <br><b>Sent:</b> Friday, January 1, 2016 2:4=
0 AM<br><b>To:</b> <a href=3D"mailto:[email protected]" target=3D"_blank"=
>[email protected]</a><br><b>Subject:</b> [wtl] new year&#39;s bug<u></u>=
<u></u></span></p></div></div><span class=3D""><p class=3D"MsoNormal"><u></=
u>=C2=A0<u></u></p><p class=3D"MsoNormal">=C2=A0 <u></u><u></u></p><div><di=
v><div><p>I just read the documentation for EM_POSFROMCHAR and it appears t=
hat it varies a lot depending on the richedit control version (very messy, =
see=C2=A0<a href=3D"https://msdn.microsoft.com/en-us/library/windows/deskto=
p/bb761631(v=3Dvs.85).aspx" target=3D"_blank">the docs</a>=C2=A0), so atlct=
rls.h CRichEditCtrl must be changed depending on _RICHEDIT_VER<u></u><u></u=
></p><p>=C2=A0<u></u><u></u></p><p>Happy new year to anyone who&#39;s liste=
ning :)<u></u><u></u></p><p>=C2=A0<u></u><u></u></p><p>PS. any WTL professi=
onal developers should read this, another new year hiccup<u></u><u></u></p>=
<p><a href=3D"http://zabkat.com/blog/code-signing-sha1-armageddon.htm" targ=
et=3D"_blank">http://zabkat.com/blog/code-signing-sha1-armageddon.htm</a><u=
></u><u></u></p></div><div><p class=3D"MsoNormal"><span style=3D"color:whit=
e"><u></u><u></u></span></p></div></div></div></span></div><p></p>

    </div>
=20=20=20=20=20

=20=20=20=20
    <div style=3D"color:#fff;min-height:0"></div>


</div>



=20=20






</blockquote></div><br></div>




<!-- |**|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: =3D?UTF-8?Q?Nenad_Stefanovi=3DC4=3D87?=3D &lt;nenad2001=
@gmail.com&gt;         <hr style=3D"height:2px ; border-width:0; color:#E3E=
3E3; background-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=3D16702/stime=3D1451740235" width=3D"1" height=3D"1"> <=
br>

<!-- |**|end egp html banner|**| -->

=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=3DX3oDMTJkOTEwN241BF9TAzk3MzU5NzE0BGdycElkAzQ4ODYyMQRncnBzcElkAzE3M=
DUwMDY3NjQEc2VjA3Z0bARzbGsDdmdocARzdGltZQMxNDUxNzQwMjM1" 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=3DX3oDMTJjbXV2MTg1BF9TAzk3ND=
c2NTkwBGdycElkAzQ4ODYyMQRncnBzcElkAzE3MDUwMDY3NjQEc2VjA2Z0cgRzbGsDZ2ZwBHN0a=
W1lAzE0NTE3NDAyMzU-" 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;"> &bull; <a href=3D"https://i=
nfo.yahoo.com/privacy/us/yahoo/groups/details.html" style=3D"text-decoratio=
n: none;">Privacy</a> &bull; <a href=3D"mailto:wtl-unsubscribe@yahoogroups.=
com?subject=3DUnsubscribe" style=3D"text-decoration: none;">Unsubscribe</a>=
 &bull; <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>

--001a113db7b4f2398e0528599c36--