Search found 180 matches
- 17 May 2017, 02:23
- Forum: General Discussion
- Replies: 4
- Views: 1782
Re: Working example for creating UserControl in Native SDK (v2.0.1f1)
Great. I can now use the sample user control. Thanks !
- 16 May 2017, 03:31
- Forum: General Discussion
- Replies: 5
- Views: 3138
Re: Custom Behaviors Support?
Found this issue when searching if NoesisGUI supports something similar to Attached Behavior or Blend Behavior.
Just want to confirm if this issue is still open as of v2.0.1f1.
Just want to confirm if this issue is still open as of v2.0.1f1.
- 16 May 2017, 02:40
- Forum: General Discussion
- Replies: 4
- Views: 1782
Working example for creating UserControl in Native SDK (v2.0.1f1)
I am trying to create a new UserControl following the tutorial here: http://www.noesisengine.com/docs/Gui.Core.UserControlTutorial.html But it seems that the codes no longer compatible with v2.0 of SDK and I couldn't get it right. Could you please post an updated version of the tutorial so that we c...
- 13 May 2017, 13:19
- Forum: General Discussion
- Replies: 12
- Views: 4183
Re: Cannot unregister routed event handler (v2.0.1f1, C++)
OK, filed an issue here: https://bugs.noesisengine.com/view.php?id=1081
Looking forward for the feature in the next release !
Looking forward for the feature in the next release !
- 12 May 2017, 09:41
- Forum: General Discussion
- Replies: 12
- Views: 4183
Re: Cannot unregister routed event handler (v2.0.1f1, C++)
I see. I think it's better if you provide another API to subscribe to the event because lambda is so much powerful that it will be pain if it is not supported. For example in rxcpp (https://github.com/Reactive-Extensions/RxCpp), a 'subscription' is returned when you subscribe to an observable. Then ...
- 12 May 2017, 09:27
- Forum: General Discussion
- Replies: 2
- Views: 1909
Re: How to get a relative position from a MouseEventArgs
Thanks it works. So the "screen" coordinate is the coordinate system related to the Xaml root element. So I just need to call child->PointFromScreen(args.position) to get the position relative to the child element.
- 12 May 2017, 07:47
- Forum: General Discussion
- Replies: 2
- Views: 1909
How to get a relative position from a MouseEventArgs
MouseEventArgs has a member 'position' which seems containing the mouse location relative to the root XAML element.
The question is, how can I convert it to a location relative to the element I choose (similar to WPF MouseEventArgs. GetPosition(IInputElement relativeTo) API) ?
The question is, how can I convert it to a location relative to the element I choose (similar to WPF MouseEventArgs. GetPosition(IInputElement relativeTo) API) ?
- 12 May 2017, 02:41
- Forum: General Discussion
- Replies: 12
- Views: 4183
Cannot unregister routed event handler (v2.0.1f1, C++)
Just for testing, I registered a MouseMove event handler to an element, then soon unregistered it as follows. However, it seems that unregistering the handler doesn't work and my handler was still being called by the system. static auto handler = [](BaseComponent* sender, const MouseEventArgs& a...
- 28 Apr 2017, 01:57
- Forum: General Discussion
- Replies: 2
- Views: 1544
Re: Couldn't find SerializationData/UnserializationData (SDK v2.0.1f1)
Hi, thanks for the clarification. Regarding the exception, I have submitted an issue here: https://bugs.noesisengine.com/view.php?id=1070 and attached the necessary files to reproduce it. BTW, It is an unhandled exception: Unhandled exception at 0x00007ff91749da99 in Tutorial05.exe: 0xC0000005: Acce...
- 27 Apr 2017, 09:52
- Forum: General Discussion
- Replies: 2
- Views: 1544
Couldn't find SerializationData/UnserializationData (SDK v2.0.1f1)
Hi, Thanks for this great library. I have just downloaded and played a bit with it. I have a problem when following the Data Binding tutorial here: http://www.noesisengine.com/docs/Gui.Core.DataBindingTutorial.html. Trying to compile the code, the compiler couldn't find any definition of Serializati...