Im working on a Win32 program in C, and I don't know how to set this check box I have as unedit/editable. I want it to start about being uneditable, and then when the user clicks certain buttons, I want it to become editable. THis is how my check box is defined when the program starts.

hWndButton = CreateWindowEx(
0,
"BUTTON",
"Swap Byte Order",
WS_VISIBLE | WS_CHILD | BS_AUTOCHECKBOX,
10,
80,
130,
20,
hwnd,
(HMENU)ID_CHECK_BOX1,
hInstance,
NULL);


If someone can help, i would really appreciate it.

Thanks