Kbase 11413: Access Windows info from HLC - create instance handle in V6
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/05/1998 |
|
Access Windows info from HLC - create instance handle in V6
Progress Windows HLC users have requested to be able to access windows
information that is currently hiddern from them. THE FOLLOWING IS A
VERSION 6 SOLUTION ONLY (and a different approach will be taken for
version 7).
If a user wants to create an instance handle for a Progress Windows
application, in their c code they would declare a structure as
follows:
struct ProwinInfoStruct
{
HWND hWnd; /* Handle to PROWIN window */
HANDLE hInst; /* Instance handle for PROWIN appl. */
HDC hDC; /* handle to PROWIN window DC */
};
Then declare a variable of this structure type for storage :
struct ProwinInfoStruct ProwinInfo;
To fill the structure, the follwoing procedure call can be made:
wdGetProwinInfo(&ProwinInfo);
This will make the contents of ProwinInfo available to the appl.
programmer.
Progress Software Technical Support Note # 11413