IDE v0.18.? and Win32lib v0.60.0+
- Posted by Judith Evans <camping at txcyber.com> Jul 09, 2004
- 500 views
I'm getting a lot of e-mail about the behavior or Code Editor with the new win32lib. In order to perhaps stem the flow I'm letting every user of IDE know what has happened. Code Editor is parented to Form Design which allows Code Editor to stay in front of IDE's main screen and at the same time allow the user to click in Design to manage controls. The new win32lib, when a control in Design is clicked or when an icon in the Tool Box is clicked and a number of other times and Code Editor is open, gives focus immediately back to Code Editor. You can get around this problem by parenting CodeWin in IDE_code.ew to 0 but then the Code Editor's icon will show in the windows task bar and Code Editor is not stay in front of IDE's main window. In the next release of IDE I've played a little game by parenting Code Editor to an offscreen toolwindow so that the icon doesn't show in the task bar. I'm not entirely pleased with this trick as without a lot of moveZOrder statements I can not keep Code Editor in front of IDE's main window. If anyone has suggestions I'd be grateful to hear them. ~judith