Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:docs:fapi:viopopup [2021/11/04 12:35] – prokushev | en:docs:fapi:viopopup [2022/03/18 13:27] (current) – prokushev | ||
---|---|---|---|
Line 13: | Line 13: | ||
===== Parameters ===== | ===== Parameters ===== | ||
- | * Options (PUSHORT) - input: | + | * Options ([[PUSHORT]]) - input: |
* 15-2 - Reserved, set to zero. | * 15-2 - Reserved, set to zero. | ||
* 1 | * 1 | ||
Line 46: | Line 46: | ||
While a video pop-up is in the foreground, the operator cannot use the hot key to switch to another application or to the shell. Before the operator can switch another application or the shell to the foreground, the pop-up application must issue VioEndPopUp. | While a video pop-up is in the foreground, the operator cannot use the hot key to switch to another application or to the shell. Before the operator can switch another application or the shell to the foreground, the pop-up application must issue VioEndPopUp. | ||
- | While a video pop-up is in effect, all video calls from the previous foreground session are blocked until the process that issued VioPopUp issues VioEndPopUp. | + | While a video pop-up is in effect, all video calls from the previous foreground session are blocked until the process that issued VioPopUp issues |
- | When VioPopUp is issued, only the process within the session that issued VioPopUp is brought to the foreground. Assuming the session was already the foreground session, any video calls issued by other processes in that session are blocked until the process that issued VioPopUp issues VioEndPopUp. | + | When VioPopUp is issued, only the process within the session that issued VioPopUp is brought to the foreground. Assuming the session was already the foreground session, any video calls issued by other processes in that session are blocked until the process that issued VioPopUp issues |
- | DosExecPgm may not be issued by a process during a pop-up. The following video calls are the only calls that may be issued during the pop-up by the process that issued VioPopUp: | + | [[DosExecPgm]] may not be issued by a process during a pop-up. The following video calls are the only calls that may be issued during the pop-up by the process that issued VioPopUp: |
- | * VioEndPopUp | + | * [[VioEndPopUp]] |
- | * VioScrollLf | + | * [[VioScrollLf]] |
- | * VioGetConfig | + | * [[VioGetConfig]] |
- | * VioSetCurPos | + | * [[VioSetCurPos]] |
- | * VioGetCp | + | * [[VioGetCp]] |
- | * VioSetCurType | + | * [[VioSetCurType]] |
- | * VioGetFont | + | * [[VioGetFont]] |
- | * VioSetCp | + | * [[VioSetCp]] |
- | * VioGetAnsi | + | * [[VioGetAnsi]] |
- | * VioSetFont | + | * [[VioSetFont]] |
- | * VioGetState | + | * [[VioGetState]] |
- | * VioSetState | + | * [[VioSetState]] |
- | * VioGetCurPos | + | * [[VioGetCurPos]] |
- | * VioWrtNChar | + | * [[VioWrtNChar]] |
- | * VioGetCurType | + | * [[VioGetCurType]] |
- | * VioWrtNAttr | + | * [[VioWrtNAttr]] |
- | * VioGetMode | + | * [[VioGetMode]] |
- | * VioWrtNCell | + | * [[VioWrtNCell]] |
- | * VioReadCharStr | + | * [[VioReadCharStr]] |
- | * VioWrtCharStr | + | * [[VioWrtCharStr]] |
- | * VioReadCellStr | + | * [[VioReadCellStr]] |
- | * VioWrtCharStrAtt | + | * [[VioWrtCharStrAtt]] |
- | * VioScrollRt | + | * [[VioScrollRt]] |
- | * VioWrtCellStr | + | * [[VioWrtCellStr]] |
- | * VioScrollUp | + | * [[VioScrollUp]] |
- | * VioWrtTTY | + | * [[VioWrtTTY]] |
- | * VioScrollDn | + | * [[VioScrollDn]] |
- | Selectors to the physical display buffer that the issuing process obtained on a prior VioGetPhysBuf call may not be used during the pop-up. | + | Selectors to the physical display buffer that the issuing process obtained on a prior [[VioGetPhysBuf]] call may not be used during the pop-up. |
When an application registers a replacement for VioPopUp within a session, the registered routine is invoked only when that session is in the foreground. If VioPopUp is issued when that session is in the background, the OS/2 default routine is invoked. If the application' | When an application registers a replacement for VioPopUp within a session, the registered routine is invoked only when that session is in the foreground. If VioPopUp is issued when that session is in the background, the OS/2 default routine is invoked. If the application' | ||
Line 86: | Line 86: | ||
==== PM Considerations ==== | ==== PM Considerations ==== | ||
- | This function can be used from within a PM application. Kbdxxx, Mouxxx, and Vioxxx calls (with a zero handle) are all allowed between VioPopUp and VioEndPopUp, | + | This function can be used from within a PM application. Kbdxxx, Mouxxx, and Vioxxx calls (with a zero handle) are all allowed between VioPopUp and [[VioEndPopUp]], and are directed to the pop-up screen. An error is returned if issued with a non-zero handle. |
===== Bindings ===== | ===== Bindings ===== |