BartekW
Topic Author
Posts: 53
Joined: 24 Mar 2021, 14:33

Re: Getting Started with C++

31 Mar 2021, 01:16

More information in the Resources Tutorial. Our examples come with a command line tool for converting binary files to source headers, Bin2h. This is very convenient for our examples.
And to be honest u would share any Bin2h tool becouse its necessery to use NoisesGUI. I cant use my xamls xD

Edit. Sorry I found that tool
Edit. But rly cant figure out how to automatically update those files. And that tool doesnt generate .bin.h file, just output in console :/
 
BartekW
Topic Author
Posts: 53
Joined: 24 Mar 2021, 14:33

Re: Getting Started with C++

31 Mar 2021, 01:49

Rly need introduce video in NoesisGUI with C++ xD
 
User avatar
jsantos
Site Admin
Posts: 3905
Joined: 20 Jan 2012, 17:18
Contact:

Re: Getting Started with C++

31 Mar 2021, 14:06

Bin2h is not needed for using Noesis. It is something we are using for our examples. If you want to use it, please have a look at our projects. Each resource (xaml, font, image) is configured with a custom build step.
 
BartekW
Topic Author
Posts: 53
Joined: 24 Mar 2021, 14:33

Re: Getting Started with C++

01 Apr 2021, 16:56

Bin2h is not needed for using Noesis. It is something we are using for our examples. If you want to use it, please have a look at our projects. Each resource (xaml, font, image) is configured with a custom build step.
Can u link me one project please
 
User avatar
jsantos
Site Admin
Posts: 3905
Joined: 20 Jan 2012, 17:18
Contact:

Re: Getting Started with C++

02 Apr 2021, 01:29

Any of the examples included in the C++ SDK that you already downloaded. There is also a solution containing all the examples, please read the welcome document found at root.
 
BartekW
Topic Author
Posts: 53
Joined: 24 Mar 2021, 14:33

Re: Getting Started with C++

06 Apr 2021, 19:27

Any of the examples included in the C++ SDK that you already downloaded. There is also a solution containing all the examples, please read the welcome document found at root.
Yes yes, I meant how to do this in other way in short, but today I want ask about something other. If I declared NsProp in .cpp and I want use this property in .xaml should I something like include this property to xaml? I tryed with but namespace doesnt see my ViewManager. ViewManager isnt .xaml class. I looked in sample and that looks like this but mine doesnt work ;(
d:DataContext="{d:DesignInstance {x:Type local:ViewManager}
And another question, how to make my listbox not pink? I read about templates and I added one and it doesnt work :/

Now I have pure listbox, can u make template for it to understand how to do this?
<ListBox x:Name="RealityProjectListBox" Height="200"
                ItemsSource="{Binding ProjectTemplates}" 
                     DisplayMemberPath="Name">
                
            </ListBox>
Edit. Pink color missed. I overrided Template by binding it, how to turn off this feature?
Last edited by BartekW on 07 Apr 2021, 13:45, edited 1 time in total.
 
BartekW
Topic Author
Posts: 53
Joined: 24 Mar 2021, 14:33

Re: Getting Started with C++

07 Apr 2021, 13:40

And that ListBox displays only last string item even if reserve space for all items :/ I have 4 items in observable collection but ListBox displays last of it only
 
User avatar
jsantos
Site Admin
Posts: 3905
Joined: 20 Jan 2012, 17:18
Contact:

Re: Getting Started with C++

07 Apr 2021, 14:33

For the pink thing, please read the following thread

viewtopic.php?f=3&t=2153
 
BartekW
Topic Author
Posts: 53
Joined: 24 Mar 2021, 14:33

Re: Getting Started with C++

07 Apr 2021, 14:44

For the pink thing, please read the following thread

viewtopic.php?f=3&t=2153
Thanks for reply.
Do u know why my ListBox displays only last item?
 
User avatar
jsantos
Site Admin
Posts: 3905
Joined: 20 Jan 2012, 17:18
Contact:

Re: Getting Started with C++

08 Apr 2021, 12:30

Do u know why my ListBox displays only last item?
Are you able to reproduce this on XamlPlayer (included in the SDK) or XamlToy?

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 88 guests