1. IDE v0.18.? and Win32lib v0.60.0+
- Posted by Judith Evans <camping at txcyber.com> Jul 09, 2004
- 501 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
2. Re: IDE v0.18.? and Win32lib v0.60.0+
- Posted by Don <eunexus at yahoo.com> Jul 09, 2004
- 496 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 > 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
3. Re: IDE v0.18.? and Win32lib v0.60.0+
- Posted by "Greg Haberek" <ghaberek at wowway.com> Jul 09, 2004
- 492 views
In my opinion, I never really liked having the Code Editor as a separate window. I think it should be built-in to the IDE. Perhaps you could put it in the same spot as the Form Design window and switch views between them? That's how ::cough, cough:: VB does it. Now that you've got a list of controls on the left of the code editor, I don't really think we need to click in the Form Design. Or we could click View > Form Design, and select a contol, then click View > Code Editor and the code is there for us. ~Greg ----- Original Message ----- From: "Judith Evans" <guest at RapidEuphoria.com> To: <EUforum at topica.com> Sent: Friday, July 09, 2004 6:05 AM Subject: IDE v0.18.? and Win32lib v0.60.0+ > > > posted by: Judith Evans <camping at txcyber.com> > > 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 > > > >
4. Re: IDE v0.18.? and Win32lib v0.60.0+
- Posted by Judith Evans <camping at txcyber.com> Jul 10, 2004
- 491 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
5. Re: IDE v0.18.? and Win32lib v0.60.0+
- Posted by Judith Evans <camping at txcyber.com> Jul 10, 2004
- 471 views
Greg Haberek wrote: > > In my opinion, I never really liked having the Code Editor as a separate > window. I think it should be built-in to the IDE. Perhaps you could put it > in the same spot as the Form Design window and switch views between them? > That's how ::cough, cough:: VB does it. Now that you've got a list of > controls on the left of the code editor, I don't really think we need to > click in the Form Design. Or we could click View > Form Design, and select a > contol, then click View > Code Editor and the code is there for us. > > ~Greg I remember when I first started working with IDE, the first request I got was to change Code Editor from a modal window so user could keep Code Editor open all the time and also do actions such as add a new control to Design. However, I see your point about having the controls list at the left. I'll give your suggestion some consideration, thanks. ~judith > > ----- Original Message ----- > From: "Judith Evans" <guest at RapidEuphoria.com> > To: <EUforum at topica.com> > Sent: Friday, July 09, 2004 6:05 AM > Subject: IDE v0.18.? and Win32lib v0.60.0+ > > > > posted by: Judith Evans <camping at txcyber.com> > > > > 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 > > > >