Hi Morten,
When in Windows 7, right-click on an empty spot on the desktop, and select "Personalize" from the context menu; the "Personalize" dialog will pop up. There's a scrollable control in that dialog listing all predefined themes; somewhere at the bottom of the list are the "Basic and high-contrast" themes. I always select "High contrast #1".
If you are using an already modified theme then this theme will be listed on top of the list under "My themes" or such. If it's not saved, then you can right-click it and select "Save theme" first before switching to another theme (just to be on the safe side).
So far I've found nowadays Code::Blocks goes along with high contrast themes pretty well, apart from the notebook tabs and the dockable window title bars. The colour of the latter can be set via the settings, so no fix is needed there.
Note though that some other apps do not play nice with high contrast themes; my Kaspersky virus scanner e.g. insists on using it's own custom window drawing using white as background, but uses the Windows system text colour (in my case pale yellow) to show text; quite unreadable thank you very much
In version 8.02 Code::Block's logger windows used to be like this (background from system colours == black in my case, and text colour hard-coded to black, dark blue and dark red), but nowadays in the text loggers any non-standard text colour is first BlendTextColoured which fixes this nicely.
I also alterd the HTML logger window code just to be safe, but I suspect there are no HTML loggers in use anymore?