You can reproduce this in various ways, for instance:
1) Open the Find dialog.
2) Press Count.
3) Press "Find All in Current Document".
4) Open Find again.
5) Observe garbage letters in status bar of the find dialog. (I actually got it to display "notepad++" once).
The problem is this: you set the status bar by sending SB_SETTEXT with a pointer to a string. When FindReplaceDlg::drawItem() is called, the text pointer in LPDRAWITEMSTRUCT points to the same address as the "old" pointer. Depending on scopes etc you get this unwanted behavior.
Solution: save a copy of the last set status bar text in the status bar object.