void SoftKeyPad::PopDownKeypad(wcBOOL KeepInput) { HTMLElement *pTextWin; wcCtx Ctx; if (FocusElement&&pTextWinObj&&KeepInput&&closeFn) { // Store the focus elements when we get key touches pTextWin=(HTMLElement *)pTextWinObj; WEBC_CHAR *p = pTextWin->Value(); closeFn((void *)FocusElement, p); } // Set the focus, to the soft application window wcCtxtInit(&Ctx, (wcBROW) FocusBrowser, (wcDOC) FocusBrowser->GetDocument()); wcWinBringToTop(&Ctx); // wcWinSetFocus(&Ctx,(wcEL) FocusElement); FocusElement=0; closeFn=0; // Release our grab on the pointer wcWinReleaseFocus(&WindowCtx); }