Richard,
Thanks a lot for you answer.
I'm afraid though that this doesn't solve my problem.
I use this code to position a Word-window from my FWH-application :
OleSetProperty(hWordOle,"Top",43)
OleSetProperty(hWordOle,"Left",0)
OleSetProperty(hWordOle,"Width",768)
OleSetProperty(hWordOle,"Height",553)
This way, I always can see my FWH-bar and everything from Word.
I need to use 768 as a value for maximum width and 553 for the height (it is the maximum height - 2 cm) to present my Word-window the way I want to.
I can't see the link between 1280 (returned by oWnd:nHorzRes()) and the value 768 I have to use.
Any idea ?
Thanks.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773