"Igor Grahek" igorg@cadlink.com writes:
- infoPtr->hwndNotify = lpcs->hwndParent;
- if(!IsWindow(infoPtr->hwndNotify))
infoPtr->hwndNotify = GetParent(hwnd);
Why do you need the IsWindow() check? AFAICS the parent should always be valid (or possibly 0 but then GetParent() will be 0 too).