Hi,
>When a window is moved using Os2SalFrame::SetPosSize, it seems to me
>that new position is expressed relative to the parent window, not to
>the screen coordinates.
I worked a bit more on this, and following the win32 code, I used the
same criteria to create new windows (old OS2 code was creating windows
using desktop as parent, so coordinates are different).
So using the OOo supplied parent makes coordinate system working as
designed, but I faced another problem: since a child cannot paint
outside his parent, I'm unable to show submenus. E.g. a first level
menu is drawed correctly because its parent is the main window, but a
second level menu has the first-level as parent, so it draws only
partially.
I tried to understand what the windows code is doing, but I'm not
really familiar with all possible windows styles.
How did you solve this under windows?
TIA,
Bye,
Yuri Dario
/*
* member of TeamOS/2 - Italy
* http://www.os2power.com/yuri
* http://www.teamos2.it
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]