Re: Owner drawn Listviews (new) field type

"[email protected] [gui4cli]" <[email protected]> 07 Sep 2014 10:18:55 -0700
Newsgroups gmane.comp.windows.gui4cli
Message-ID <[email protected]>
--9nlWnTS9ocNmxdhsK3FKVLWiM6a5jwOaA8HvrLV
Content-Type:  text/plain;  charset=utf-8 
Content-Transfer-Encoding: base64

SGkgRGltaXRyaXMsDQoNCkkga25vdyBvZiB0aGUgbHYgc2V0IGNvbW1hbmQgYW5kIHRoZSAk
JGx2LmdldCB2YXJpYWJsZSBidXQgaXQgd291bGQgdGFrZSBhIGxvdCBvZiBleHRyYSAiZGly
dHkiIGNvZGUNCnRvIHNhdmUgYW5kIHJlc3RvcmUgaXQgc3luY2hyb25pemVkIHdpdGggdGhl
IGxpc3R2aWV3IGxpbmVzLg0KDQpNeSB0aG91Z2h0IHdhcyB0aGF0IGl0IHdvdWxkIGJlIHN0
b3JlZCBhdCB0aGUgZW5kIG9mIHRoZSBzYXZlZCBsaXN0dmlldyAoYXMgZXZlbnQgb3IgZ2Ri
KSwgc2VwYXJhdGVkDQp3aXRoIHRhYnMganVzdCBhcyB0aGUgdmlzaWJsZSBjb2x1bW5zLiBB
Y3R1YWxseSB0aGUgc2FtZSBhcyBJIGRvIGl0IG5vdyB3aXRoIHRoZSAyIHBpeGVsIHdpZHRo
IGNvbHVtbnMuDQpCdXQgb2YgY291cnNlIEkgaGF2ZSBubyBpZGVhIGFib3V0IHRoZSAoaW0p
cG9zc2liaWxpdGllcyB0byBpbXBsZW1lbnQgc3VjaCB0aGluZ3MuDQoNCkNocmlzDQogDQoN
Ci0tLUluIGd1aTRjbGlAeWFob29ncm91cHMuY29tLCA8Z3VpNGNsaUAuLi4+IHdyb3RlIDoN
Cg0KIEhpIENocmlzLCANCg0KIEknbGwgbm90ZSBpdCwgYWx0aG91Z2ggSSB0aGluayBpdCB3
b3VsZCBiZSBxdWl0ZSBkaWZmaWN1bHQuDQogDQoNCiBMViB2YXJpYWJsZXMgY291bGQgYmUg
dXNlZCB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0aGF0IHdvdWxkIGJlIHZlcnkgdXNl
ZnVsIDopDQoNCkNocmlzDQoNCg0KDQogDQoNCiANCg0KIA0KDQoNCg0KDQoNCg0KDQoNCg==

--9nlWnTS9ocNmxdhsK3FKVLWiM6a5jwOaA8HvrLV
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit





<head>

<style type="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 
         a,
         div.photo-title a:active,
         div.photo-title a:hover,
         div.photo-title a:visited {
           text-decoration: none; 
       }

       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="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|**| -->


Hi Dimitris,<br><br>I know of the lv set command and the $$lv.get variable but it would take a lot of extra &quot;dirty&quot; code<br>to save and restore it synchronized with the listview lines.<br><br>My thought was that it would be stored at the end of the saved listview (as event or gdb), separated<br>with tabs just as the visible columns. Actually the same as I do it now with the 2 pixel width columns.<br>But of course I have no idea about the (im)possibilities to implement such things.<br><br>Chris<br class="yui-cursor"><div class="ygroups-quoted"><br><br>---In [email protected], &lt;gui4cli@...&gt; wrote :<br><br><div id="ygrps-yiv-1205046025"><div dir="ltr">Hi Chris,<div><br></div><div>I&#39;ll note it, although I think it would be quite difficult.</div><div><br></div><div>LV 
 variables could be used but they can&#39;t be saved (as far as I recall). That may be an easier undertaking.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="ygrps-yiv-1205046025gmail_extra"><br><br><blockquote><span class=""><div class="ygrps-yiv-1205046025gmail_quote">On Sun, Sep 7, 2014 at 10:43 AM, <a rel="nofollow" target="_blank" href="mailto:chris.kevany@...">chris.kevany@...</a> [gui4cli] <span dir="ltr">&lt;<a rel="nofollow" target="_blank" href="mailto:[email protected]">[email protected]</a>&gt;</span> wrote:<br><blockquote class="ygrps-yiv-1205046025gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><u></u><div style="background-color:#fff;">
