ATOUTFOX
COMMUNAUTÉ FRANCOPHONE DES PROFESSIONNELS FOXPRO
Visual FoxPro : le développement durable

Forum AtoutFox : Re: LibreOffice (OpenOffice) Automation VFP   

Sujet

rss Flux RSS des derniers messages

Vous devez vous identifier pour pouvoir poser une question ou répondre.

jeu. 20 juin 2013, 18h48

Francis Faure
France France

atoutfox.public.association

Re: LibreOffice (OpenOffice) Automation VFP

Super !

ça marche !

* http://www.openoffice.org/api/docs/common/ref/com/sun/star/awt/XSystemDependentWindowPeer.html

    LOCAL lihwnd as Integer
    LOCAL ARRAY lArgs[1]
    oWindow = loWriter.oDesktop.getCurrentFrame().getContainerWindow()
    COMARRAY(oWindow, 10)
    lihwnd = oWindow.getWindowHandle(@lArgs, 1) && 1 SYSTEM_WIN32
    declare integer ShowWindow in win32api integer handle, integer nCmdShow
    #define SW_SHOWMAXIMIZED 3
    =ShowWindow(m.lihwnd, SW_SHOWMAXIMIZED)



Permalink : http://www.atoutfox.org/nntp.asp?ID=0000012259
20 286 messages dans le forum • Liste complète des messages

www.atoutfox.org - Site de la Communauté Francophone des Professionnels FoxPro - v3.4.0 - © 2004-2026.
Cette page est générée par un composant COM+ développé en Visual FoxPro 9.0-SP2-HF3