Listbox changes height when moved from Windows 3.11 to Windows 95 
Author Message
 Listbox changes height when moved from Windows 3.11 to Windows 95

Hi,

I've noticed when a project containing a listbox is moved from Windows
3.11 to Windows 95 environment, VB forces the listbox to change its
height. I conducted some tests and found out that the smallest height
value for a listbox in Windows 3.11 is 225 twips. The same setting in
Windows 95 is 255 twips. In both environments, one may increase or
decrease the height in increments of 195 twips only. This means that if
your project contains a listbox that measures, for example, 810 twips in
height in Windows 3.11, the height of the listbox will have to be
adjusted to either 645 or 840 twips once its moved to Windows 95. In my
case, both VB 16-bit and 32-bit automatically adjusted the list box to
645 twips when I moved my project from Windows 3.11 to Windows 95. Does
anyone know how to prevent this from happening? Also, I havent had the
chance to run my tests in Windows NT 3.5 to 4.0. If someone does, please
post the results.

Regards,

Ray



Fri, 30 Apr 1999 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. DDE & VB4 - Windows 3.11 vs Windows 95

2. I need Windows 3.11 API / Necesito API de Windows 3.11

3. I need Windows 3.11 API / Necesito API de Windows 3.11

4. Setting Passwords on Windows 3.11 / 95 / NT

5. Returning Windows version on 3.10, 3.11, 95 and NT

6. Shutdown windows (3.1 / 3.11 / 95)

7. Shutdown windows 3.1 / 3.11 / 95

8. Windows NT Password Change From Windows 95 Client

9. Change Windows 95 and Windows NT password

10. Problems with 16 bit Crystal Info on Windows 3.11 (Windows for Workgroups)

11. Windows 95 B, Setup Wizard Issues Setup.EXE on Windows 95 A

12. Windows 95 B, Setup Wizard Issues Setup.EXE on Windows 95 A

 

 
Powered by phpBB® Forum Software