Click here to Skip to main content
15,887,683 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRead/Write ListBox Control Pin
Member 227409716-Sep-05 6:15
Member 227409716-Sep-05 6:15 
AnswerRe: Read/Write ListBox Control Pin
David Crow16-Sep-05 7:06
David Crow16-Sep-05 7:06 
GeneralRe: Read/Write ListBox Control Pin
Member 227409716-Sep-05 20:57
Member 227409716-Sep-05 20:57 
GeneralRe: Read/Write ListBox Control Pin
David Crow17-Sep-05 14:54
David Crow17-Sep-05 14:54 
GeneralRe: Read/Write ListBox Control Pin
Member 227409718-Sep-05 6:34
Member 227409718-Sep-05 6:34 
GeneralRe: Read/Write ListBox Control Pin
David Crow19-Sep-05 3:15
David Crow19-Sep-05 3:15 
GeneralRe: Read/Write ListBox Control Pin
Member 227409719-Sep-05 3:30
Member 227409719-Sep-05 3:30 
GeneralRe: Read/Write ListBox Control Pin
David Crow19-Sep-05 3:44
David Crow19-Sep-05 3:44 
Cristian Ionitoiu wrote:
I am not loosing my time with this pin-pong of question-answers of no value.

So don't ask generic questions if you don't want a generic answer.

Cristian Ionitoiu wrote:
If you understood the question from the beginning and know a solution to this reverse-enginering issue then please answer.

What is it exactly that you want(ed) reverse-engineered? This is the first you've mentioned such a requirement.

Cristian Ionitoiu wrote:
The MSDN clearly states that GetText does not work for windows of other threads (and it is tested by me).

Don't tell me that you believe everything that is in MSDN. It makes a nice starting point, but it gets proven wrong quite often.

Cristian Ionitoiu wrote:
If you want a solution to work for all window versions and for all cases you must use SendMessage.

I'll say it slowly. While GetWindowText() is a wrapper around SendMessage(WM_GETTEXT), it only sends the message if the target window belongs to the current process. So, you must use SendMessageTimeout(WM_GETTEXT) instead. The reason for this is it allows applications to call GetWindowText() without hanging if the target window's process is hung. I can't make it any clearer than that.


"One must learn from the bite of the fire to leave it alone." - Native American Proverb


GeneralRe: Read/Write ListBox Control Pin
Member 227409719-Sep-05 20:21
Member 227409719-Sep-05 20:21 
QuestionHow to impliment scrollbar for Child Dialog in maindialog? Pin
G Haranadh16-Sep-05 5:58
G Haranadh16-Sep-05 5:58 
AnswerRe: How to impliment scrollbar for Child Dialog in maindialog? Pin
G Haranadh20-Sep-05 21:53
G Haranadh20-Sep-05 21:53 
Questionreading address 0xabababab ... (win XP vs. win2K ) Pin
Maximilien16-Sep-05 5:20
Maximilien16-Sep-05 5:20 
AnswerRe: reading address 0xabababab ... (win XP vs. win2K ) Pin
Alexander M.,16-Sep-05 7:05
Alexander M.,16-Sep-05 7:05 
QuestionFinding a lib's reference in the solution Pin
-Dy16-Sep-05 5:18
-Dy16-Sep-05 5:18 
AnswerRe: Finding a lib's reference in the solution Pin
Matt Godbolt16-Sep-05 5:26
Matt Godbolt16-Sep-05 5:26 
GeneralRe: Finding a lib's reference in the solution Pin
-Dy16-Sep-05 5:58
-Dy16-Sep-05 5:58 
QuestionFading black the screen Pin
hkulten16-Sep-05 5:13
hkulten16-Sep-05 5:13 
AnswerRe: Fading black the screen Pin
Ravi Bhavnani16-Sep-05 5:19
professionalRavi Bhavnani16-Sep-05 5:19 
GeneralRe: Fading black the screen Pin
hkulten19-Sep-05 0:10
hkulten19-Sep-05 0:10 
QuestionFind unused source code using the debugger Pin
Florian Storck16-Sep-05 4:35
Florian Storck16-Sep-05 4:35 
AnswerRe: Find unused source code using the debugger Pin
Alexander M.,17-Sep-05 11:55
Alexander M.,17-Sep-05 11:55 
GeneralRe: Find unused source code using the debugger Pin
Florian Storck17-Sep-05 12:30
Florian Storck17-Sep-05 12:30 
QuestionStatus of process (Actif or not) Pin
j_s_lacroix16-Sep-05 3:08
j_s_lacroix16-Sep-05 3:08 
AnswerRe: Status of process (Actif or not) Pin
Blake Miller16-Sep-05 4:33
Blake Miller16-Sep-05 4:33 
GeneralRe: Status of process (Actif or not) Pin
Matt Godbolt16-Sep-05 5:15
Matt Godbolt16-Sep-05 5:15 

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.