Guest User

Untitled

a guest
Dec 6th, 2019
100
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void CPythonApplication::ShowWebPage(const char* c_szURL, const RECT& c_rcWebPage)
  2. {
  3. if (WebBrowser_IsVisible())
  4. return;
  5.  
  6. m_grpDevice.EnableWebBrowserMode(c_rcWebPage);
  7. if (!WebBrowser_Show(GetWindowHandle(), c_szURL, &c_rcWebPage))
  8. {
  9. TraceError("CREATE_WEBBROWSER_ERROR:%d", GetLastError());
  10. }
  11.  
  12. SetCursorMode(CURSOR_MODE_HARDWARE);
  13. }
RAW Paste Data