Hi,
- /* The allowable IDs are between IDOK (0) and IDCONTINUE (11)
inclusive */
- if (wBtn >= IDCONTINUE)
return NULL;- LoadStringW(User32Instance, wBtn, (LPWSTR)&btnStr, 0);
- return btnStr;
If IDCONTINUE is inclusive then the check in the next line should be >, shouldn't it?
Best regards, Michael