Click here to Skip to main content
15,898,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionwhat should be in ::EndDialog(m_hWnd, nResult); Pin
valerie9916-Sep-05 7:07
valerie9916-Sep-05 7:07 
AnswerRe: what should be in ::EndDialog(m_hWnd, nResult); Pin
David Crow16-Sep-05 8:11
David Crow16-Sep-05 8:11 
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 
Cristian Ionitoiu wrote:
GetWindowText would not work for windows form other applications.

Sure it would.

Cristian Ionitoiu wrote:
For this one has to use SendMessage with the apropriate Message type.

Just what is it that you think GetWindowText() does? It sends a WM_GETTEXT message to the target window.

Cristian Ionitoiu wrote:
However, if the control is not standard then it will nto answer to standard messages, so one needs another way to "get inside it" and extract the info.

You just answered your own question. Non-standard controls are not guaranteed to respond to standard messages.


"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 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 
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 

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.