Is there a way to get the error a dialog function encounters? Example, DGAppendDialogItem() returns 0 if an error was encountered. But what is this error? Did I pass a wrong ID, type, sub-type, etc? Is there a function that I can call to get this error, like GetLastError().
EDIT 1: 2014 Sep 10
I asked this since I am unable to add a button on AC18. Here is my code: