Mikołaj Zalewski : wordpad: Always use RB_GETBARHEIGHT .