<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Customize Credential / Password Window When Synchronizing in ArcGIS for Windows Mobile Questions</title>
    <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/customize-credential-password-window-when/m-p/745165#M3141</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I got this working (hacking maybe?) by implementing a timer to poll for the current active foreground window, using P/Invoke. If the foreground window is type "ESRI.ArcGIS.Mobile.Client.Windows.UserCredentialsWindow", then grab the windows handle and cast it to the user credentials window. Then I could change its title, assign event handlers etc to it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck with anyone who might face similar problems...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Jul 2014 22:28:48 GMT</pubDate>
    <dc:creator>HenryKo</dc:creator>
    <dc:date>2014-07-02T22:28:48Z</dc:date>
    <item>
      <title>Customize Credential / Password Window When Synchronizing</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/customize-credential-password-window-when/m-p/745164#M3140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a requirement to customize the credentials/username-password dialog when synchronizing back to secured map services, as we want to display better error messages if username-password is incorrect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So... how do I firstly trap the error messages when user clicks on the "OK" button, and secondly how do I modify the displaying credentials window to change its title etc (see the attached screenshot)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know there is ESRI.ArcGIS.Mobile.Client.CredentialsRequiredCallback and ESRI.ArcGIS.Mobile.Client.Windows.UserCredentialsWindow but do not know how to use them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using ArcGIS for Windows Mobile version 10.2.0.0 (build 3581).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 00:22:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/customize-credential-password-window-when/m-p/745164#M3140</guid>
      <dc:creator>HenryKo</dc:creator>
      <dc:date>2014-07-01T00:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Customize Credential / Password Window When Synchronizing</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/customize-credential-password-window-when/m-p/745165#M3141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I got this working (hacking maybe?) by implementing a timer to poll for the current active foreground window, using P/Invoke. If the foreground window is type "ESRI.ArcGIS.Mobile.Client.Windows.UserCredentialsWindow", then grab the windows handle and cast it to the user credentials window. Then I could change its title, assign event handlers etc to it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck with anyone who might face similar problems...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 22:28:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/customize-credential-password-window-when/m-p/745165#M3141</guid>
      <dc:creator>HenryKo</dc:creator>
      <dc:date>2014-07-02T22:28:48Z</dc:date>
    </item>
  </channel>
</rss>

