I haven't tried it yet. I sold all of my M42 (assuming that's what you're referring to) when I sold my K10D. The literature I have read recommends says it will only work in M or A mode, turning off AF and using spot or center-weighted metering (stopped down) for best accuracy. I also saw recommendations for manually entering what lens you're using for greater accuracy and for bettter exif data. I would assume that the K-mount adapter works the same.
Looks like you can use AF mode and get focus confirmation with this
this gadget.