SourLemons's Profile
Reputation: 4
Apprentice
- Group:
- Active Members
- Active Posts:
- 65 (0.06 per day)
- Joined:
- 02-August 10
- Profile Views:
- 4,993
- Last Active:
Oct 08 2012 06:32 PM- Currently:
- Offline
Previous Fields
- Country:
- US
- OS Preference:
- Linux
- Favorite Browser:
- FireFox
- Favorite Processor:
- AMD
- Favorite Gaming Platform:
- XBox
- Your Car:
- Cadillac
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: Retrieving the Title of Another window via process name.
Posted 27 Jun 2012
Thanks I found it however..
Sending a string to it is still a problem..
Problem : Getting the title of the window and send a string on it.
Thanks again for the right suggestion on the previous post + problem. -
In Topic: Retrieving the Title of Another window via process name.
Posted 27 Jun 2012
I won't have the same Title, that's the problem.
FindWindowEx and SetWindowText was already tried by me..
Do u have other way to retrieve the varying title via process name?
Would really appreciate it.. -
In Topic: Retrieving the Title of Another window via process name.
Posted 27 Jun 2012
http://www.dreaminco...cle-you-wanted/
Try 1:
//HWND gamewinhandle = FindWindowA(NULL,"Untitled - Notepad"); //HANDLE intptr = FindWindowEx( //std::cout << intptr << std::endl; //if(intptr != 0) //{ // // Process is still active. // MessageBox(hWnd,L"Process is running",L"asd", MB_OK | MB_ICONINFORMATION); //} //else //{ // // Process is dead.. Inform the user. // MessageBox(hWnd, L"Process is dead..",L"Dead", MB_OK | MB_ICONINFORMATION); //}
Try 2:
//HWND handle = FindWindowEx( //GetWindowText(GetForegroundWindow(), (LPWSTR)titole, GetWindowTextLength(GetForegroundWindow()) + 1); //char szName[100] = "notepad.exe"; //int isRunning; //HWND modhandle = GetModuleHandleEx(//GetModuleHandle(L"notepad.exe"); //HWND handle = FindWindowEx(modhandle, NULL, L"Edit", NULL); //HWND gamehandle = FindWindow(NULL, GetWindowModuleFileName( //MessageBox(hWnd, (LPWSTR)titole, L"Amt", MB_OK | MB_ICONINFORMATION); //GetWindowText(hWnd, (LPWSTR)titole, 10); //MessageBox(hWnd, (LPWSTR)titole, L"TEST", MB_OK | MB_ICONINFORMATION);
Try 3:
//TCHAR display[1024]; //LONG lres; //lres = SendMessage(hWnd, WM_GETTEXT, 1024, (LPARAM)display); //MessageBox(hWnd, display,L"t", MB_OK | MB_ICONINFORMATION);
-
In Topic: Array [ Remove + Add ] . How to?
Posted 27 Nov 2011
O.o
It is of no use. -
In Topic: Arrays [ Compare ] How to?
Posted 26 Nov 2011
ohoo.
That explains a lot.
Thank you very much.
My Information
- Member Title:
- D.I.C Head
- Age:
- 17 years old
- Birthday:
- October 10, 1995
- Gender:
-
- Location:
- USA.
- Interests:
-
Anything except Eating..
---------------------------------------------------------
To Learn about Programming : Day and Night.
---------------------------------------------------------
Love to do things on my own as far as possible, when the tryouts reach more than 6 times, I come to D.I.C and ask for help.
---------------------------------------------------------
I hate disturbing Peoples, so if you don't wanna help or got annoyed with my Post; I've nothing else to say. :::Mine ya own Business?
---------------------------------------------------------
I've no interest to answer people's answer :Asking me why a little girl of around age 13 came to huge programming forum rather than go play somewhere?
-----> STFU? It's my life, its my decision.
--------------------------------------------------------- - Full Name:
- xkrixxie
- Years Programming:
- 1
- Programming Languages:
-
</c0de err0r> C# 2010 , VB , C++, PHP and JS. ( Learner )
<c0de err0r>
Contact Information
- E-mail:
- Click here to e-mail me
- Skype:
-
xxkolzinxx
|
|


Find Topics
Find Posts
View Reputation Given





|
Comments
EnvXOwner
13 Jun 2011 - 17:48SourLemons
13 Jun 2011 - 16:28EnvXOwner
10 Jun 2011 - 18:13Anything except Eating.."
Why?
EnvXOwner
10 Jun 2011 - 13:27SourLemons
08 Jun 2011 - 14:21EnvXOwner
06 Jun 2011 - 06:06SourLemons
05 Jun 2011 - 18:04jeremejazz
25 Feb 2011 - 03:45mostyfriedman
20 Nov 2010 - 23:35Sergio Tapia
06 Nov 2010 - 13:21Amrykid
12 Oct 2010 - 14:25