Q: Why auto-redraw doesn't work right in Windows-NT 
Author Message
 Q: Why auto-redraw doesn't work right in Windows-NT

I helped develop a VB application in Windows-95 that loads and
displays HTML pages onto a picture box.  When I tried running it
in Windows-NT, the picture box would lose all of the information
below the height of the screen even though I use auto-redraw.

Also, I had a similar problem trying to get this to work in
16-bit Windows.  It would give an error if it tried to print
text in the picture box below 32000+ twips.

If anyone knows a solution to either problem, let me know.

Wayne Witzel



Mon, 14 Sep 1998 03:00:00 GMT  
 Q: Why auto-redraw doesn't work right in Windows-NT
[znip]

Quote:
>Also, I had a similar problem trying to get this to work in
>16-bit Windows.  It would give an error if it tried to print
>text in the picture box below 32000+ twips.

Pic box's coordinates are signed integers, so the maximum
you can get is 32767. If my memory serves, you can't work
around this by using pixels (or centimeters or miles), because
the internal processing uses twips.

Greetings,

 ----------------------------------------
| I don't believe in a no-win scenario.  |
|               - Admiral James T. Kirk  |
 ----------------------------------------



Fri, 18 Sep 1998 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Application runs with Windows 95/NT, but doesn't work with Windows 98

2. RegOpenKeyEx doesn't work in Windows NT workstation

3. Why oh why doesn't this work?

4. Why LoadPicture() works on local pathes and doesn't work on the URLS

5. One of two functions doesn't function on Windows 95 (i does on Windows NT)

6. Windows Service Calling VB6 dll doesn't work but works with VB6

7. Loop statement doesn't work right

8. right alignment in richtextbox doesn't work

9. Form menu editor doesn't work right??

10. Help: Control Box doesn't work right.

11. it's work with windows NT not with Windows 95

12. AddNew method doesn't work right!!

 

 
Powered by phpBB® Forum Software