added LSL2 stored procedures

This commit is contained in:
Infineon\StieberD
2024-03-25 14:46:21 -07:00
parent 09f1a66046
commit c667dd56eb
1655 changed files with 527967 additions and 0 deletions

View File

@ -0,0 +1,40 @@
Subroutine SVC_Embed_Window(Service, Param1, Param2, Param3, Param4, Param5)
/********************************************************************************************************
This program is proprietary and is not to be used by or disclosed to others, nor is it to
be copied without written permission from SRP Computer Solutions, Inc.
Name : SVC Embed Window
Description :
Tags : [SRP]
Parameters :
History (Date, Initials, Notes)
11/10/09 fjt Initial development
********************************************************************************************************/
$insert SRP_APP_INSERTS
$insert SERVICE_INSERT
Equ ShortCut$ to "WO_MASTER_SCHEDULER.OLE_SHORTCUT"
Transfer Param1 to Window
Transfer Param2 to Group
If Group EQ "" then Group = 1
If Group and Window then
rv = Send_Message(ShortCut$, "OLE.InsertGroup", Group, "Find")
rv = Start_MDIchild(Window, "WO_MASTER_SCHEDULER")
hWnd = Get_Property(Window, "HANDLE")
Send_Message(ShortCut$, "OLE.EmbedWindow", Group, hWnd)
Set_Property(ShortCut$, "OLE.GroupExpanded[4]", Yes$)
Ans = Success$
end
Return Ans