Search found 11 matches

  • 1
  • 2
by Maddy123
03 Apr 2014, 23:41
Forum: General Discussion
Replies: 3
Views: 2083

Re: Dynamically adding usercontrol to MainWindow

1. Yes we are using ogre bindings. 2. Yes I do have custom class overriding usercontrol and source loading my usercontrol xaml. But it doesnt compile properly. class codebehind is: class xaml1: public Noesis::Gui::UserControl { NS_IMPLEMENT_INLINE_REFLECTION(xaml1, UserControl) { NsMeta<TypeId>("Plu...
by Maddy123
03 Apr 2014, 01:04
Forum: General Discussion
Replies: 3
Views: 2083

Dynamically adding usercontrol to MainWindow

Hello, I want to dynamically add usercontrol (defined in seperate xaml) to MainWindow. Something like following: Noesis_LoadXAML(&mUIRoot, &mUIRenderer, "Gui/DC2/MainWindow.xaml"); Noesis_LoadXAML(&mPlugin1Root, &mPluginUIRenderer, "Gui/DC2/xaml1.xaml"); main_root = (Noesis::Gui::FrameworkElement*)m...
by Maddy123
27 Mar 2014, 00:21
Forum: General Discussion
Replies: 7
Views: 3157

Re: Do List Boxes work?

Hello, I am going to add one more question regarding this situation. I am trying to dynamically create ListBoxItem and apply DataTemplate (static resource) to that item. I dont want to apply DataTemplate to entire ListBox, but only to individual ListBoxItem. Can you give me any pointers? Edit: I am ...
by Maddy123
20 Mar 2014, 22:15
Forum: General Discussion
Replies: 1
Views: 1517

Dock/Undock windows using mouse cursor

I am want to implement docking/undocking windows in my application. I am using Ogre. Can you guide me for this?
by Maddy123
03 Feb 2014, 21:40
Forum: General Discussion
Replies: 1
Views: 1256

Ignore key on Key event

Is there any way not to process the key getting pressed? Something to completely ignore that key ?
by Maddy123
16 Jan 2014, 18:23
Forum: General Discussion
Replies: 3
Views: 1738

Re: Creating textbox dynamically.

Actually, I'm using C++. Root doesn't appear to have a getChildren() method.
by Maddy123
16 Jan 2014, 00:16
Forum: General Discussion
Replies: 3
Views: 1738

Creating textbox dynamically.

I am trying to create textbox dynamically and also keep updating its values. Is there any way to add textbox to root ? Thanks.
by Maddy123
17 Dec 2013, 22:34
Forum: General Discussion
Replies: 9
Views: 4143

Custom cursors

Is there any way to incorporate custom cursors in Noesis? Thanks.
by Maddy123
25 Oct 2013, 00:35
Forum: General Discussion
Replies: 5
Views: 2424

Re: Getting position of grid control

Xaml code is : <Grid x:Name="LayoutRoot" Margin="0,0,0,-1"> <Grid.ColumnDefinitions> <ColumnDefinition Width="0.75*"/> <ColumnDefinition Width="0.25*"/> </Grid.ColumnDefinitions> <Grid x:Name="OgreMasterSlaveView" Margin="0"/> <Grid x:Name="OgreSingleView" Margin="0" Grid.ColumnSpan="2"/> <Grid x:Na...
by Maddy123
24 Oct 2013, 17:53
Forum: General Discussion
Replies: 5
Views: 2424

Re: Getting position of grid control

Actually I have two grid in window (on top of each other, dividing the window vertically in half). I am getting height of entire window and bottom grid both as 1 and also width of grid as 0.

I tried all the suggestions you mentioned above but still getting wrong result. Any pointers?
  • 1
  • 2