Quantcast
Channel: MicroStation Programming - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1677

Re: Unable to query if Speedikon Architecture for Microstation is loaded ...

$
0
0

Well ... half an hour later I have found a way ...

Implements IEnterIdleEvent


Public Sub hooks_OnDesignFileOpened(ByVal FileName As String)
   
Call show_InfoPopUp.ProjectLoad
Call start.auto_load
AddEnterIdleEventHandler Me
 
End Sub


Private Sub IEnterIdleEvent_EnterIdle(ByVal Reserved As Long)
       
RemoveEnterIdleEventHandler Me

Call whateverIwant
    
End Sub

I simply added an IEnterIdleEvent to my startup routine. This kicks in when the system enters into idle mode and this is exactly the moment, when Speedikon startup is complete ...

The EventHandler will be removed when the IdleEvent is triggered so that the procedure is only running once.


Viewing all articles
Browse latest Browse all 1677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>