Re: getCtlSize(Screen)
- Posted by Derek Parnell <ddparnell at bigpond.com> May 21, 2004
- 473 views
sixs wrote: > > I am wondering about Euphoria and the win32lib file and how they are > created.. > I was researching screen size and found the use of this command > > getCtlSize(Screen) > I looked in win32 lib and found this code. I am wondering how you arrive > this code. Is this "c" code or ? No, its Euphoria. Have you used much Euphoria yet? I don't understand what you are asking here. > I am curious as to how the commmands are made. > I hope I am not bothering anyone with this question. > Jvandal I'm not actually sure what you are asking, so I apologize if my answers don't fit the questions. The win32lib library is a collection of Euphoria code programs. There is no 'C' code in them. > lIdx = find(w32TB_HEIGHT, pProperty) > if lIdx != 0 and integer(pValues[lIdx]) then > lParentSize = call_func(r_getCtlSize,{window_owner[id]} ) These three lines you quote are from the routine that allows coders to change some aspects of a Toolbar control. If this case above it is changing the height of the toolbar. I don't know why you quoted these lines. Is there something about them that you need explaining? -- Derek Parnell Melbourne, Australia