Click here to Skip to main content
15,922,015 members
Home / Discussions / C#
   

C#

 
GeneralRe: Probblem with refrencing DLLs Pin
CWIZO16-Mar-04 9:46
CWIZO16-Mar-04 9:46 
Generalgetting pixels Pin
quilkin14-Mar-04 1:51
quilkin14-Mar-04 1:51 
GeneralRe: getting pixels Pin
Mazdak14-Mar-04 4:50
Mazdak14-Mar-04 4:50 
GeneralRe: getting pixels Pin
quilkin14-Mar-04 6:58
quilkin14-Mar-04 6:58 
GeneralRe: getting pixels Pin
Mazdak14-Mar-04 7:15
Mazdak14-Mar-04 7:15 
GeneralEvents - a beginner asks for help Pin
shadowpippin14-Mar-04 1:21
sussshadowpippin14-Mar-04 1:21 
GeneralRe: Events - a beginner asks for help Pin
Meysam Mahfouzi14-Mar-04 4:26
Meysam Mahfouzi14-Mar-04 4:26 
GeneralRequired header <conio.h> of C-library Pin
oOomen13-Mar-04 23:47
oOomen13-Mar-04 23:47 
GeneralRe: Required header <conio.h> of C-library Pin
oOomen14-Mar-04 1:50
oOomen14-Mar-04 1:50 
Generalfrom a datagrid in one to a textbox in another form Pin
ASGill13-Mar-04 21:49
ASGill13-Mar-04 21:49 
GeneralRe: from a datagrid in one to a textbox in another form Pin
Mazdak14-Mar-04 4:45
Mazdak14-Mar-04 4:45 
GeneralRe: from a datagrid in one to a textbox in another form Pin
ASGill14-Mar-04 13:44
ASGill14-Mar-04 13:44 
GeneralRe: from a datagrid in one to a textbox in another form Pin
Mazdak14-Mar-04 20:23
Mazdak14-Mar-04 20:23 
GeneralConvert Char[] to string Pin
dabuskol13-Mar-04 20:57
dabuskol13-Mar-04 20:57 
GeneralRe: Convert Char[] to string Pin
Heath Stewart15-Mar-04 3:20
protectorHeath Stewart15-Mar-04 3:20 
GeneralInsert Messages into game chat from c# app Pin
lordjpg13-Mar-04 20:08
lordjpg13-Mar-04 20:08 
GeneralRe: Insert Messages into game chat from c# app Pin
Mazdak14-Mar-04 5:03
Mazdak14-Mar-04 5:03 
GeneralRe: Insert Messages into game chat from c# app Pin
Heath Stewart15-Mar-04 3:37
protectorHeath Stewart15-Mar-04 3:37 
One way is to find the control's HWND (window handle) using assorted native APIs like FindWindow, which you can P/Invoke in C#. If you use an application like Spy++ (that is installed as part of the Platform SDK, which can be installed with VS.NET and is by default), you can find the window class for the chat window. Once you get that HWND, you can call SendMessage (which you must also P/Invoke) using the WM_SETTEXT (0x000c) message (or whatever message the control uses to place text in the buffer). You can find this easily enough using Spy++ and logging the messages posted to the application pump for the control. Of course, this is assuming that you can interact with the application like this. A friend of mine who used to play Everquest some time ago found that older versions of the application 1) didn't run in windowed mode, and 2) would quit if any other window because active. This is no longer true for EQ, but it might be for your game. All you can do is try it.

 

Microsoft MVP, Visual C#
My Articles
GeneralPrinting a web page Pin
draco_iii13-Mar-04 14:12
draco_iii13-Mar-04 14:12 
GeneralRe: Printing a web page Pin
Heath Stewart15-Mar-04 3:30
protectorHeath Stewart15-Mar-04 3:30 
GeneralRe: Printing a web page Pin
Michael Flanakin17-Mar-04 19:00
Michael Flanakin17-Mar-04 19:00 
GeneralRendering successive blanks in HTML Pin
Gary Hyslop at home13-Mar-04 8:31
Gary Hyslop at home13-Mar-04 8:31 
GeneralRe: Rendering successive blanks in HTML Pin
Dave Kreskowiak14-Mar-04 12:26
mveDave Kreskowiak14-Mar-04 12:26 
GeneralRe: Rendering successive blanks in HTML Pin
Heath Stewart15-Mar-04 6:48
protectorHeath Stewart15-Mar-04 6:48 
GeneralFocus Problems in C# Pin
ptrainor13-Mar-04 7:56
ptrainor13-Mar-04 7:56 

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.