i can initialize a control before the ShowDialog(), c3Che = 1
but
in a Dlg Procedure, i cannot change the state of the checkbox with c3Che = 0
can you explain why it doesnt work in the sub procedure? it recognizes that 3 is a control via the Case... does it not recognize the str variable? whats the better option for changing state of controls in sub-procedure. thanks
but
in a Dlg Procedure, i cannot change the state of the checkbox with c3Che = 0
str c3Che e4 b5But
c3Che = 1 ;; initializes checkbox with a check
int hDlg=ShowDialog("" &sub.DlgProc &controls 0 1 1)
___________________________________________________
sel wParam
case IDOK
case IDCANCEL
case 5 ;;button
c3Che = 0 ;; doesnt work
can you explain why it doesnt work in the sub procedure? it recognizes that 3 is a control via the Case... does it not recognize the str variable? whats the better option for changing state of controls in sub-procedure. thanks