Both the sefer Ohr Sameach and Meshech Chochmah, written by Rav Meir Simcha of Dvinsk, have on their title page the words
חובר ברצון אבינו שבשמים
(See http://www.hebrewbooks.org/pdfpager.aspx?req=14551&pgnum=1 and http://www.hebrewbooks.org/pdfpager.aspx?req=14061&pgnum=1)
I haven't seen this particular statement, invoking the "רצון" of God, in any other sefer. It sounds like he's saying Hashem approves of the sefer. The closest I've found similar to this is the title page to Yam Shel Shlomo where it says ומן השמים הסכימו שהלכה כמותו, that Heaven agrees that the halacha (found in the sefer is correct) like him (http://www.hebrewbooks.org/pdfpager.aspx?req=40932&pgnum=1 see the third line). He writes that a miracle occured while writing it, proving Hashem agrees with it.
What is this unusual statement referring to, if anything in particular? Is it like the Yam Shel Shlomo? If so, what's the background behind it. Or is it something else.