Conditional Check Box in Dialog List
-
Hi, I am using the List control and populating data coming as resultset into Dialog list.One of the field should be checkbox which work based on condition. If condition is true then only show the checkbox otherwise hide the checkbox.So some row have check box and rest don't. Could you please suggest way to achieve it. I tried to paint unwanted check box but it start showing when someone click on hidden checkbox. Appreciate you time. Thanks Pankaj
-
Hi, I am using the List control and populating data coming as resultset into Dialog list.One of the field should be checkbox which work based on condition. If condition is true then only show the checkbox otherwise hide the checkbox.So some row have check box and rest don't. Could you please suggest way to achieve it. I tried to paint unwanted check box but it start showing when someone click on hidden checkbox. Appreciate you time. Thanks Pankaj
use GetDlgItem(ID_OF_CHECKBOX)->ShowWindow(SW_HIDE) HTH
-
use GetDlgItem(ID_OF_CHECKBOX)->ShowWindow(SW_HIDE) HTH