1. Win32Lib bugs in 3 controls
- Posted by Philip D. <philip1987 at hotmail.com> Nov 11, 2003
- 495 views
My system is Windows XP Pro. win32lib version 0.59.1 Problem 1) Flat toolbars - I have a program that works fine if I use "ToolBar" in the create. However, if I keep everything the same just make that "FlatToolBar", the toolbar goes completely bad. I can't get flat toolbars to work at all. Problem 2) Status bars - I called setSubFields(mystatusbar, {50,50,50,-1}). It acted as if I had written {50,-1}. In other words, it only made 2 fields for me, instead of 4. Problem 3) MenuItems - I can't seem to rename them using setText() Can you help me find solutions to these problems? Or if it is a win32lib problem, a new, corrected version would be appreciated. Thanks, Phil
2. Re: Win32Lib bugs in 3 controls
- Posted by "Derek Parnell" <ddparnell at bigpond.com> Nov 11, 2003
- 492 views
----- Original Message ----- From: "Philip D." <philip1987 at hotmail.com> To: <EUforum at topica.com> Subject: Win32Lib bugs in 3 controls > > > My system is Windows XP Pro. win32lib version 0.59.1 > > Problem 1) Flat toolbars - I have a program that works fine if I use > "ToolBar" in the create. However, if I keep everything the same just > make that "FlatToolBar", the toolbar goes completely bad. I can't get > flat toolbars to work at all. ToolBar and FlatToolBar definitely have different creation requirements. Have a look at the flattoolbar.exw demo program that came with win32lib. > Problem 2) Status bars - I called setSubFields(mystatusbar, > {50,50,50,-1}). It acted as if I had written {50,-1}. In other words, > it only made 2 fields for me, instead of 4. The sequence values in this routine represent the RIGHTHAND edge pixel of each panel, except the last one. What you have done here is create three panels that all have their righthand edge at pixel #50. Try this instead... setSubFields(mystatusbar, {50,100,150,-1}) > Problem 3) MenuItems - I can't seem to rename them using setText() Yes, this is a mistake in the library. I've repaired it in the next release. You can get a beta edition from ... http://www.users.bigpond.com/ddparnell/euphoria/w32005902h.zip This only has the include files and is definitely a BETA version, so beware and do not overwrite your current win32lib area. -- Derek