1. Visual Euphoria Library Question

------=_NextPart_000_0021_01BEF177.A79C6780
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Under VEL, how do I get the width and height of the client area of a =
window?  I tried NewControl(CLIENT,form1), but whenever I have the =
"CLIENT" hanging around, it gives a error message having something about =
not being able to read a certain spot in memory.  Also, it would be nice =
if in VEL if you could get the window handle, in case you wanted to use =
a Win32API routine that isn't done internally by VEL.  I want to know =
this stuff to complete my Character Dialogue Library.

Thanks to all in advance...
Mike Hurley

------=_NextPart_000_0021_01BEF177.A79C6780
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Under VEL, how do I get the width and height of the =
client=20
area of a window?&nbsp; I tried NewControl(CLIENT,form1), but whenever I =
have=20
the "CLIENT" hanging around, it gives a error message having something =
about not=20
being able to read a certain spot in memory.&nbsp; Also, it would be =
nice if in=20
VEL if you could get the window handle, in case you wanted to use a =
Win32API=20
routine that isn't done internally by VEL.&nbsp; I want to know this =
stuff to=20
complete my Character Dialogue Library.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Thanks to all in advance...</FONT></DIV>

------=_NextPart_000_0021_01BEF177.A79C6780--

________________________________________________________
NetZero - We believe in a FREE Internet.  Shouldn't you?
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html

new topic     » topic index » view message » categorize

2. Re: Visual Euphoria Library Question

Hi Mike,

>Under VEL, how do I get the width and height of the client area of a
window?

GetAttribute(Form1,HEIGHT) -- get the height of the form named Form1
GetAttribute(Form1,WIDTH)  -- get the width of the form named Form1

>I tried NewControl(CLIENT,form1), but whenever I have the "CLIENT" hanging
around, it gives a error message having something about not being able to
read a certain spot in memory.

CLIENT is not a valid control in VEL. NewControl is only for creating new
controls such as: forms, buttons, edit boxes, combo boxes, etc.

>Also, it would be nice if in VEL if you could get the window handle, in
case you wanted to use a Win32API routine that isn't done internally by
VEL.  I want to know this stuff to complete my Character Dialogue Library.

This is in version 0.05 which will be released in a couple weeks. However,
Greg Harris has come up with a clever way of getting window handles from
VEL now. Contact Greg, I'm sure he will be happy to share this technique
with you.

Hope this helps. Gary.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu