[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]] ==== Solution to how to call the Check-Out window from a program (OpenInsight Specific) ==== === At 20 JAN 1998 08:41:59AM Dave Pociu wrote: === {{tag>"OpenInsight Specific"}} Thanks to Cameron for providing this solution (the Check-Out window is not a regular OI window - it's written in C I believe - so it cannot be called with StartWindow). subroutine invoke_checkout(void) declare function FindWindow declare subroutine SendMessage equ WM_COMMAND$ to 273 ;* 0x111 equ IDM_CHECKOUT$ to 8280 hWnd=FindWindow("RTI_OINSIGHT":\00\, "") SendMessage(hWnd, WM_COMMAND$, IDM_CHECKOUT$ , 0) return [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=3E72FBFFD7FF91E585256592004B4195|View this thread on the forum...]]