Open WindowForm from ABL Window

Posted by jeanlouispy on 17-Jun-2013 08:24

Hi,

I'm beginner in OpenEdge, I work in 10.2B.

I would like to know how open a WindowForm from ABL Window ?

Then I would like to check the state of the WindowForm from ABL Window (For example if the WindowForm is still opened) ?
Thanks for your help.

All Replies

Posted by Damien 3D on 28-Apr-2014 06:54

Hi,

I don't understant very well your question : if you want to open a non progress Windows, try :

PROCEDURE ShellExecuteA EXTERNAL "shell32.dll" :

 DEFINE INPUT  PARAMETER hwnd          AS LONG.

 DEFINE INPUT  PARAMETER lpOperation   AS CHARACTER .

 DEFINE INPUT  PARAMETER lpFile        AS CHARACTER .

 DEFINE INPUT  PARAMETER lpParameters  AS CHARACTER .

 DEFINE INPUT  PARAMETER lpDirectory   AS CHARACTER .

 DEFINE INPUT  PARAMETER nShowCmd      AS LONG.

 DEFINE RETURN PARAMETER hInstance     AS LONG.

END PROCEDURE.

RUN ShellExecuteA (0, "open", "Monfichier.doc", "", "", 1 /* 0 hidden, 1 normal, minimized 2, maximized 3*/ , OUTPUT O_fin).

Regards

Damien

This thread is closed