{"id":188,"date":"2009-09-14T08:39:12","date_gmt":"2009-09-14T13:39:12","guid":{"rendered":"http:\/\/www.e-consystems.com\/blog\/?p=188"},"modified":"2023-08-15T12:31:59","modified_gmt":"2023-08-15T07:01:59","slug":"invoking-keyboard-panel","status":"publish","type":"post","link":"https:\/\/www.e-consystems.com\/blog\/windowsce\/invoking-keyboard-panel\/","title":{"rendered":"INVOKING KEYBOARD PANEL"},"content":{"rendered":"<p style=\"text-align: justify;\">Simple method to invoke the software keyboard panel when edit box or other controls clicked<\/p>\n<p style=\"text-align: justify;\">(i)<em>BOOL SHInitExtraControls(void);<\/em><\/p>\n<p style=\"text-align: justify;\">The above function has to be called before creating the dialog box, in which we need to invoke the software input panel. Call this only once.<\/p>\n<p style=\"text-align: justify;\">(ii)<em>#define WC_SIPPREF L&#8221;SIPPREF&#8221;<\/em><\/p>\n<p style=\"text-align: justify;\">Declare the above definition in resource file<\/p>\n<p style=\"text-align: justify;\">(iii) <em>CONTROL\u00a0 &#8220;&#8221;,-1,WC_SIPPREF, NOT WS_VISIBLE,-10,-10,5,5<\/em><\/p>\n<p style=\"text-align: justify;\">This has to be added in the resource file at the dialog box resource definition<\/p>\n<p style=\"text-align: justify;\">Eg<\/p>\n<p style=\"text-align: justify;\"><em>IDD_DIALOG1 DIALOG DISCARDABLE\u00a0 0, 0, 186, 90<\/em><\/p>\n<p style=\"text-align: justify;\"><em>STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU<\/em><\/p>\n<p style=\"text-align: justify;\"><em>CAPTION &#8220;Dialog&#8221;<\/em><\/p>\n<p style=\"text-align: justify;\"><em>FONT 8, &#8220;System&#8221;<\/em><\/p>\n<p style=\"text-align: justify;\"><em>BEGIN<\/em><\/p>\n<p style=\"text-align: justify;\"><em>DEFPUSHBUTTON\u00a0\u00a0 &#8220;OK&#8221;,IDOK,129,7,50,14<\/em><\/p>\n<p style=\"text-align: justify;\"><em>PUSHBUTTON\u00a0\u00a0\u00a0\u00a0\u00a0 &#8220;Cancel&#8221;,IDCANCEL,129,24,50,14<\/em><\/p>\n<p style=\"text-align: justify;\"><em>END<\/em><\/p>\n<p style=\"text-align: justify;\"><em>CONTROL\u00a0 &#8220;&#8221;,-1,WC_SIPPREF, NOT WS_VISIBLE,-10,-10,5,5<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Simple method to invoke the software keyboard panel when edit box or other controls clicked&#8230;<\/p>\n","protected":false},"author":14,"featured_media":1251,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[190],"tags":[132],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.e-consystems.com\/blog\/windowsce\/wp-json\/wp\/v2\/posts\/188"}],"collection":[{"href":"https:\/\/www.e-consystems.com\/blog\/windowsce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.e-consystems.com\/blog\/windowsce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.e-consystems.com\/blog\/windowsce\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.e-consystems.com\/blog\/windowsce\/wp-json\/wp\/v2\/comments?post=188"}],"version-history":[{"count":1,"href":"https:\/\/www.e-consystems.com\/blog\/windowsce\/wp-json\/wp\/v2\/posts\/188\/revisions"}],"predecessor-version":[{"id":832,"href":"https:\/\/www.e-consystems.com\/blog\/windowsce\/wp-json\/wp\/v2\/posts\/188\/revisions\/832"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.e-consystems.com\/blog\/windowsce\/wp-json\/wp\/v2\/media\/1251"}],"wp:attachment":[{"href":"https:\/\/www.e-consystems.com\/blog\/windowsce\/wp-json\/wp\/v2\/media?parent=188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.e-consystems.com\/blog\/windowsce\/wp-json\/wp\/v2\/categories?post=188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.e-consystems.com\/blog\/windowsce\/wp-json\/wp\/v2\/tags?post=188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}