<HTML><HEAD>
<STYLE>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</STYLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.6000.16705" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV>Jay:</DIV>
<DIV> </DIV>
<DIV>Thanks. I probably can't arrange to send you one of these computers, but I might be able to set up a way for you to remotely access it.</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>Randy<BR><BR>>>> Jay <jay.krell@cornell.edu> 8/19/2008 5:23 PM >>><BR>Randy this is all unfortunate. I really wish I had this configuration locally to try out. :(<BR>If you or your customer can send me one....I make no promises. :)<BR>(It is not a cheap machine. It is a "high end" laptop ("high end" means "arbitrarily inflated price"), starts at $1400, and is not well configured at that price. You can get a much better Dell Vostro or Inspiron for half the price.)<BR> <BR>"I kinda thunk" 96 and 75 or 96 and 96, would lead to "correcly unscaled pixmaps".<BR>I need to read the code more..these must have had other affects.<BR> <BR>Be sure your customer knows it works fine on most machines/configurations.<BR>Try to get your customer to believe we might yet fix it. <BR> However, granted, confidence in the overall system will still suffer.<BR>And if you can get them to send me one..just to borrow...probably not a good move in a "professional environment", use your judgement.<BR> <BR>Sorry,<BR> - Jay<BR><BR><BR></DIV>
<DIV>
<HR>
</DIV>
<DIV><BR>Date: Tue, 19 Aug 2008 16:55:00 -0400<BR>From: rcoleburn@scires.com<BR>To: m3devel@elegosoft.com; jayk123@hotmail.com<BR>Subject: pixmaps et al on Win32 hi-res monitors<BR><BR><BR></DIV>
<META content="Microsoft SafeHTML" name=Generator>
<DIV>Jay, Sorry for the delay in getting back to you.</DIV>
<DIV> </DIV>
<DIV>I ran tests as you suggested, namely, in WinScreenType.InnerNew I changed the x & y resolution to be 96.0 (I did not change the pixels, just the res field). I tried running this version with Image.Raw.x/yres set to 75.0 and also set to 96.0. In both cases, what I got on the screen was horrid. Everything was extremely large and only a fraction of the window was visible on screen (e.g., shadow size on buttons appeared to be increased by a factor of 7 or more).</DIV>
<DIV> </DIV>
<DIV>So, here is where I stand:</DIV>
<DIV> </DIV>
<DIV>1. It seems that for certain high-dpi monitors (Dell M4300 laptop is only one I've tested), if you use unscaled pixmaps in FormsVBT/Trestle, the ZGrowVBT stops working for ZChassisVBT. You can still grab the title and try to drag. The system will put an outline around the window, but it won't let you drag it anywhere.</DIV>
<DIV> </DIV>
<DIV>2. I have put an environment variable in my programs that lets you choose between scaled and unscaled pixmaps. For either case, the program seems to work fine on "normal dpi" monitors, but when run on the Dell M4300 hi-res system, you get the following behavior: </DIV>
<DIV> </DIV>
<DIV>Unscaled=subwindows can't be dragged around (moved), but the GUI looks good; </DIV>
<DIV> </DIV>
<DIV>Scaled=subwindow dragging works as expected, but all pixmaps are double-size resulting in bad appearance (pixmaps are out of proportion with text and cause some subwindows to be too big to fit on screen). </DIV>
<DIV> </DIV>
<DIV>So, the end user gets to decide via environment variable whether he wants a pretty GUI with frozen subwindows, or an ugly GUI with movable subwindows. Alas, the choices are poor, at best.</DIV>
<DIV> </DIV>
<DIV>3. At this point I don't know of anything else to try as a potential solution to this problem.</DIV>
<DIV> </DIV>
<DIV>4. I am running final tests today & tomorrow at the customer location. We will meet tomorrow (Wednesday) afternoon to decide if customer will accept the program.</DIV>
<DIV> </DIV>
<DIV>If anyone has any other ideas for a solution, please let me know ASAP.</DIV>
<DIV> </DIV>
<DIV>I plan to commit my changes to the repository as soon as the final decision on acceptance is rendered. These changes will not alter the way Trestle/FormsVBT has been working on Windows, except to fix the appearance of scaled scroll bars and to add the capability to force use of unscaled pixmaps. The latter is not done thru env var, but via a new procedure in Image.i3. (One could use an env var in one's program, like I did, to provide a control input to the new procedure.) Unless one calls the new procedure, the default is to use scaled pixmaps so as to maintain compatibility with the way its been done in the past, thus there is no change in operation unless explicitly called for by the programmer.</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>Randy</DIV></BODY></HTML>