Consultor Eletrônico



Kbase P24318: How to change the height/width of a character client window
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   05/05/2003
Status: Unverified

GOAL:

How to change the height/width of a character client window using 4GL

FACT(s) (Environment):

Windows

FIX:

This cannot be done directly from the 4GL, as that does not allow setting the HEIGHT or WIDTH attributes of a session or a window.

It may be possible to do this via API calls and manipulate the Command Prompt window in which the Character Client runs on an OS level. However, this will prove to be difficult, as trying to get Windows' internal handle to the command prompt window using the GetActiveWindow() API does not work; the API will return a Null handle when invoked from within the Character Client.