{"id":303,"date":"2010-02-22T07:46:06","date_gmt":"2010-02-22T02:16:06","guid":{"rendered":"http:\/\/live-42gears-site.pantheonsite.io\/blog\/?p=303"},"modified":"2023-01-13T05:12:39","modified_gmt":"2023-01-13T05:12:39","slug":"how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile","status":"publish","type":"post","link":"https:\/\/www.42gears.com\/nl\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/","title":{"rendered":"How to display Settings screens or Control Panel Applets in Windows Mobile?"},"content":{"rendered":"<p>Windows Mobile Control Panel applets are normal dlls renamed with special extension .cpl. They are actually loaded by ctlpnl.exe process.<\/p>\n<p>Following code snipped is what you need if you want to show a Control Panel applet from your program. This way you make it easy for your user to change desired settings, without any \u201ccomplex\u201d navigation.<\/p>\n<blockquote><p>\nBOOL ShowControlPanelApplet(int id)<br \/>\n{<br \/>\nTCHAR    szParams[32];<br \/>\nSHELLEXECUTEINFO execinfo = {0};<br \/>\nmemset(&amp;execinfo, 0, sizeof(execinfo));<br \/>\nexecinfo.cbSize=sizeof(execinfo);<br \/>\nexecinfo.lpFile=TEXT(\u201c\\windows\\ctlpnl.exe\u201d);<br \/>\nexecinfo.lpVerb=TEXT(\u201copen\u201d);<br \/>\n\/\/ Id value determines which control applet will be launched<br \/>\n\/\/ For e.g. 23 for bluetooth applet<br \/>\nwsprintf(szParams, L\u201dcplmain.cpl,%d\u201d, id);<br \/>\nexecinfo.lpParameters = szParams;<br \/>\nBOOL bRet=ShellExecuteEx(&amp;execinfo);<br \/>\nreturn bRet;<br \/>\n}<\/p><\/blockquote>\n<p>The parameter id refers to the control panel applet that you want to show. Below is the table of id values and the corresponding applet names.<\/p>\n<p>Control Panel Applet Id Values<\/p>\n<p>1    Password<br \/>\n2    Owner Information<br \/>\n3    Power<br \/>\n4    Memory<br \/>\n5    About<br \/>\n6    Brightness<br \/>\n7    Screen<br \/>\n8    Input<br \/>\n9    Sounds &amp; Notifications<br \/>\n10    Remove Programs<br \/>\n11    Menus<br \/>\n12    Buttons<br \/>\n13    Today<br \/>\n14<br \/>\n15    Beam<br \/>\n16    Clocks &amp; Alarms<br \/>\n17    Configure Network Adapters<br \/>\n18    Regional Settings<br \/>\n19    Connections<br \/>\n20<br \/>\n21<br \/>\n22    Manage Certificates<br \/>\n23    Bluetooth<br \/>\n24    Error Reporting<br \/>\n25    GPS Settings<br \/>\n26<br \/>\n27    USB to PC<\/p>\n<p>Follow us on <a href=\"http:\/\/twitter.com\/42gears\" class=\"broken_link\">Twitter <\/a><a href=\"http:\/\/twitter.com\/42gears\" class=\"broken_link\">http:\/\/twitter.com\/42gears<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows Mobile Control Panel applets are normal dlls renamed with special extension .cpl. They are actually loaded by ctlpnl.exe process. Following code snipped is what you need if you want to show a Control Panel applet from your program. This way you make it easy for your user to change desired settings, without any \u201ccomplex\u201d&hellip;<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[39,8],"tags":[52,47],"class_list":["post-303","post","type-post","status-publish","format-standard","hentry","category-development","category-general","tag-windows-ce","tag-windows-mobile"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.6 (Yoast SEO v24.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Display Settings Screens In Windows Mobile? | 42Gears<\/title>\n<meta name=\"description\" content=\"42Gears\u2019 blog has everything you need to future-proof your business. Here&#039;s a guide on displaying Settings screens or Control Panel Applets in Windows Mobile.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/\" \/>\n<meta property=\"og:locale\" content=\"nl_NL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to display Settings screens or Control Panel Applets in Windows Mobile?\" \/>\n<meta property=\"og:description\" content=\"42Gears\u2019 blog has everything you need to future-proof your business. Here&#039;s a guide on displaying Settings screens or Control Panel Applets in Windows Mobile.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/\" \/>\n<meta property=\"og:site_name\" content=\"42Gears Mobility Systems\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/42gears\" \/>\n<meta property=\"article:published_time\" content=\"2010-02-22T02:16:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-13T05:12:39+00:00\" \/>\n<meta name=\"author\" content=\"42Gears Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@42Gears\" \/>\n<meta name=\"twitter:site\" content=\"@42Gears\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"42Gears Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/\"},\"author\":{\"name\":\"42Gears Team\",\"@id\":\"https:\/\/www.42gears.com\/#\/schema\/person\/28a14f2c32de4a7903ac672579a88a2d\"},\"headline\":\"How to display Settings screens or Control Panel Applets in Windows Mobile?\",\"datePublished\":\"2010-02-22T02:16:06+00:00\",\"dateModified\":\"2023-01-13T05:12:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/\"},\"wordCount\":204,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.42gears.com\/#organization\"},\"keywords\":[\"Windows CE\",\"Windows Mobile\"],\"articleSection\":[\"Development\",\"General\"],\"inLanguage\":\"nl\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/\",\"url\":\"https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/\",\"name\":\"How To Display Settings Screens In Windows Mobile? | 42Gears\",\"isPartOf\":{\"@id\":\"https:\/\/www.42gears.com\/#website\"},\"datePublished\":\"2010-02-22T02:16:06+00:00\",\"dateModified\":\"2023-01-13T05:12:39+00:00\",\"description\":\"42Gears\u2019 blog has everything you need to future-proof your business. Here's a guide on displaying Settings screens or Control Panel Applets in Windows Mobile.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/#breadcrumb\"},\"inLanguage\":\"nl\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.42gears.com\/nl\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to display Settings screens or Control Panel Applets in Windows Mobile?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.42gears.com\/#website\",\"url\":\"https:\/\/www.42gears.com\/\",\"name\":\"42Gears Mobility Systems\",\"description\":\"Mobile Device Management (MDM), Mobile Security &amp; Mobile Device Lockdown\",\"publisher\":{\"@id\":\"https:\/\/www.42gears.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.42gears.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"nl\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.42gears.com\/#organization\",\"name\":\"MDM - 42Gears\",\"url\":\"https:\/\/www.42gears.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"nl\",\"@id\":\"https:\/\/www.42gears.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.42gears.com\/wp-content\/uploads\/2018\/12\/Featured-Image-42Gears-logo.png\",\"contentUrl\":\"https:\/\/www.42gears.com\/wp-content\/uploads\/2018\/12\/Featured-Image-42Gears-logo.png\",\"width\":499,\"height\":330,\"caption\":\"MDM - 42Gears\"},\"image\":{\"@id\":\"https:\/\/www.42gears.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/42gears\",\"https:\/\/x.com\/42Gears\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.42gears.com\/#\/schema\/person\/28a14f2c32de4a7903ac672579a88a2d\",\"name\":\"42Gears Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"nl\",\"@id\":\"https:\/\/www.42gears.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7d257fb658a429b8607872336eac3833a8314ca3ca67d72c90ceeddc7700c42e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7d257fb658a429b8607872336eac3833a8314ca3ca67d72c90ceeddc7700c42e?s=96&d=mm&r=g\",\"caption\":\"42Gears Team\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How To Display Settings Screens In Windows Mobile? | 42Gears","description":"42Gears\u2019 blog has everything you need to future-proof your business. Here's a guide on displaying Settings screens or Control Panel Applets in Windows Mobile.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/","og_locale":"nl_NL","og_type":"article","og_title":"How to display Settings screens or Control Panel Applets in Windows Mobile?","og_description":"42Gears\u2019 blog has everything you need to future-proof your business. Here's a guide on displaying Settings screens or Control Panel Applets in Windows Mobile.","og_url":"https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/","og_site_name":"42Gears Mobility Systems","article_publisher":"https:\/\/www.facebook.com\/42gears","article_published_time":"2010-02-22T02:16:06+00:00","article_modified_time":"2023-01-13T05:12:39+00:00","author":"42Gears Team","twitter_card":"summary_large_image","twitter_creator":"@42Gears","twitter_site":"@42Gears","twitter_misc":{"Written by":"42Gears Team","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/#article","isPartOf":{"@id":"https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/"},"author":{"name":"42Gears Team","@id":"https:\/\/www.42gears.com\/#\/schema\/person\/28a14f2c32de4a7903ac672579a88a2d"},"headline":"How to display Settings screens or Control Panel Applets in Windows Mobile?","datePublished":"2010-02-22T02:16:06+00:00","dateModified":"2023-01-13T05:12:39+00:00","mainEntityOfPage":{"@id":"https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/"},"wordCount":204,"commentCount":0,"publisher":{"@id":"https:\/\/www.42gears.com\/#organization"},"keywords":["Windows CE","Windows Mobile"],"articleSection":["Development","General"],"inLanguage":"nl","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/","url":"https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/","name":"How To Display Settings Screens In Windows Mobile? | 42Gears","isPartOf":{"@id":"https:\/\/www.42gears.com\/#website"},"datePublished":"2010-02-22T02:16:06+00:00","dateModified":"2023-01-13T05:12:39+00:00","description":"42Gears\u2019 blog has everything you need to future-proof your business. Here's a guide on displaying Settings screens or Control Panel Applets in Windows Mobile.","breadcrumb":{"@id":"https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/#breadcrumb"},"inLanguage":"nl","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.42gears.com\/blog\/how-to-display-settings-screens-or-control-panel-applets-in-windows-mobile\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.42gears.com\/nl\/"},{"@type":"ListItem","position":2,"name":"How to display Settings screens or Control Panel Applets in Windows Mobile?"}]},{"@type":"WebSite","@id":"https:\/\/www.42gears.com\/#website","url":"https:\/\/www.42gears.com\/","name":"42Gears Mobility Systems","description":"Mobile Device Management (MDM), Mobile Security &amp; Mobile Device Lockdown","publisher":{"@id":"https:\/\/www.42gears.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.42gears.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"nl"},{"@type":"Organization","@id":"https:\/\/www.42gears.com\/#organization","name":"MDM - 42Gears","url":"https:\/\/www.42gears.com\/","logo":{"@type":"ImageObject","inLanguage":"nl","@id":"https:\/\/www.42gears.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.42gears.com\/wp-content\/uploads\/2018\/12\/Featured-Image-42Gears-logo.png","contentUrl":"https:\/\/www.42gears.com\/wp-content\/uploads\/2018\/12\/Featured-Image-42Gears-logo.png","width":499,"height":330,"caption":"MDM - 42Gears"},"image":{"@id":"https:\/\/www.42gears.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/42gears","https:\/\/x.com\/42Gears"]},{"@type":"Person","@id":"https:\/\/www.42gears.com\/#\/schema\/person\/28a14f2c32de4a7903ac672579a88a2d","name":"42Gears Team","image":{"@type":"ImageObject","inLanguage":"nl","@id":"https:\/\/www.42gears.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7d257fb658a429b8607872336eac3833a8314ca3ca67d72c90ceeddc7700c42e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7d257fb658a429b8607872336eac3833a8314ca3ca67d72c90ceeddc7700c42e?s=96&d=mm&r=g","caption":"42Gears Team"}}]}},"author_meta":{"ID":"7","user_nicename":"42gears","user_email":"42gears@gmail.com","user_registered":"2015-07-15 04:55:37","display_name":"42Gears Team","first_name":"42Gears","last_name":"Team"},"_links":{"self":[{"href":"https:\/\/www.42gears.com\/nl\/wp-json\/wp\/v2\/posts\/303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.42gears.com\/nl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.42gears.com\/nl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.42gears.com\/nl\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.42gears.com\/nl\/wp-json\/wp\/v2\/comments?post=303"}],"version-history":[{"count":2,"href":"https:\/\/www.42gears.com\/nl\/wp-json\/wp\/v2\/posts\/303\/revisions"}],"predecessor-version":[{"id":84755,"href":"https:\/\/www.42gears.com\/nl\/wp-json\/wp\/v2\/posts\/303\/revisions\/84755"}],"wp:attachment":[{"href":"https:\/\/www.42gears.com\/nl\/wp-json\/wp\/v2\/media?parent=303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.42gears.com\/nl\/wp-json\/wp\/v2\/categories?post=303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.42gears.com\/nl\/wp-json\/wp\/v2\/tags?post=303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}