Seeing that this is heavily system-dependent, it is higly unlikely that this will be implemented into Code::Blocks any time soon, if ever.
However, as Biplap said, you can always add a tool to launch task manager, or write a plugin that does the respective Windows API calls.