NewBee in Win32

Hello everyone i am doing an application similar to notepad in SDk and i am stuck in 'Find' function in Edit menu , although i have been able to find out the required string when 'up' radio button is checked but i cannot find it when the down radio button is checked.Is there any substring function in win32 that goes backward ??