API function for maximized window in ADM-II

Posted by Admin on 16-Sep-2009 06:54

Hi all,

I am using OpenEdge 10.2A and have designed the screen(smartwindow) in ADM-II, I want to maximize the window using the API function only. There are number of procedures in API like :

/* DLL PROCEDURE */

PROCEDURE MessageBoxA EXTERNAL "user32.dll":
   DEFINE INPUT PARAMETER hwnd AS LONG.
   DEFINE INPUT PARAMETER mbtext AS CHARACTER.
   DEFINE INPUT PARAMETER mbtitle AS CHARACTER.
   DEFINE INPUT PARAMETER style AS LONG.
   DEFINE RETURN PARAMETER result AS LONG.
END.
I do't want to use any openedge attribute like WINDOW-STATE.

Is there any function in API, which will maximized the window?

Thanks.
Linus

All Replies

Posted by Admin on 16-Sep-2009 11:00

linus schrieb:

I do't want to use any openedge attribute like WINDOW-STATE.

A little background especially on that restriction would be very helpful to understand your requirement.

Posted by Admin on 17-Sep-2009 06:01

Can u tell me u r requirement clearly.

Posted by Admin on 17-Sep-2009 06:05

Hi,

       I have found a solution for the same.

thanks for giving me your time.

Posted by Admin on 17-Sep-2009 06:09

The question is why the original poster has a problem with setting WINDOW-STATE.

This thread is closed