1. 50% Success (or, "Re: Re: Questions")
Hello All!
<flame directed at third party>
First, a preliminary announcement. In light of that wonderful merger
between Xoom, Snap, and NBCi, the folks that run xoommail decided in thei=
r
infinite lack-of-wisdom to change my email address and start kicking back
whatever mail I was to receive as "undeliverable." In fact, I couldn't e=
ven
get into my mailbox, considering they didn't bother to tell me what my da=
mn
address was. So, I've switched to a hotmail address and xoom/Snap/NBCi c=
an
kiss my heifer.
</flame>
<Travis kicks hole in wall, goes outside and screams, cows look at him an=
d
wonder, "Who pee'ed in his Wheaties?">
OK, I'm better now. Anyone who might have sent me a private post in the
last seven days will need to send it to the new address, which I've inclu=
ded
below on the off-chance that it is not automatically displayed with this
message. I'm sorry for the tardiness of this response to the help that
y'all offered about a week ago; it took me that long to realize that
"temporarily down" =3D "no longer exists."
Mr. Lewis: The correction that you passed along for putStreamCallback()
worked like a charm. My rich edit will now load win32lib.ew without a
problem, although it understandably takes a few seconds. But here are a =
few
more questions.
1. Getting Scrollbars on the Rich Edit
How do I get vertical and horizontal scrollbars? I tried
or_all({ES_AUTOHSCROLL, ES_AUTOVSCROLL})
but this appeared to have no effect. I also tried
or_all({WS_HSCROLL, WS_VSCROLL})
and managed to get a vertical scrollbar; however, no horizontal scrollbar
appeared, and it caused severe formatting problems in the rich edit when =
I
tried to manually add information to the end of the text. Keep in mind t=
hat
my knowledge of the internal workings of Windows is very limited, so more
than likely I told your rich edit control to shoot itself in the foot! :-=
(
2. More angst over getPrinter()!
<M. Lewis snip>
You need to delete the structure code that appears right above where
PRINTDLG is defined.
</snip>
This confused me. I found a definition for the type PRINTDLG, and what
appeared to be an initialization block for the structure. Could you pass=
me
the line number for the structure to be deleted? Or would it just be
simpler for me to pick up the bleeding-edge version over at SourceForge?
3. Possible Trouble with getStream()
I have been using the following code to save the text in the rich edit
control to a file.
procedure saveFile(sequence FileName)
-- global object junk ... generic variable for "junk" results.
-- global object rtxEdtior ... the rich edit control.
integer
FileID
sequence
StreamedText
FileID =3D open(FileName, "w")
if FileID =3D -1 then
junk =3D message_box(
"Vision Euphoria cannot open the file you've specified! " &
"Please make sure that this file is not write protected, " &
"and that no other program is currently using the file.\n\n" =
&
"This file was not saved.", APPNAME, MB_ICONERROR)
return
end if
StreamedText =3D getStream(rtxEditor, StreamText)
for i =3D 1 to length(StreamedText) do
puts(FileID, StreamedText[i])
end for
close(FileID)
end procedure
-- end code
When changes are made in the rich edit control, and then a save with the
above procedure is attempted, only information from the top of the contro=
l
to the line above the caret's position is saved. At the time that the
procedure was called, the rich edit control was loaded with a 10.8K
plain-text file. This also occurred with a 2.6K plain-text file as well.
There seems to be a point at which the entire file will be saved regardle=
ss
of the caret's position, however that came only after numerous saving
attempts, and I am not sure what I did to cause it to finally work
correctly.
4. My 2=A2 on win32lib.ew Documentation
Mr. Parnell:
In future documentation for win32lib.ew, perhaps it would be a good idea =
to
list all the flags that belong to a particular control, and very briefly
describe them. As an example ...
Control:
HappyFace
Makes a happy face
Flags:
HF_OPENGRIN -- Mouth open for smile
HF_WINK -- Left eye closed
HF_AUTOCOLOR -- Color automatically matches mood of user
and so on. This would help those of us who don't know much about the
Windows flags -- presently, less-than-initiated Windows users such as mys=
elf
have to look through all the flag constants and use the WAG method to
determine which flags to use for what. It would also be helpful for IDE
builders, etc., to see what flags are available for a particular componen=
t.
(Yes, there is the Win32.hlp file; however, for those of us whose machine=
s
are not directly connected to the Net, that would be a frighteningly larg=
e
download!)
Of course, there would have to be a limit set somewhere in the event that=
a
component takes an inordinate amount of flags; after all, there's a good
thing, and then there's overkill.
Y'all are doing a very good job with win32lib.ew, and your work is extrem=
ely
appreciated.
5. Listserv Catch-22
Mr. Craig:
If the mailing list gets its mail returned to it as undeliverable, will i=
t
automatically unsubscribe the address? If not, could you be so kind as t=
o
unsubscribe atora at xoommail.com? I tried to do this through the listserv
itself, but it wanted a password. When I got the password, it sent a
confirmation to that address ... I can't reply to the confirmation since =
the
address, as far as I can tell, no longer exists. I have resubscribed usi=
ng
my hotmail address, so at this point, I have a double subscription.
Well, thanks to all. Happy Hunting!
God Bless and Blessed Be,
Travis Beaty
Claude, Texas
travisbeaty at hotmail.com
P.S. About the "how should one be addressed?" question posed a few days
ago. I write Mr., Mrs., Ms., simply because of my redneck upbringing and
the fact that I always equate an email to the good-old paper and pen lett=
er.
As far as I'm concerned, just call me Travis -- heck, I've been called =
a
lot worse!
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
2. Re: 50% Success (or, "Re: Re: Questions")
----- Original Message -----
From: "Travis Beaty" <travisbeaty at HOTMAIL.COM>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Wednesday, September 13, 2000 5:06 AM
Subject: 50% Success (or, "Re: Re: Questions")
> 4. My 2=A2 on win32lib.ew Documentation
>
> Mr. Parnell:
>
> In future documentation for win32lib.ew, perhaps it would be a good ide=
a
to
> list all the flags that belong to a particular control, and very briefl=
y
> describe them. As an example ...
>
> Control:
> HappyFace
> Makes a happy face
>
> Flags:
> HF_OPENGRIN -- Mouth open for smile
> HF_WINK -- Left eye closed
> HF_AUTOCOLOR -- Color automatically matches mood of user
>
> and so on. This would help those of us who don't know much about the
> Windows flags -- presently, less-than-initiated Windows users such as
myself
> have to look through all the flag constants and use the WAG method to
> determine which flags to use for what. It would also be helpful for ID=
E
> builders, etc., to see what flags are available for a particular
component.
> (Yes, there is the Win32.hlp file; however, for those of us whose machi=
nes
> are not directly connected to the Net, that would be a frighteningly la=
rge
> download!)
>
> Of course, there would have to be a limit set somewhere in the event th=
at
a
> component takes an inordinate amount of flags; after all, there's a goo=
d
> thing, and then there's overkill.
G'day Travis,
I don't think I will document all the hundreds of flags that can be used.
This is simply way too much work for me, plus its already documented at
http://msdn.microsoft.com . There are various books availble on Windows
programing that also can be used. I would just be duplicating the good
efforts of others (and not doing such grand job either, I suspect).
> Y'all are doing a very good job with win32lib.ew, and your work is
extremely
> appreciated.
Your welcome.
-----
cheers,
Derek.
[cultural note: Australian's tend to drop the Mr., Mrs., Ms. etc... excep=
t
in formal situations, or if you haven't met or written to them before. In
fact, if a person insists being called Mr. <surname> in informal situatio=
ns,
they are regarded as a bit of a snob. Even in a lot of schools, teachers =
are
called by their personal names. Most office people, including bosses, use
first names for everybody.]
3. Re: 50% Success (or, "Re: Re: Questions")
Travis Beaty writes:
> If the mailing list gets its mail returned to it as undeliverable,
> will it automatically unsubscribe the address?
Yes, that's what I've been told.
I think the mail has to bounce for several days
in a row before that happens.
Regards,
Rob Craig
Rapid Deployment Software
http://www.RapidEuphoria.com
4. Re: 50% Success (or, "Re: Re: Questions")
On 12 Sep 2000, at 13:06, Travis Beaty wrote:
> Hello All!
>
> <flame directed at third party>
> First, a preliminary announcement. In light of that wonderful merger
> between Xoom, Snap, and NBCi, the folks that run xoommail decided in their
> infinite lack-of-wisdom to change my email address and start kicking back
> whatever mail I was to receive as "undeliverable." In fact, I couldn't even
> get into my mailbox, considering they didn't bother to tell me what my damn
> address was. So, I've switched to a hotmail address and xoom/Snap/NBCi can
> kiss my heifer.
> </flame>
Errrrr... you didn't do much better with hotmail, Microsoft owns it outright.
And xoom
went downhill 2yrs ago, and MS is partners with NBC online. Ditto for Yahoo.
> <Travis kicks hole in wall, goes outside and screams, cows look at him and
> wonder, "Who pee'ed in his Wheaties?">
lol
Kat
5. Re: 50% Success (or, "Re: Re: Questions")
Travis,
That's a *very* good suggestion for making the Win32Lib documentation mor=
e
helpful!!!
Dan Moyer
----- Original Message -----
From: "Travis Beaty" <travisbeaty at HOTMAIL.COM>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Tuesday, September 12, 2000 11:06 AM
Subject: 50% Success (or, "Re: Re: Questions")
Hello All!
<snipity snip>
4. My 2=A2 on win32lib.ew Documentation
Mr. Parnell:
In future documentation for win32lib.ew, perhaps it would be a good idea =
to
list all the flags that belong to a particular control, and very briefly
describe them. As an example ...
Control:
HappyFace
Makes a happy face
Flags:
HF_OPENGRIN -- Mouth open for smile
HF_WINK -- Left eye closed
HF_AUTOCOLOR -- Color automatically matches mood of user
and so on. This would help those of us who don't know much about the
Windows flags -- presently, less-than-initiated Windows users such as mys=
elf
have to look through all the flag constants and use the WAG method to
determine which flags to use for what. It would also be helpful for IDE
builders, etc., to see what flags are available for a particular componen=
t.
(Yes, there is the Win32.hlp file; however, for those of us whose machine=
s
are not directly connected to the Net, that would be a frighteningly larg=
e
download!)
Of course, there would have to be a limit set somewhere in the event that=
a
component takes an inordinate amount of flags; after all, there's a good
thing, and then there's overkill.
Y'all are doing a very good job with win32lib.ew, and your work is extrem=
ely
appreciated.
<snip >
Travis Beaty
Claude, Texas
travisbeaty at hotmail.com
P.S. About the "how should one be addressed?" question posed a few days
ago. I write Mr., Mrs., Ms., simply because of my redneck upbringing and
the fact that I always equate an email to the good-old paper and pen lett=
er.
As far as I'm concerned, just call me Travis -- heck, I've been called =
a
lot worse!
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
6. Re: 50% Success (or, "Re: Re: Questions")
Travis Beaty wrote:
> In future documentation for win32lib.ew, perhaps it
> would be a good idea to list all the flags that belong
> to a particular control, and very briefly describe them.
I'm siding with Derek on this one. If there are flags that appear often
enough (for example, various types of windows), then it would be better to
create them as unique classes. There's just far too many Windows constants,
and adding them to the documention would make it harder to find the more
useful information.
-- David Cuny