Intermec CV30 Intermec Terminal Emulator (ITE) Programmer's Reference Manual - Page 170
ITE Screen Contents, ITC.doWebBrowser
View all Intermec CV30 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 170 highlights
Appendix B - About RPC Implementation ITC.doWebBrowser This function takes a single parameter - a string representing the url address of a web page that the client wants to invoke (such as http://www.intermec.com). This function invokes the web browser by sending the WM_BROWSER_INVOKE message to ITE with the lParam set to the url address of the web page to be invoked. It will only allow you to open a single web page. If a web page is already opened then this function is ignored. Example: void InvokeWeb (void) { noArgs = "http://google.com"; c->execute("ITC.doWebBrowser", noArgs, result); } ITC.closeWebBrowser This function does not take any parameters. This function sends the WM_BROWSER_CLOSE message to the ITE application. When the ITE application sees this message it sends a WM_CLOSE to the handle of the open web page. Example: void CloseWeb (void) { noArgs = ""; c->execute("ITC.closeWebBrowser", noArgs, result); } ITE Screen Contents ITE calls "functionName()" (the callback function registered in RegisterScreenContentsCallBack()) to pass the contents of its current screen in XML. The function name must be GetScreenContents. In this real-world example, ITE is running a 5250 script from our host simulator application, WinDemo. In the 5250 Welcome screen, press Enter and then choose Miscellaneous > Fields Test. The next screen appears: This screen is sent back, in an xml format, to the client that called the RegisterScreenContents function. This format is a value structure with four members: 158 Intermec Terminal Emulator (ITE) Programmer's Reference Manual