... the window rectangle Right The right point of the window rectangle Bottom The bottom point of the window rectangle lo erro acontece en la chamada oAct:GetWindowRect(@left, @top, @right, @bottom) // GPF aqui ERroApplication=========== Path and name: C:\Event\demo.exe (32 bits) ...
Antonio, now show this error: oWnd:oCLient:=oAct Application=========== Path and name: C:\Event\demo.exe (32 bits) Size: 1,666,560 bytes Time from start: 0 hours 0 mins 0 secs Error occurred at: 07/26/09, 19:01:49 Error description: ...
i did it more yet I can´t use oWnd:oClient:=oAct ownd:oClient:=oAct:hWnd 2 show ERROR Path and name: C:\Event\demo.exe (32 bits) Size: 1,665,536 bytes Time from start: 0 hours 0 mins 1 secs Error occurred at: 07/25/09, 15:33:48 Error description: ...
... ); } Antonio, estoy hacendo assim pero no sei o que estas de errado que no fica em la wuindow ownd. gostaria de criar algo igual ao @ 0,0 ActiveX oact ....... @ 1,1 cActive oct id progid of ownd width 300 height 400 i sobre o Ownd:oClient = activex ? como hacer com cActiveX ? :?:
... If ::hWnd != NIL OleWEDestroy( ::hWnd ) ::hWnd := NIL EndIf Return NIL in end line i do it #include "fivewin.ch" function main() public oAct, ownd define window ownd oAct:=cActiveX():New(ProgId) // progId referente ao meu activeX activate window ownd oAct:release() Release ALL SysRefresh() ...
Lailton, In this line: oAct := TActiveX():New( odlg, "Codejock.CommandBarsFrame.13.0.0",0,0,200,800) The oDlg does not have a valid windows handle yet. Dialogs don't get a windows handle until they are ACTIVATEd: ACTIVATE DIALOG ...
... things to work but I am only coming across these either by finding an example or by trial and error. How do you know what to put after the "oAct:" I guess I am just having a hard time getting my mind around this. If I look at the object viewer I see for example: Class DatePicker Then ...
I´m trying execute this method ret:=oAct:Do("RED",aParams[1],aParams[2],aParams[3],aParams[4],aParams[5],aParams[6],aParams[7],0) ret is to return 1, more return NIL, and looking in TactiveX i see it. METHOD Do( cMethodName, uParam1, ...