Kbase 15155: How to maximize or minimize a window in MS-Windows V7 and up
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
How to maximize or minimize a window in MS-Windows V7 and up
A programmer often wants to minimize or maximize a PROGRESS window
within the 4GL. This can be accomplished using the WINDOW-STATE
attribute which is documented in Appendix A of the Language Reference
Manual. As an example, the following statement will minimize the
currently-active window:
CURRENT-WINDOW:WINDOW-STATE = 2.
Before doing this, it might be advisable to save the handle of the
current window to a shared variable for later maximization. Let's
say the handle is stored in a shared variable called minwindw. The
window can then be maximized by another procedure as follows:
minwindw:WINDOW-STATE = 1.
See the Language Reference manual Appendix A for available values
of WINDOW-STATE.
Progress Software Technical Support Note # 15155