Platform SDK: Synchronization Manager |
The registered application must call the ISyncMgrSynchronizeCallback::EnableModeless method before and after any dialog boxes are displayed from within the ISyncMgrSynchronize::PrepareForSync and ISyncMgrSynchronize::Synchronize methods.
HRESULT EnableModeless( BOOL fEnable );
To request permission to display a dialog box, the registered application first calls ISyncMgrSynchronize::EnableModeless with fEnable set to TRUE. If S_OK is returned, the registered application may display the dialog box. Once the dialog box has been displayed, the registered application must call ISyncMgrSynchronize::EnableModeless with fEnable set to FALSE to notify SyncMgr that other items may now display user interface elements.
Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with Internet Explorer 5 or later).
Windows 95/98: Requires Windows 95 or later (with Internet Explorer 5 or later).
Header: Declared in Mobsync.h.
ISyncMgrSynchronize::PrepareForSync, ISyncMgrSynchronize::Synchronize