Re: Win32lib problem

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

>>I'm making a programming editor with win32lib. I found a problem and 
>>simplified the program so that this program recreates the error. When you 
>>click on the child window, Eu shows the result of getMouseRelPos(). The 
>>problem is, when you click the top-left pixel of the child window, 
>>getMouseRelPos( child ) should return {1,1}; instead, it returns {1,-29}. 
>>It seems that for the Y position, it returns the correct answer minus the 
>>width of the toolbar.
>
>I do not get this result. On my system, I get the *correct* value of {0,0}.
>
>What version of win32lib are you using?
0.59.01
>
>What version of Windows are you using?
Windows XP Pro sp1
>
>Also, does the wrong value change if you change the toolbar specifications?
Yes, when I change the toolbar to 50 width, I get {0, -50}.
>
>--
>Derek

Sorry about saying correct was {1,1}, it's {0,0}, but I guess that doesn't 
matter.

Phil

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

Search



Quick Links

User menu

Not signed in.

Misc Menu