[Win32Lib] Control Heights Inconsistency
- Posted by "C. K. Lester" <euphoric at cklester.com> Oct 10, 2003
- 415 views
I always thought it was Judith's IDE causing this problem, but now I think it's with Win32Lib... Notice how both controls (rich edit and list) are created as height 170, but only one renders that way. Derek, can you explain this? -- code generated by Win32Lib IDE v0.18.1 include Win32lib.ew without warning ---------------------------------------------------------------------------- ---- -- Window Window1 constant Window1 = createEx( Window, "Window1", 0, Default, Default, 272, 257, 0, 0 ) constant EditText2 = createEx( EditText, "30,30", Window1, 30, 30, 40, 20, 0, 0 ) constant EditText3 = createEx( EditText, "200,200", Window1, 200, 200, 48, 20, 0, 0 ) constant RichEdit5 = createEx( RichEdit, "Height: 170", Window1, 73, 30, 50, 170, or_all({ES_NOHIDESEL}), 0 ) constant List6 = createEx( List, "Height:170", Window1, 150, 30, 50, 170, 0, 0 ) --------------------------------------------------------- WinMain( Window1,Normal )