Search found 85 matches

  • 1
  • 3
  • 4
  • 5
  • 6
  • 7
  • 9
by realesmedia
25 Apr 2017, 11:22
Forum: General Discussion
Replies: 3
Views: 1645

Re: [C++] Deriving from BaseComponent causes pure virtual class.

Next code can solve compiler errors but I don't know if any errors can occurs. public: virtual BaseObject* GetBaseObject() const { return (BaseObject*)this; } virtual NsInt32 AddReference() const { return BaseRefCounted::AddReference(); } virtual NsInt32 Release() const { return BaseRefCounted::Rele...
by realesmedia
25 Apr 2017, 11:09
Forum: General Discussion
Replies: 3
Views: 1645

Re: [C++] Deriving from BaseComponent causes pure virtual class.

class BaseDerived : public BaseComponent, public INotifyPropertyChanged { public: virtual ~BaseDerived(){} Noesis::PropertyChangedEventHandler& PropertyChanged() { return propertyChanged; } protected: Noesis::PropertyChangedEventHandler propertyChanged; NS_IMPLEMENT_INLINE_REFLECTION(BaseDerive...
by realesmedia
25 Apr 2017, 10:47
Forum: General Discussion
Replies: 3
Views: 1645

[C++] Deriving from BaseComponent causes using abstract class.

When I create class dirived from BaseComponent and INotifyPropertyChanged compiler shows an error "cannot instantiate abstract class). Compiler helper shows I have no overriden functions: GetBaseObject, AddReference, Release, GetNumReferences.
Noesis 2.0.1f1
by realesmedia
19 Apr 2017, 15:48
Forum: General Discussion
Replies: 2
Views: 1254

[C++] Using absolute path

Have a component which uses image. Using ImageSource with absolute path like "C:\data\image.png" not works. Relative path works.
by realesmedia
07 Mar 2017, 13:39
Forum: General Discussion
Replies: 2
Views: 1302

Re: [C++] ToolTip crash

UPD: crashing was on wrong time passing.
xaml_view->Update(time);
Passing "10*time" in seconds don't give a crash. But tooltip hides itself after a short period.
by realesmedia
07 Mar 2017, 13:04
Forum: General Discussion
Replies: 2
Views: 1302

[C++] ToolTip crash

After popping up ToolTip NoesisGUI crashing without any notice and hide whole visual part. No destructors called. Uses 1.3beta4
by realesmedia
07 Mar 2017, 10:18
Forum: General Discussion
Replies: 7
Views: 2378

Re: [C++] Binding command to ListBox item select event

@sfernandez, your solution solves the problem.
by realesmedia
28 Feb 2017, 11:20
Forum: General Discussion
Replies: 7
Views: 2378

Re: [C++] Binding command to ListBox item select event

Ok, I got it, thanks.
by realesmedia
28 Feb 2017, 10:03
Forum: General Discussion
Replies: 7
Views: 2378

Re: [C++] Binding command to ListBox item select event

Could you provide code-behind sample?
by realesmedia
28 Feb 2017, 08:25
Forum: General Discussion
Replies: 7
Views: 2378

[C++] Binding command to ListBox item select event

How to bind to select event of listbox for item? XAML View file: <Listbox Selected="{Binding OnSelected}" ItemsSource="{Binding TheList2}" ItemTemplate="{StaticResource ListTemplate2}"/> C++ code behind: class ViewModel_imports : public BaseComponent{ public: ViewModel_...
  • 1
  • 3
  • 4
  • 5
  • 6
  • 7
  • 9