How can I control cursor setting i.e if I want to programatically display On & OFF the cursor or if I want to disable and enable it programatically then what should I do plz tell me .
If I am understanding correctly, then you could check out the SetCursorAttribute() function and set the ATTR_CURSOR_ENABLED property. For example, to disable the cursor you could say