by driessen » Mon Nov 05, 2007 10:37 am
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 :
- Code: Select all Expand view RUN
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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773