How do you call FindWindow and PostMessage from c# in NT7?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to call FindWindow, PostMessage
Collapse
X
-
How to call FindWindow, PostMessage
I want to occasionally post a windows message to via PostMessage from my indicator to another window.
How do you call FindWindow and PostMessage from c# in NT7? -
Hello AusTrader,
This would be outside of what is supported by NinjaTrader Support.
Should you need further assistance, this thread will remain open for any community members that would like to assist.
You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like our business development follow up with you with a list of affiliate consultants who would be happy to create this script or any others at your request.Chelsea B.NinjaTrader Customer Service
Comment
-
Much cleaner indeed.Originally posted by AusTrader View PostI am referring to an external application.
I have now resolved the problem by creating a .NET 3.5 DLL in Visual Studio 2013 to call FindWindow and PostMessage.
It would be cleaner to be able to call it direct from NT7 but this external DLL is working fine.
I found this by searching for "C# FindWindow" in Google.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
574 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
333 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
553 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment