RE: How can I make a field ready to receive typing?

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

This is interesting.
It appears that "setCtlPosition(MainWin, 0,0)" does not do what I first=
 assumed.  This is more clear if the main window opens initially at=
 200,200,....  When setCtlPosition() executes, the main window is NOT=
 moved.  The top left corner is dragged to the specified coordinates,=
 enlarging the window.  I expect that when the top left corner is dragged=
 down and to the right beyond the bottom right corner, the window will=
 shrink to the minimum size.

To make it MOVE the window, we must use TWO commands instead:
setCtlPosition(MainWin, 200, 200)  -- Push the bottom right corner into=
 place
setCtlPosition(MainWin,     0,    0)  -- Stretch the window by the upper=
 left corner to size

Is that what setCtlPosition() is supposed to do?

Louis.

*********** REPLY SEPARATOR  ***********

On 10/10/2003 at 6:01 PM cheetah_heels at myrealbox.com wrote:

>
>
>All,
>
>Same result here.  I have WinXP Home, Eu 2.4, and Win32Lib 59.1.
>
>Andrew Hall

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

Search



Quick Links

User menu

Not signed in.

Misc Menu