On Wed, Mar 16, 2005 at 10:22:51AM +0100, Katia Maculan wrote:
SendMessageA (dlgInfo->hwndFocus, BM_SETSTYLE, BS_DEFPUSHBUTTON, TRUE);
^^^^^^^^^^^^^ Please use SendMessageW instead.
/*Check for a previous defpushbutton*/
if (dlgInfo->idResult)
{
hWndOldDefPushButton = GetDlgItem (hwnd,dlgInfo->idResult);
if (hWndOldDefPushButton && (hWndOldDefPushButton != dlgInfo->hwndFocus))
SendMessageA (hWndOldDefPushButton, BM_SETSTYLE, BS_PUSHBUTTON, TRUE);
^^^^^^^^^^^^ Ditto.