I believe I answered your other question earlier. I'm not sure if you are in NJ or Illinois since you ask questions in NJ but your profile says Illinois. If you are in New Jersey, most likely after about 90 days of default the bank files a Notice of Lis Pendens aka Notice of Default, along with the foreclosure complaint. Shortly thereafter you will be served with a copy of the filed complaint. The lis pendens basically alerts a buyer through their title company or lender (if a refi) that the propertyâ€™s title is in question and that the property is facing foreclosure.
Taking into consideration what your last question was and reading this one, if you can sell the property to the buyer and still have enough money satisfy all other liens, fees, etc., what's the difference if he knows you are in foreclosure or preforeclosure? Honestly, if you are facing foreclosure, this isn't the time to let pride stand in your way. If you have a buyer that can buy the home, pay off your mortgage, pay the other costs associated with selling your home (as I posted in my last answer), then who cares if he knows you are in foreclosure. I know you'd rather the buyer not know but look at this as being a fresh start for you.
So to answer your question, aside from public records on public websites which aren't always up to date or accurate- if the lis pendens was filed, it'll show the foreclosure proceeding on the title search.