Click here to Skip to main content
15,896,154 members
Home / Discussions / C#
   

C#

 
GeneralRe: A theoretical question involving Direct3D Pin
TigerNinja_7-May-04 8:26
TigerNinja_7-May-04 8:26 
GeneralRe: A theoretical question involving Direct3D Pin
Heath Stewart7-May-04 9:32
protectorHeath Stewart7-May-04 9:32 
GeneralRe: A theoretical question involving Direct3D Pin
Dave Brighton21-Jun-04 1:20
Dave Brighton21-Jun-04 1:20 
QuestionHow do I send messages to another form Pin
kayhustle7-May-04 7:31
kayhustle7-May-04 7:31 
AnswerRe: How do I send messages to another form Pin
CWIZO7-May-04 7:39
CWIZO7-May-04 7:39 
GeneralRe: How do I send messages to another form Pin
Jeff Varszegi7-May-04 7:45
professionalJeff Varszegi7-May-04 7:45 
GeneralRe: How do I send messages to another form Pin
kayhustle7-May-04 8:10
kayhustle7-May-04 8:10 
GeneralRe: How do I send messages to another form Pin
Heath Stewart7-May-04 9:31
protectorHeath Stewart7-May-04 9:31 
That's been answered many times as well. You need to get a handle to the process (see the System.Diagnostics.Process class in the .NET Framework SDK) then P/Invoke FindWindow and FindWindowEx to get the window handle (HWND - represented by an IntPtr in .NET) of the control. Then you can P/Invoke SendMessage to send WM_SETTEXT to the HWND with the text you want to set. Search this forum for more information, and see the Platform SDK for details. Previous experience with Windows messaging will definitely be a plus.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: How do I send messages to another form Pin
kayhustle7-May-04 9:53
kayhustle7-May-04 9:53 
GeneralStore encripted passwords Pin
DrGreen7-May-04 7:26
DrGreen7-May-04 7:26 
GeneralRe: Store encripted passwords Pin
TigerNinja_7-May-04 8:19
TigerNinja_7-May-04 8:19 
GeneralRe: Store encripted passwords Pin
Heath Stewart7-May-04 9:28
protectorHeath Stewart7-May-04 9:28 
Generalprev/next Pin
Member 10811447-May-04 7:03
Member 10811447-May-04 7:03 
GeneralRe: prev/next Pin
Heath Stewart7-May-04 9:26
protectorHeath Stewart7-May-04 9:26 
GeneralRe: prev/next Pin
TigerNinja_7-May-04 11:02
TigerNinja_7-May-04 11:02 
QuestionHow to create an Type from string Pin
cyonite7-May-04 6:26
cyonite7-May-04 6:26 
AnswerRe: How to create an Type from string Pin
Corinna John7-May-04 7:31
Corinna John7-May-04 7:31 
GeneralRe: How to create an Type from string Pin
cyonite7-May-04 13:39
cyonite7-May-04 13:39 
GeneralRe: How to create an Type from string Pin
Corinna John7-May-04 23:29
Corinna John7-May-04 23:29 
GeneralRe: How to create an Type from string Pin
cyonite8-May-04 4:58
cyonite8-May-04 4:58 
AnswerRe: How to create an Type from string Pin
Heath Stewart7-May-04 9:25
protectorHeath Stewart7-May-04 9:25 
GeneralRe: How to create an Type from string Pin
cyonite7-May-04 13:42
cyonite7-May-04 13:42 
GeneralRe: How to create an Type from string Pin
Heath Stewart8-May-04 19:10
protectorHeath Stewart8-May-04 19:10 
GeneralPerformanceCounter problem Pin
bgd16087-May-04 5:50
bgd16087-May-04 5:50 
Generalexcel Pin
dcronje7-May-04 5:40
dcronje7-May-04 5:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.