>I think the goal in the not-too-far-away-future is to have xwinclip > >integrated directly inside the XWin app. This would save you the >trouble >to use SetWindowsHookEx, which IIRC is a big piece of crap. >Also, this >would save you the trouble of killing xwinclip while XWin >is still >running.
I read that the plan was to integrate it on one of the posts (and the todo list) but the problem would still remain (keeping ownership). You're right though SetWindowsHookEx is awful. It's not too bad for a process only hook but a global is horrible. I think you're right though, wasting more time on the closing down bit would be foolish. When integrated only the setselectionowner's would need to be removed and the two event's code added. Much cleaner but would get rid of the ownership thing. Thanks for the feedback. Nobody replied to the other post so I wondered what interest level there was. Chris _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx