Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
atlddx.h line #614:
while (hWndCtrl != NULL && !(GetWindowLong(hWndCtrl, GWL_STYLE) & WS_GROUP));
try to fix like:
while (hWndCtrl != NULL && (::GetWindowLong(hWndCtrl, GWL_STYLE) & WS_GROUP) != 0 );
You seem to have CSS turned off.
Please don't fill out this field.
I think that the code now is correct. It is not nicely written, and that should be improved. You proposal is not correct, the code should go through controls that don't have WS_GROUP style.
Nicely formatted line should probably look like this:
while((hWndCtrl != NULL) && ((::GetWindowLong(hWndCtrl, GWL_STYLE) & WS_GROUP) == 0));