jayhf / OpenTkControl

A faster way to use OpenTk in WPF without Forms dependencies
MIT License
30 stars 6 forks source link

how to addUser interaction #5

Open luoqiang110 opened 5 years ago

luoqiang110 commented 5 years ago

hello guys

i learn form your project a lot ,but i find that the OpenTK in WPF can not interact ,for example ,mouse wheel and mouse left actions .ect。 so did you add those functions yet ? and do you think whether wpf can support OpenTK friendly ?

best wishes & look forward to reply

jayhf commented 5 years ago

I've just been using the usual WPF events for those things. There's probably a way to add handlers that send the data to OpenTK, but I'm not sure what would be the best way to do it. There's probably some better way to get OpenTK and WPF to work together, but I haven't found it yet.

luoqiang110 commented 5 years ago

I've just been using the usual WPF events for those things. There's probably a way to add handlers that send the data to OpenTK, but I'm not sure what would be the best way to do it. There's probably some better way to get OpenTK and WPF to work together, but I haven't found it yet.

i have try to add handlers to WPF OpenTK control ,but it’s to hard to solve mang problems,finally ,i decide to give up。 thanks for your reply ,happy every day ~