在 Windows 中,此方法还可以处理系统消息,以帮助避免应用程序在长时间操作期间看起来无响应。这对于带有用户界面的应用程序尤其有用。
HRESULT OnWarning(
IFRDocument* Sender,
int PageIndex,
BSTR Warning,
VARIANT_BOOL* Cancel
);
void OnWarning(
IFRDocument Sender,
int PageIndex,
string Warning,
ref bool Cancel
);
Sub OnWarning( _
Sender As IFRDocument, _
PageIndex As Integer, _
Warning As String, _
ByRef Cancel As Boolean _
)
此页面对您有帮助吗?