Thanks in advance!
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
How to add a new menus/controls to a custom NTWindow's title bar?
Collapse
X
-
How to add a new menus/controls to a custom NTWindow's title bar?
I've created a new AddOn window based on the AddonShell_NT8.zip example and it's working perfectly. My current challenge is figuring out how to add menus/controls to my window's title bar like all the other NT windows have. I don't see a how-to 's in the documentation. Could someone provide some sample code or point me in the right direction? Ideally it would be great to have the AddonShell example updated to demonstrate how to add items to the NTWindow.
Thanks in advance!Tags: None
-
Hello Stoner,
Thanks for your post.
I do not have a more indepth example at this time, but I have attached a simple demonstration for adding an InstrumentSelector to the top toolbar through NTWindow.MainMenu. You can add your own WPF elements, and I have also linked to a colleague's thread which provides further examples for WPF modifications. These modifications are made on a chart, but you can find that the WPF elements can be implemented in an AddOn much the same.
WPF Modifications - https://ninjatrader.com/support/foru...considerations
Please let me know if I can be of further assistance.Attached FilesJimNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by The_Sec, Yesterday, 03:37 PM
|
1 response
11 views
0 likes
|
Last Post Today, 06:17 AM | ||
Started by vecnopus, Today, 06:15 AM
|
0 responses
1 view
0 likes
|
Last Post
by vecnopus
Today, 06:15 AM
|
||
Started by Aviram Y, Today, 05:29 AM
|
0 responses
5 views
0 likes
|
Last Post
by Aviram Y
Today, 05:29 AM
|
||
Started by quantismo, 04-17-2024, 05:13 PM
|
3 responses
27 views
0 likes
|
Last Post Today, 05:23 AM | ||
Started by ScottWalsh, 04-16-2024, 04:29 PM
|
7 responses
36 views
0 likes
|
Last Post Today, 05:15 AM |
Comment