[ InTouch / 인터치 ] WwTSup70 - WWAlwaysOnTop()
- 작성일2020/06/03 14:41
- 조회 297
[ InTouch / 인터치] WwTSup70 - WWAlwaysOnTop()
첨부파일1 : 유첨 파일을 압축 풀어 dll, wdf 파일을 인터치가 설치된 경로에 복사합니다.
복사전 인터치 관련 종료 후, 복사, 메이커 실행합니다.
첨부파일2 : 설명서
WWAlwaysOnTop() Function
All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.
Topic#: 000491
Description
WWAlwaysOnTop() will cause the specified Windows application to remain on top of all other application windows. See Tech Support Script Function Library to install this function.
Note Do not use WWAlwaysOnTop() in an On Startup script with WindowViewer as the application, because WindowViewer will not be on top as expected. Instead, you should execute WWAlwaysOnTop() in another type of script, such as a Condition script.
Use:
WWAlwaysOnTop(WindowName, NewState);
WindowName | A Message tag or a quoted string (example: "NOTEPAD - NOTES.TXT") which is the formal name of a window that is currently open. We suggest that this parameter be the return value from the InfoAppTitle() or InfoAppTitleExpand(). |
NewState | A Message tag or a quoted string (example: "ON") which is a valid NewState value (see below). |
Important NewState is case sensitive.
Returns:
0 | WWAlwaysOnTop() was successful. The specified window is now on top and will remain on top until otherwise notified. |
-1 | Either the WindowName or the NewState parameter was not specified. Both values are required. |
1 | WWAlwaysOnTop() could not find specified window. |
2 | WWAlwaysOnTop() could not place the specified window on top because it is minimized. The window cannot be an icon. |
3 | Unknown reason, but WWAlwaysOnTop() could not place the specified window on top. |