Re: Visual Euphoria Library Question

new topic     » goto parent     » topic index » view thread      » older message » newer message

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 thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu