Search found 23 matches

by Logrus
31 May 2021, 23:20
Forum: General Discussion
Replies: 3
Views: 2063

Re: MouseWheel doesn't work if there are nested TreeViews

Yes, I don't need internal ScrolViewers right now and this solution works.
But further scrolling may be required.
by Logrus
30 May 2021, 11:12
Forum: General Discussion
Replies: 3
Views: 2063

MouseWheel doesn't work if there are nested TreeViews

Hi I have a TreeView which in a TreeViewItem contains a TreeView, which is why the MouseWheel is not working. To the TreeView I added a Behavior that handles the PreviewMouseWheel() void MouseWheelBehavior::OnPreviewMouseWheel(BaseComponent* sender, const MouseWheelEventArgs& e) { auto is_skip_scrol...
by Logrus
15 Mar 2021, 08:57
Forum: General Discussion
Replies: 2
Views: 181

Re: Create ContextMenu programmatically

closed

in the parent element on the right button the mouse was captured.
by Logrus
14 Mar 2021, 07:08
Forum: General Discussion
Replies: 2
Views: 181

Create ContextMenu programmatically

Hi auto image = MakePtr<Image>(); image->SetSource(MakePtr<TextureSource>(LoadTexture(path))); auto menu = MakePtr<ContextMenu>(); auto item = MakePtr<MenuItem>(); item->SetHeader("Hello"); item->SetText(MakePtr<TextBlock>("World")); menu->GetItems()->Add(item); image->SetContextMenu(menu); image->M...
by Logrus
03 Jan 2021, 20:44
Forum: General Discussion
Replies: 2
Views: 474

Re: TypeClass* from Type*

Thank
by Logrus
03 Jan 2021, 15:13
Forum: General Discussion
Replies: 2
Views: 474

TypeClass* from Type*

Hi,
how get Noesis::TypeClass* from Noesis::Symbol or Noesis::Type* ?
by Logrus
01 Dec 2020, 10:19
Forum: General Discussion
Replies: 4
Views: 814

Re: EventArgs to InvokeCommandAction

Ok,
thanks
by Logrus
29 Nov 2020, 16:04
Forum: General Discussion
Replies: 4
Views: 814

Re: EventArgs to InvokeCommandAction

Improved the solution a bit. Wrapped EventArgs in a component. class NS_APP_INTERACTIVITY_API EventTriggerArgsComponent : public Noesis::BaseComponent { public: Noesis::Symbol eventName; Noesis::EventArgs* args; NS_IMPLEMENT_INLINE_REFLECTION_(EventTriggerArgsComponent, Noesis::BaseComponent) }; If ...
by Logrus
29 Nov 2020, 12:03
Forum: General Discussion
Replies: 4
Views: 814

EventArgs to InvokeCommandAction

Hi, How to pass EventArgs from EventTrigger to InvokeCommandAction? I solved it by changing the NoesisApp::EventTriggerBase code by adding the GetEventArgs method Noesis::EventArgs* EventTriggerBase::GetEventArgs() const; <i:Interaction.Triggers> <i:EventTrigger EventName="MouseUp" x:Name="Trigger.U...
by Logrus
26 Nov 2020, 11:21
Forum: General Discussion
Replies: 3
Views: 691

Re: DirectX 11 Render warning

Unfortunately,
I do not have permission to access the bug tracker((