I come with another problem.
How to check a "checkbox" initially in a complex dialog? I tried to use wCheckCheck("CheckBox1") in "WM_INITDIALOG" part. It failed because the dialog window is not brought out yet. WcheckCheck cannot function well.
Under WM_INITDIALOG, you will need to use the SendMessage and GetDlgItem api's (both in Winapi.inc)
SendMessage (GetDlgItem(hMainDlg, IDC_CHECK1), BM_SETCHECK, BST_CHECKED, 0)
IDC_CHECK1 - control ID from checkbox
hMainDlg - window handle for complex dialog (parameter in dialog process function)
Michael - Armageddon was yesterday, today we have a serious problem!
Really appreciate your help. [img]images/icons/smile.gif[/img]