You need to implement two extra bits of code if you want synchronization to occur continuously while the Windows CE device remains connected:
Call appropriate functions in the IReplNotify interface provided by ActiveSync to notify changes to items in the store.
Write synchronization codes to allow the desktop application to notify your ActiveSync that item changes have occurred.