1. RE: Phillip's LimitSize -- closing window

Don Phillips wrote:
> 
> Heyas Andy.
> This is a known (at least to me) issue with my original release of the 
> xControls
> lib.  To fix the problem, you will need to edit the LimitSize.ew file.  
> In the first
> procedure under the message WM_CLOSE, remove the line "returnValue(0)".
> Should be the 30th line from the top.  This will solve the problem you 
> describe.
>  
Gotcha. Actually it is: "return( 0 )"

Is there a newer release I don't know about?

I *love* the library by the way.

-- Andy


>
>  
> Hello,
> 
> Just noticed that if I use Don's LimitSize xControl to limit main 
> window, it will not close on the first try hitting the 'X' (close) 
> button. Second try works ok.
> 
> 
> <P>Heyas Andy.
> <P>This is a known (at least to me) issue with my original release of 
> the xControls
> <P>lib.  To fix the problem, you will need to edit the LimitSize.ew 
> file.  In the first
> <P>procedure under the message WM_CLOSE, remove the line 
> "returnValue(0)".
> <P>Should be the 30th line from the top.  This will solve the problem 
> you describe.
> <P> 
> <P>Don Phillips
> <P> 
> <P> <B><I>Andy Serpa <RENEGADE at EARTHLING.NET></I></B>wrote:
> 
>

new topic     » topic index » view message » categorize

2. RE: Phillip's LimitSize -- closing window

--0-1419690491-1032468626=:40057


> Gotcha. Actually it is: "return( 0 )"
> Is there a newer release I don't know about?
> I *love* the library by the way.
> -- Andy

No, its a long story but as of yet there is no new release.  Basically, I
started coding the controls and all was good and well.  Geometry was the first,
then LimitSize (by request), and then Syntax.  After Syntax I needed a break from
Euphoria.  I great language it is, but not having native Windows support was
wearing thin for me (no built in structures or good support for byte, word
types).  So I have been on a sabbatical from Euphoria for about hmm, at least a
couple of months now.  During that time I kept productive and I learned assembly.
 During my absence, (I believe it was Jonas) pointed out an error regarding
LimitSize and pull down controls which I posted a fix for.  The topic was also
raised in the past about not being able to close the window which was removing
that line from the file.  And most recently, Phil Russell has posted an update to
my Geometry manager so it can co-exist with his grid control.

So there are actually three changes to the lib which I know about at this time. 
Since I have been "away", I have not collected these changes and re-submmitted it
to RDS.

What I was planning to do was keep coding controls and posting the new code and
at the same time fix the errors with the others, but frankly I couldnt (and still
cant) think of any more useful ones I could add.  So the updates just sat there. 
I think I will dig through my records and archives and see if I cant find those
fixes and repost it just to clear it up.

As always, if anyone has an idea for a control, I am always willing to bat it
around and see it would be a good addition.  Right now however I am on the third
revision of my syntax control.  This one is a stand alone editor code named
Nexus.  Its coming along nicely so far.  But thats basically a complete history
of the lib.

Don Phillips




<P>&gt; Gotcha. Actually it is: "return( 0 )"<BR>&gt; Is there a newer release I
don't know about?<BR>&gt; I *love* the library by the way.<BR>&gt; -- Andy</P>
<P>No, its a long story but as of yet there is no new release.&nbsp; Basically,
I started coding the controls and all was good and well.&nbsp; Geometry was the
first, then LimitSize (by request), and then Syntax.&nbsp; After Syntax I needed
a break from Euphoria.&nbsp; I great language it is, but not having native
Windows support was wearing thin for me (no built in structures or good support
for byte, word types).&nbsp; So I have been on a sabbatical from Euphoria for
about hmm, at least a couple of months now.&nbsp; During that time I kept
productive and I learned&nbsp;assembly.&nbsp; During my absence, (I believe it
was Jonas) pointed out an error regarding LimitSize and pull down controls which
I posted a fix for.&nbsp; The topic was also raised in the past about not being
able to close the window which was removing that line from the file.&nbsp; And
most recently, <FONT face=Arial size=2>Phil Russell has posted an update to my
Geometry manager so it can co-exist with hi!
s grid control.</FONT></P>
<P>So there are actually three changes to the lib which I know about at this
time.&nbsp; Since I have been "away", I have not collected these changes and
re-submmitted it to RDS.</P>
<P>What I was planning to do was keep coding controls and posting the new code
and at the same time fix the errors with the others, but frankly I couldnt (and
still cant) think of any more useful ones I could add.&nbsp; So the updates just
sat there.&nbsp; I think I will dig through my records and archives and see if I
cant find those fixes and repost it just to clear it up.</P>
<P>As always, if anyone has an idea for a control, I am always willing to bat it
around and see it would be a good addition.&nbsp; Right now however I am on the
third revision of my syntax control.&nbsp; This one is a stand alone editor code
named Nexus.&nbsp; Its coming along nicely so far.&nbsp; But thats basically a
complete history of the lib.</P>
<P>Don Phillips</P><p><br><hr size=1>Do you Yahoo!?<br>
New <a href="http://rd.yahoo.com/evt=1207/*http://sbc.yahoo.com/">DSL Internet
Access</a> from SBC & Yahoo!</a>
--0-1419690491-1032468626=:40057--

