M.Shoaib Khan wrote: this would enable the checkbox if it is disabled. Nope. You make a call to the UpdateData(TRUE) function. Therefor the member variable for the checkbox contains the _new_ state of the checkbox. If you want to ignore the change, you therefor have to invert the state now. :-D -Dominik
_outp(0x64, 0xAD); and __asm mov al, 0xAD __asm out 0x64, al do the same... but what do they do?? ;)