<span>&nbsp;</span><div><div><div><p>Hi Dimitris,<br><br>I&#39;m using owner drawn listviews for which I store their contents as event in ini files.<br>Together with the visible columns, I have to also store variables related to each lv line.<br><br>I&#39;m currently use extra columns a the end which I give a width of 2 but with the<br>svcolumns style in use they still will show up with a arbitrary width occasionally.<br><br>Would it be possible to add a DATA or VARIABLE field type that can be accessed<br>as a normal field but doesn&#39;t show up visibly as a column?<br><br>To me that would be very useful :)<br><br>Chris<br><br><br></p><p><span><br></span></p><p></p></div><div style="color:#fff;min-height:0;"></div></div></div></div></blockquote></div><br></span></blockquote></div></div></
 div>



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

<br>


<br>

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


<div width="1" style="color: white; clear: both;"/>__._,_.___</div>

      
  

    
    <div id="fromDMARC" style="clear:both; margin-top: 10px;">
         <hr style="height:2px ; border-width:0; color:#E3E3E3; background-color:#E3E3E3;">
         Posted by: [email protected]         <hr style="height:2px ; border-width:0; color:#E3E3E3; background-color:#E3E3E3;">
    </div>
<!-- Start Recommendations -->
<!-- End Recommendations -->



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

  <img src="http://geo.yahoo.com/serv?s=97476590/grpId=4299/grpspId=1705007207/msgId=5977/stime=1410110336" width="1" height="1"> <br>

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

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

<br>



   
     
 
        <!-- |**|begin egp html banner|**| -->
        <div id="ygrp-vital" style="background-color: #f2f2f2; font-family: Verdana; font-size: 10px; margin-bottom: 10px; padding: 10px;">

        <span id="vithd" style="font-weight: bold; color: #333; text-transform: uppercase; "><a href="https://groups.yahoo.com/neo/groups/gui4cli/info;_ylc=X3oDMTJicWRydGVxBF9TAzk3MzU5NzE0BGdycElkAzQyOTkEZ3Jwc3BJZAMxNzA1MDA3MjA3BHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTQxMDExMDMzNg--" style="text-decoration: none;">Visit Your Group</a></span>

     <ul style="list-style-type: none; margin: 0; padding: 0; display: inline;">
                                                    </ul>
  </div>


<div id="ft" style="font-family: Arial; font-size: 11px; margin-top: 5px; padding: 0 2px 0 0; clear: both;">
  <a href="https://groups.yahoo.com/neo;_ylc=X3oDMTJhbGk2NGl1BF9TAzk3NDc2NTkwBGdycElkAzQyOTkEZ3Jwc3BJZAMxNzA1MDA3MjA3BHNlYwNmdHIEc2xrA2dmcARzdGltZQMxNDEwMTEwMzM2" style="float: left;"><img src="http://l.yimg.com/ru/static/images/yg/img/email/new_logo/logo-groups-137x15.png" height="15" width="137" alt="Yahoo! Groups" style="border: 0;"/></a>
  <div style="color: #747575; float: right;"> &bull; <a href="https://info.yahoo.com/privacy/us/yahoo/groups/details.html" style="text-decoration: none;">Privacy</a> &bull; <a href="mailto:[email protected]?subject=Unsubscribe" style="text-decoration: none;">Unsubscribe</a> &bull; <a href="https://info.yahoo.com/legal/us/yahoo/utos/terms/" style="text-decoration: none;">Terms of Use</a> </div>
</div>

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

  </div> <!-- ygrp-msg -->

   


  <br>

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


<div style="color: white; clear: both;"/>__,_._,___</div>
</body>

</html>

--9nlWnTS9ocNmxdhsK3FKVLWiM6a5jwOaA8HvrLV--