smahdi83 Posted October 29, 2007 Posted October 29, 2007 Hello, I have a COM object on my form and I would like to know how I can trigger an event when that object changes position on the form. Thanks,
Nahuel Posted October 29, 2007 Posted October 29, 2007 Maybe ControlGetPos() in a loop. If the position changes, trigger your function. Else, continue checking.
smahdi83 Posted October 29, 2007 Author Posted October 29, 2007 Maybe ControlGetPos() in a loop. If the position changes, trigger your function. Else, continue checking.Yeah but I dont want to continually check. i just want to do something IF it happens. Thanks,
smahdi83 Posted October 29, 2007 Author Posted October 29, 2007 Guys any help would be greatly appreciated. Thanks,
Richard Robertson Posted October 29, 2007 Posted October 29, 2007 You have to continually check. Unless the COM object has an event for you, you have to check yourself. Why would the COM object be moving on it's own though?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now