new topic     » goto parent     » topic index » view message » categorize

3. RE: Phillip's LimitSize -- closing window

Don,

I thought I posted this message but maybe I was asleep...

I noticed that if you based a control's position on the bottom postion 
of a drop down list, the control is positioned according to the bottom 
of the drop down portion, not the bottom of the main control.  

Nothing big here, but if you go back and revisit your library it might 
be worth looking at (I got around this by basing the control on another 
control besides the drop down list).

Thanks!

Jonas
Don Phillips wrote:
> As always, if anyone has an idea for a control, I am always willing to 
> bat it around and see it would be a good addition.  Right now however I 
> am on the third revision of my syntax control.  This one is a stand 
> alone editor code named Nexus.  Its coming along nicely so far.  But 
> thats basically a complete history of the lib.
> 
> Don Phillips

new topic     » goto parent     » topic index » view message » categorize

4. RE: Phillip's LimitSize -- closing window

--0-292101553-1032479012=:91588


Interesting.  That is indeed something to look into.  I seemed to have missed
this message if you did post it.  I will play with it and see what I can do to
remedy the situation.  This is probably an undocumented API feature =)
Oh yes.  I did find all of the past updates and incorporated the changes via
EuGrid.  I sent the modified files to RDS to post.

Don,

I thought I posted this message but maybe I was asleep...

I noticed that if you based a control's position on the bottom postion 
of a drop down list, the control is positioned according to the bottom 
of the drop down portion, not the bottom of the main control. 

Nothing big here, but if you go back and revisit your library it might 
be worth looking at (I got around this by basing the control on another 
control besides the drop down list).

Thanks!

Jonas
Don Phillips wrote:
> As always, if anyone has an idea for a control, I am always willing to 
> bat it around and see it would be a good addition. Right now however I 
> am on the third revision of my syntax control. This one is a stand 
> alone editor code named Nexus. Its coming along nicely so far. But 
> thats basically a complete history of the lib.
> 
> Don Phillips







<P>Interesting.&nbsp; That is indeed something to look into.&nbsp; I seemed to
have missed this message if you did post it.&nbsp; I will play with it and see
what I can do to remedy the situation.&nbsp; This is probably an undocumented API
feature =)
<P>Oh yes.&nbsp; I did find all of the past updates and incorporated the changes
via EuGrid.&nbsp; I sent the modified files to RDS to post.
<P>Don<JKTEMPLE at YHTI.NET>
New <a href="http://rd.yahoo.com/evt=1207/*http://sbc.yahoo.com/">DSL Internet
Access</a> from SBC & Yahoo!</a>
--0-292101553-1032479012=:91588--

new topic     » goto parent     » topic index » view message » categorize

5. RE: Phillip's LimitSize -- closing window

Hi Don - welcome back!

In typical fashion, the day after I posted my patch to geometry.exw I 
found a *much* better way of doing it which did not involve changing 
your code at all. Sigh. 

I will bundle this into my next EuGrid release (sometime in the next 
week or two, hopefully) at which point you can revert to the previous 
version.  Sorry to mess you around but at least there is an interim 
solution for the many developers (Jonas?) who are combining EuGrid and 
xControls.

Regards,

Phil Russell

new topic     » goto parent     » topic index » view message » categorize

6. RE: Phillip's LimitSize -- closing window

--0-1787248896-1032551792=:87335


Sounds good to me.  Actually I flubbed my first email to RDS... I forgot to
forward the files themselves hehe.  Considering you fixed it on your end I will
resubmit the reworked files again without your modifications.
Thanks for letting me know ahead of time =)
Don
 Phil Russell 

Hi Don - welcome back!

In typical fashion, the day after I posted my patch to geometry.exw I 
found a *much* better way of doing it which did not involve changing 
your code at all. Sigh. 

I will bundle this into my next EuGrid release (sometime in the next 
week or two, hopefully) at which point you can revert to the previous 
version. Sorry to mess you around but at least there is an interim 
solution for the many developers (Jonas?) who are combining EuGrid and 
xControls.

Regards,

Phil Russell







<P>Sounds good to me.&nbsp; Actually I flubbed my first email to RDS... I forgot
to forward the files themselves hehe.&nbsp; Considering you fixed it on your end
I will resubmit the reworked files again without your modifications.
<P>Thanks for letting me know ahead of time =)
<P>Don
<P>&nbsp;<B><I>Phil Russell <PG_RUSSELL at LINEONE.NET></I></B>wrote:
New <a href="http://rd.yahoo.com/evt=1207/*http://sbc.yahoo.com/">DSL Internet
Access</a> from SBC & Yahoo!</a>
--0-1787248896-1032551792=:87335--

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu