| Newsgroups |
gmane.comp.windows.gui4cli |
| Message-ID |
<[email protected]> |
--9nlWnTS9ocNmxdhsK3FKVLWiM6a5jwOaA8HvrLV
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64
SGkgRGltaXRyaXMsDQoNClRoYW5rcyBmb3IgdGhlIGV4cGxhbmF0aW9uIQ0KDQpBYm91dCB0
aGUgZGVidWcgbG9nLiBJIHRob3VnaHQgaXQgd291bGQgYmUgZWFzaWVyIHRvIG9wZW4gaXQg
YXQgdGhlIGRpcmVjdG9yeSBJJ20gd29ya2luZyBhdCBidXQNCnNpbmNlIHRoZSBmaWxlIG5h
bWUgaXMgYWx3YXlzIHRoZSBzYW1lLCBJIGNvdWxkIGFsc28gY3JlYXRlIGEgc2hvcnRjdXQg
dG8gaXQgb24gdGhlIGRlc2t0b3AuDQoNCkFib3V0IHRoZSBjb21ib3MuIElzIHRoZSBwcm9i
bGVtIHNvbWV0aGluZyBsaWtlIFdpbmRvd3MgcmVzZXQgdGhlIGNvbG9ycyB0byBpdHMgbGlr
aW5nIHdoZW5ldmVyDQppdCBkb2VzIGEgcmVmcmVzaD8gRm9yIG15IG93biB1c2UgaXQgaXNu
J3QgYSBwcm9ibGVtIGJ1dCBzb21lIHVzZXJzIGV4cGVjdGVkIHRoYXQgZXZlcnl0aGluZw0K
dGhhdCBpcyBub3QgYXBwbGljYWJsZSB3b3VsZCBiZSBncmF5ZWQtb3V0LiBNb3N0IHZpc2li
bGUgZXZlbnRzIGF1dG9tYXRpY2FsbHkgZG8gd2hlbiBkaXNhYmxlZC4NCg0KQ2hyaXMNCg0K
IA0KLS0tSW4gZ3VpNGNsaUB5YWhvb2dyb3Vwcy5jb20sIDxndWk0Y2xpQC4uLj4gd3JvdGUg
Og0KDQogSGkgQ2hyaXMNCiANCg0KU0VUIERCR1dSSVRFIE9OIA0KDQogVGhpcyBoYXMgdG8g
YmUgYSBzaW5nbGUgbG9jYXRpb24sIGxpa2UgdGhlIG91dHB1dCB3aW5k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nzg4MTM3IGh0dHA6Ly9mb3J1bXMuY29kZWd1cnUuY29t
L3Nob3d0aHJlYWQucGhwPzI1ODMxMC1Ib3ctdG8tY2hhbmdlLXRoZS1jb2xvci1vZi10aGUt
bGlzdGJveC1vZi1hLUNvbWJvQm94JnA9Nzg4MTM3I3Bvc3Q3ODgxMzcNCg0KaHR0cDovL2Zv
cnVtcy5jb2RlZ3VydS5jb20vc2hvd3RocmVhZC5waHA/NTIwMDA5LUNoYW5nZS1jb2xvci1v
Zi1jb21iby1ib3ggaHR0cDovL2ZvcnVtcy5jb2RlZ3VydS5jb20vc2hvd3RocmVhZC5waHA/
NTIwMDA5LUNoYW5nZS1jb2xvci1vZi1jb21iby1ib3gNCg0KVGhhbmtzLA0KDQpDaHJpcw0K
IA0KDQogDQoNCiANCg0KDQoNCg0KDQoNCg0KDQoNCg0K
--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>Thanks for the explanation!<br><br>About the debug log. I thought it would be easier to open it at the directory I'm working at but<br>since the file name is always the same, I could also create a shortcut to it on the desktop.<br><br>About the combos. Is the problem something like Windows reset the colors to its liking whenever<br>it does a refresh? For my own use it isn't a problem but some users expected that everything<br>that is not applicable would be grayed-out. Most visible events automatically do when disabled.<br><br>Chris<br><br><div class="ygroups-quoted"><br>---In [email protected], <gui4cli@...> wrote :<br><br><div id="ygrps-yiv-1646051805"><div dir="ltr"><div>Hi Chris</div><div><br></div>SET DBGWRITE ON<div><br></div><div>This has to b
e a single location, like the output window. Since the current gui changes, it would generate multiple files. Maybe I could add SET DBGFILE FileName to define/change a file name.</div><div><br></div><div>WinAttr STYLE NODISPATCH<br></div><div><br></div><div>It's a flag to prevent calling DispatchMessage() at the end of the window procedure. I tried it as a test to fix some interference with the mouse input, etc. It didn't fix anything, so I'll probably do away with it. </div><div><br></div><div>gcThreadPrintf()<br></div><div><br></div><div>This allows you to print to the output window from within a thread that you may have created in a DLL. It synchronizes with the main thread to avoid crashes.<br></div><div><br></div><div>xCOMBO</div><div><br></div><div>I see in the cod
e that I tried this in the past, but didn't succeed. It works but really badly cause windows wants to use its own colors. The correct way would be to make it "owner-drawn", but then I'd have to draw everything myself - too much work.</div><div><br></div><div>Dimitris</div><div><br></div><div><br></div><div><br><blockquote><span class=""> </span></blockquote></div><div><div class="ygrps-yiv-1646051805gmail_extra"><div class="ygrps-yiv-1646051805gmail_quote">On Fri, Mar 4, 2016 at 12:17 PM, <a rel="nofollow" target="_blank" href="mailto:chris.kevany@...">chris.kevany@...</a> [gui4cli] <span dir="ltr"><<a rel="nofollow" target="_blank" href="mailto:[email protected]">[email protected]</a>></span> wrote:<br><blockquote class="ygrps-yiv-1646051805gmail_quot
e" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex;"><u></u><div style="background-color:rgb(255,255,255);">
<span> </span><div><div><div><p>Hi Dimitris,<br><br>I started to look at the new 19.42 options and already use the new richedit internal<br>variables successfully. I use it to find the current cursor position to be able to<br>restore it later on.<br>I also used the SET DBGWRITE ON option which is quite helpful. Would it be possible<br>to write the log to the folder from where the current gui is loaded?<br><br>Most of the descriptions in the _HISTORY.txt file are clear but on some I have a<br>few questions.<br><br>1. WinAttr STYLE NODISPATCH. What does the default windows routine actually do?<br><br>2. When do I need to use gcThreadPrintf() in my dll calls? Also can you post the<br> G4C_api.h header file so I can update my C programming environment.<br><br>A while ago I ask
ed if it was possible to set the background color of combos.<br>I would like to use that to gray-out the combo main box for combos that are<br>conditionally disabled. Currently combos are locked when disabled but there's<br>no visible indication. I use to do that with xTextin events by setting style<br>xpwhite to gray and vice-versa.<br><br>I found a few threads with code examples that suggest it would be possible.<br>Perhaps take a look and see if it's applicable on g4c combos?<br><br><a rel="nofollow" target="_blank" href="http://forums.codeguru.com/showthread.php?258310-How-to-change-the-color-of-the-listbox-of-a-ComboBox&p=788137#post788137">http://forums.codeguru.com/showthread.php?258310-How-to-change-the-color-of-the-listbox-of-a-ComboBox&p=788137#post788137</a><br
><br><a rel="nofollow" target="_blank" href="http://forums.codeguru.com/showthread.php?520009-Change-color-of-combo-box">http://forums.codeguru.com/showthread.php?520009-Change-color-of-combo-box</a><br><br>Thanks,<br><br>Chris</p><p><span><br></span></p><p></p></div><div style="color:rgb(255,255,255);min-height:0px;"></div></div></div></div></blockquote></div><br></div></div></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=6048/stime=1457208633" 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=X3oDMTJiMmFqMjlkBF9TAzk3MzU5NzE0BGdycElkAzQyOTkEZ3Jwc3BJZAMxNzA1MDA3MjA3BHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTQ1NzIwODYzMw--" 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=X3oDMTJha3NtYmhmBF9TAzk3NDc2NTkwBGdycElkAzQyOTkEZ3Jwc3BJZAMxNzA1MDA3MjA3BHNlYwNmdHIEc2xrA2dmcARzdGltZQMxNDU3MjA4NjMz" 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;"> • <a href="https://info.yahoo.com/privacy/us/yahoo/groups/details.html" style="text-decoration: none;">Privacy</a> • <a href="mailto:[email protected]?subject=Unsubscribe" style="text-decoration: none;">Unsubscribe</a> • <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--