English
Includes

ocx3a.inc - ocx for XProfan11.2

 

Uwe
''Pascal''
Niemeier
Hi people!

here The on XProfan 11.2 angepaßte Version the ocx-routines.
Doku and Examples see Version 2.
so far I on The speedy check could, müßten so The Examples the ocx-Packages2 walk (to minimaler Anpassung the Syntax; see enclosed ReadMe)

The ocxInfo.inc is though not enthalten; apparently tuts The old yet

Specifically for iF enclosed another couple Minimalbeispiele about HTML/JS

SeeYou
Pascal

6 kB
Hochgeladen:04/08/09
Downloadcounter651
Download
3 kB
Hochgeladen:04/08/09
Downloadcounter517
Download
 
04/08/09  
 



Waaaha freue me on today evening!!!
 
04/08/09  
 



Jaujau!
of course not tested (no XProfan here) but Please rather god lass it functions.

Dankesehr! Dankesehr! Dankesehr!
 
04/08/09  
 



@UWE: Genial!

and with the something überarbeiteten (anhängigen) ocx3a.ph works too with xpse.

The PH contain 2 small Error (if one it at all so name can) and so the code not at me running.

in the row
missing hinten one comma

I Have with the atl.dll too whom Filenames geuppert so these DLL of xpse recognized go can as a DLL a list for DLLs which gesondert treats go must, vaguely loaded go to the relating the Funktionsadressen. (what too one reason for is that the end of xpse always in __xpse__endofprogram__ changed becomes circa such DLLS again To entladen to the End of program.)

lastly must I only yet
 {$pushkeyword count%,param#,stringw,stringw$}
utilize and: It's all right!

now wish I me Time on wish!

How I the see can the the Beginn his of/ one wundervollen relationship between XProfan and beautiful UIs.

5 kB
Hochgeladen:04/09/09
Downloadcounter612
Download
 
04/09/09  
 



the DestroyWindow can the program but crash, too with you?

simply time instead of the Loop in the JSScript-Exec.prf
bring into action. I sustain one vorzeitiges End of program.
 
04/09/09  
 



Nachtrag: have You a idea How to the WebControl for Tastatureingaben susceptible can make? (or is the so not virtual? )
 
04/09/09  
 




Uwe
''Pascal''
Niemeier
Hi iF!


The PH contain 2 small Error (if one it at all so name can) and so the code not at me running.


Irgendwas lying me there an; in anybody older Profan-Version had to the so his
The Anpassung on XPSE I had with 3a not yet berücksichtigt; the comes with the Full Version.


the DestroyWindow can the program but crash, too with you?


Nö.
Prüf time, whether the Controlhandle really present ist; the was Yes one the Problems with the last ß of XProfan 11.2


have You a idea How to the WebControl for Tastatureingaben susceptible can make?


the should time one Topic in the ocxPackage 3 his. here a small Preview (have whom @Addr()-Workaround time with installed):
window 780,400
 $H windows.ph
 $H ocx3a.ph
 $I ocx3a.inc
ocxInit()
var File$=X:OCXTest.html-----------------------------way Please adjust!
declare Temp#
dim Temp#,4
var WebObject&=ocxCreate(File$,%hwnd,500,10,250,100,$50800000,Temp#)
var WebControl&=long(Temp#,0)
var Document&=ocxGet(WebObject&,Document)
var HTMLWnd&=ocxGet(Document&,ParentWindow)

proc Event----------------------------------------------------------

    var Event&=ocxGet(HTMLWnd&,event)
    var Key%=ocxGet(Event&,keycode)
    --Per User Message WaitInput durchbrechen and Parameter übergeben
    sendmessage(%hwnd,5000,Key%,Key%)
    ocxRelease(Event&)
    endproc-------------------------------------------------------------

    proc CreateIMD----------------------------CreateInterfaceMethodDummy

        var a&=~GlobalAlloc(0,16)
        long a&,0=-1192457387,&(2),-1034033781,&(1)*4+4
        return a&
        endproc-------------------------------------------------------------
        declare VTable#,IFace&
        dim VTable#,32
        long VTable#,0=CreateIMD(2,0)QueryInterface
        long VTable#,4=CreateIMD(0,0)AddRef
        long VTable#,8=CreateIMD(0,0)Release
        long VTable#,24=procaddr(Event,5)
        long VTable#,28=VTable#
        IFace&=VTable#+28
        --Own interface to ocx-Objektliste add ( in ocx3a yet undokumentiert)
        ocxAddObject(IFace&)--is necessary, so IFace& as Objektpointer übergeben becomes
        usermessages 16,5000
        set(fastmode,1)
        ocxPut(Document&,onkeypress,IFace&)
        ocxMethod(HTMLWnd&,Focus)--Focus on WebControl (goes not with SetFocus)

        while 1

            waitinput
            case %umessage=16:break
            case %umessage=5000:print Button : ;&uwparam

        endwhile

        destroywindow(WebControl&)
        ocxDeInit()

After this principle can you useful each on-Event the HTML-Dokumentes anzapfen and over the Event-Objekt further Info moreover run down.

BTW: as basis for such developments use I The IHTML-interface-reference of MSDN.

HTH
Pascal
 
04/10/09  
 



Jau, the look I me on!
 
04/10/09  
 




Uwe
''Pascal''
Niemeier
Hi people!

small Korrektur: The ursprüngliche ocxInfo.inc (to analysis and Own Experimente;
to Use of ActiveX not coercive necessary) runs not in link with the ocxPackage 3a.
here the suitable Update.

SeeYou
Pascal

2 kB
Hochgeladen:12/19/09
Downloadcounter463
Download
 
12/19/09  
 



Hello Pascal!

in the ocx3a.ph standing:
AtlAxWinInit(=External("atl.dll","AtlAxWinInit";
, here missing one comma and should hot:
AtlAxWinInit(=External("atl.dll","AtlAxWinInit",;
 
04/05/10  
 




Uwe
''Pascal''
Niemeier
Hi iF!

is correct, the happens me öfters...runs but nevertheless...

In anybody older Profan-Version had to the so his with APIs without Parameter and somehow is the hängengeblieben

SeeYou
Pascal
 
04/05/10  
 



I had at Post overlooking, that AtlAxWinInit none Parameter expects - so seen ists imho sooner one bow in the XPSE, The ";-spelling not correctly umzusetzen. (ought to rather both mutants functions)
 
04/07/10  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

22.451 Views

Untitledvor 0 min.
Axel Berse07/12/24
Member 862464105/12/24
Sven Bader12/03/23
Rainer Hoefs06/23/23
More...

Themeninformationen

this Topic has 2 subscriber:

iF (8x)
Uwe ''Pascal'' Niemeier (4x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie