I think the device gets lost when you alt tab or press ctrl-alt-del.
To get around it for the AAText, I assume you are calling the DirectX API directly to draw it using some of Cloggy's code or a similar method ?
To get around the error, I would think that whatever you are doing to get the directx surface to draw your text onto initially , you would need to do that again after you restore the lost device, after an alt-tab etc... so pretty much run the "AAText setup"(or whatever you call your text setup functions) again, if that makes sense to you.
Note : It may not be as simple as just "Setting it up again" .. you may need to release and reassign any pointers before you try to set it up again, depending on how you are using it.
If none of what ive suggested works, would it be possible for you to post your code, or the part of it that deals with your AA text at least. Perhaps someone has had a similar problem and can point you in the right direction of fixing it if they know how you are using the text.
If it ain't broke.... DONT FIX IT !!!