Re: IDE v0.18.? and Win32lib v0.60.0+
- Posted by Judith Evans <camping at txcyber.com> Jul 10, 2004
- 490 views
Don wrote: > > > 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 > > > > Hey Judith =) > Umm, Windows style WS_EX_TOPMOST doesnt fit the bill? > > Or does it only need to be topmost some of the time. I have never tried, > but perhaps toggling this style will provide what you need... an example > would rule (as I code by hand) =) > > > Don Phillips - aka Graebel > National Instruments > mailto: eunexus @ yahoo.com > I tried WS_EX_TOPMOST but then with Code Editor open and I open a dialog window, for example configurations, it is behind Code Editor and since it is a modal window I can not move Code Editor out of the way. Thanks for the suggestion, however. ~judith