Hi,
I have created a dialog box with a checkBox.Everything works fine and the check box was displayed as well. But I have created a void function and added that to my check box and has been called inside my check box. But it is not working.(complies successfully)
So I did set some break points and executed my code.When I ran the code my executable skips the function call [ ImageDisp();]
Also in the vein of Chervil's reply, don't know if this is your problem, but don't ever put blank WM_PAINT handlers in your Window Procedures as you have above or you'll have more grief than you can imagine. To be truthful, I'm not even sure if Dialog Procedures get WM_PAINT messages. I seldom use Dialog Procedures.