Search found 85 matches
- 25 Apr 2017, 11:22
- Forum: General Discussion
- Replies: 3
- Views: 1653
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...
- 25 Apr 2017, 11:09
- Forum: General Discussion
- Replies: 3
- Views: 1653
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...
- 25 Apr 2017, 10:47
- Forum: General Discussion
- Replies: 3
- Views: 1653
[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
Noesis 2.0.1f1
- 19 Apr 2017, 15:48
- Forum: General Discussion
- Replies: 2
- Views: 1258
[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.
- 07 Mar 2017, 13:39
- Forum: General Discussion
- Replies: 2
- Views: 1304
Re: [C++] ToolTip crash
UPD: crashing was on wrong time passing.
Passing "10*time" in seconds don't give a crash. But tooltip hides itself after a short period.
Code: Select all
xaml_view->Update(time);
- 07 Mar 2017, 13:04
- Forum: General Discussion
- Replies: 2
- Views: 1304
[C++] ToolTip crash
After popping up ToolTip NoesisGUI crashing without any notice and hide whole visual part. No destructors called. Uses 1.3beta4
- 07 Mar 2017, 10:18
- Forum: General Discussion
- Replies: 7
- Views: 2389
Re: [C++] Binding command to ListBox item select event
@sfernandez, your solution solves the problem.
- 28 Feb 2017, 11:20
- Forum: General Discussion
- Replies: 7
- Views: 2389
Re: [C++] Binding command to ListBox item select event
Ok, I got it, thanks.
- 28 Feb 2017, 10:03
- Forum: General Discussion
- Replies: 7
- Views: 2389
Re: [C++] Binding command to ListBox item select event
Could you provide code-behind sample?
- 28 Feb 2017, 08:25
- Forum: General Discussion
- Replies: 7
- Views: 2389
[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_...