home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / packer / wzip_nt / whatsnew.txt < prev    next >
Text File  |  1994-05-29  |  2KB  |  42 lines

  1. WinZip for Windows/NT     BETA TEST VERSION
  2.  
  3. What's new:
  4.  
  5. This beta version has two fixes to the 8-Apr-94 beta:
  6.  
  7. 1) Fix for bug handling ARC files.
  8.  
  9. 2) Workaround for an apparent bug in Windows/NT 3.5 build 612 beta that
  10. caused WinZip to display incomplete listbox entries in the main window.
  11. WinZip left aligns, centers, and right aligns different parts of each
  12. listbox entry.  This seems to cause problems for this beta version of
  13. Windows/NT.  I was able to reproduce the problem by making minor changes
  14. to Microsoft's ODLIST SDK sample.  The changes to the ODLIST sample are:
  15.  
  16. a) Insert the following function near the top of the sample program
  17.  
  18.  void text_out(HDC hdc, int x, int y, LPSTR p, int cb)
  19.     {
  20.     SetTextAlign(hdc, TA_LEFT);
  21.     TextOut(hdc, x, y, p, cb);
  22.     SetTextAlign(hdc, TA_CENTER);
  23.     TextOut(hdc, x + 50, y, "XXX", 3);
  24.     }
  25.  
  26. b) replace the two calls to TextOut with calls to text_out.
  27.  
  28. These changes should left-align the specified text, and then overlay it
  29. with three centered Xs.  However, the specified text is centered, even
  30. though it was written with SetTextAlign TA_LEFT in effect.  Apparently
  31. the NT owner-draw listbox code is using the last active SetTextAlign
  32. value instead of the SetTextAlign value that was specified at the time
  33. of the TextOut.
  34.  
  35. The sample code fails both when compiled for Win32 and Win16.
  36.  
  37. The sample code (and previous versions of WinZip) work under Windows/NT
  38. 3.1, Windows 3.1, Windows for Workgroups, and even Win-OS2, just not in
  39. the Windows/NT 3.5 build 612 beta.
  40.  
  41. ###
  42.