1. IDE version 9k5
- Posted by Judith Evans <camping at FLASH.NET> Nov 15, 2000
- 411 views
I've put a version of IDE on my home page http://home.flash.net/~camping/judith.htm that fixes the beeping editor, thanks to a fix by Derek, and corrects the cursor placement after using ctrl-c. It looks like changes for style and the new InitialCode (thanks Dan for the title) entry in the event combo may take longer than I planned. BTW the new InitialCode will only be available for 'window' if I can code it correctly. Now looks like a good time to incorporate David Cuny's Property Sheet module. Initially the style field will be free form in which you can place as many styles together, seperated by commas, as you desire. In the future this probably should be a combo or dropdown list from which you can pick multiple items. I don't know all the possible items to put into this box right now though so may be calling out for help. Judith
2. Re: IDE version 9k5
- Posted by Dan B Moyer <DANMOYER at PRODIGY.NET> Nov 15, 2000
- 418 views
Judith, Do you think you will be providing the style field for all/most controls, or just windows? Reason I ask is I recently found it useful to add BS_MULTILINE style to a button control, which suggests it could be useful maybe to allow style setting in the IDE for other controls as well. And along those lines, I would suggest that even if you do provide later for dropdown list to select styles from, that you retain the option for the user to enter their own style constants, in case people find additional useful styles not included in the list. I think if you use a combo box which retains the "edit" field, that's automatically accomplished. One possible problem to look out for with regard to style setting for windows, unless Derek has changed it in Win32Lib, is that as far as I understand, in (a) recent version, the default style setting does *not* get "over-ridden" by user specified style, the user spec just gets *added* to the default, so you can't be completely sure that you have "rolled your own" (window style) as you intended. Dan ----- Original Message ----- From: "Judith Evans" <camping at FLASH.NET> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Wednesday, November 15, 2000 3:27 AM Subject: IDE version 9k5 > I've put a version of IDE on my home page > http://home.flash.net/~camping/judith.htm that fixes the beeping editor, > thanks to a fix by Derek, and corrects the cursor placement after using > ctrl-c. It looks like changes for style and the new InitialCode (thanks Dan > for the title) entry in the event combo may take longer than I planned. > BTW the new InitialCode will only be available for 'window' if I can code > it correctly. Now looks like a good time to incorporate David Cuny's > Property Sheet module. Initially the style field will be free form in which > you can place as many styles together, seperated by commas, as you desire. > In the future this probably should be a combo or dropdown list from which > you can pick multiple items. I don't know all the possible items to put into > this box right now though so may be calling out for help. > > Judith
3. Re: IDE version 9k5
- Posted by Judith Evans <camping at FLASH.NET> Nov 15, 2000
- 421 views
Yes, Dan, all controls will be able to use the style field. I saw your earlier post on BS_MULTILINE. And, yes, I will be providing for user to input styles not in the combo or dropdownlist. In fact it may be some time before I have enough information to build a combo or list box anyway. I'm not planning to interrogate the style field and try to outguess the user's intent. What you input is what you will get, otherwise 0 will be used. Thanks for your input, Judith On Wed, 15 Nov 2000 06:17:17 -0800, Dan B Moyer <DANMOYER at PRODIGY.NET> wrote: >Judith, > >Do you think you will be providing the style field for all/most controls, or >just windows? Reason I ask is I recently found it useful to add >BS_MULTILINE style to a button control, which suggests it could be useful >maybe to allow style setting in the IDE for other controls as well. > >And along those lines, I would suggest that even if you do provide later for >dropdown list to select styles from, that you retain the option for the user >to enter their own style constants, in case people find additional useful >styles not included in the list. I think if you use a combo box which >retains the "edit" field, that's automatically accomplished. > >One possible problem to look out for with regard to style setting for >windows, unless Derek has changed it in Win32Lib, is that as far as I >understand, in (a) recent version, the default style setting does *not* get >"over-ridden" by user specified style, the user spec just gets *added* to >the default, so you can't be completely sure that you have "rolled your own" >(window style) as you intended. > >Dan >
4. Re: IDE version 9k5
- Posted by Prasanta Chakraborty <prasanta at WRITEME.COM> Nov 15, 2000
- 396 views
- Last edited Nov 16, 2000
Whenever I try to run the IDE I always get several message windows with the following: "Error Code 460 Failed to acquire a hWnd when subclassing a control Press [ok] to continue [cancel] to quit" The IDE eventually starts but crashes after a while. I am running under Win NT SP5. Can someone please tell me why I am facing this? Regards, Prasanta.
5. Re: IDE version 9k5
- Posted by Dan B Moyer <DANMOYER at PRODIGY.NET> Nov 15, 2000
- 405 views
Prasanta, This is just a guess, based on something someone else wrote recently, but I suspect it may have to do with the use of INTEGER for handles; this, I think, works just fine with Windows 9x, but handles in other windows platforms may exceed the limit of integers, and may need to be defined as atoms?? If this is true, it's probably a Win32Lib problem, rather than the IDE? Dan ----- Original Message ----- From: "Prasanta Chakraborty" <prasanta at WRITEME.COM> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Wednesday, November 15, 2000 5:47 PM Subject: Re: IDE version 9k5 > Whenever I try to run the IDE I always get several message windows with the > following: > "Error Code 460 > Failed to acquire a hWnd when subclassing a control > Press [ok] to continue [cancel] to quit" > The IDE eventually starts but crashes after a while. I am running under Win > NT SP5. Can someone please tell me why I am facing this? > > Regards, > Prasanta.
6. Re: IDE version 9k5
- Posted by Matthew Lewis <MatthewL at KAPCOUSA.COM> Nov 16, 2000
- 407 views
Which version of win32lib are you using. There's been difficulty in subclassing the edit control of a combo box, which causes this error warning. Derek came up with a solution, which you can get from his web page: It's not necessary, though. The only effect should be that you won't be able to tab correctly from a combo box. Matt Lewis > -----Original Message----- > From: Prasanta Chakraborty > Whenever I try to run the IDE I always get several message > windows with the > following: > "Error Code 460 > Failed to acquire a hWnd when subclassing a control > Press [ok] to continue [cancel] to quit" > The IDE eventually starts but crashes after a while. I am > running under Win > NT SP5. Can someone please tell me why I am facing this? > > Regards, > Prasanta.