Hi,<br><br>This patch add the constant SHDB_SHOWCANCEL added by Windows Mobile 5.0 to aygshell WinCE API.<br>It is to use with SHDoneButton call to replace the OK top bar button by a Cancel button, syntaxe is SHDoneButton(hwnd,SHDB_SHOWCANCEL);
<br><br>I also replace WS_NONAVDONEBUTTON with its correct value $10000. <br>This one is to hide the top bar X button, usage is Style := Style or WS_NONAVDONEBUTTON;<br>It was previously set to WS_MINIMIZEBOX as in aygshell.h
but this not work because the value is $20000 in wince/wininc/defines.inc.<br><br>There is probably an error in defines.inc as it list:<br> WS_MAXIMIZEBOX = $10000;<br> WS_MINIMIZEBOX = $20000;<br><br>but Wince API
winuser.h is:<br>#define WS_MAXIMIZEBOX 0x00020000L<br>#define WS_MINIMIZEBOX 0x00010000L<br><br>I don't do a patch for that because I not have an example for testing.<br><br>Patrick<br><br>