Click here to Skip to main content
15,884,176 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Setting the text in an edit box of another application Pin
Jackson201010-Jul-10 18:37
Jackson201010-Jul-10 18:37 
GeneralRe: Setting the text in an edit box of another application Pin
enhzflep11-Jul-10 1:19
enhzflep11-Jul-10 1:19 
GeneralRe: Setting the text in an edit box of another application Pin
Still learning how to code11-Jul-10 7:20
Still learning how to code11-Jul-10 7:20 
AnswerRe: Setting the text in an edit box of another application Pin
Luc Pattyn11-Jul-10 11:49
sitebuilderLuc Pattyn11-Jul-10 11:49 
GeneralRe: Setting the text in an edit box of another application Pin
Still learning how to code11-Jul-10 12:11
Still learning how to code11-Jul-10 12:11 
GeneralRe: Setting the text in an edit box of another application Pin
Luc Pattyn11-Jul-10 12:48
sitebuilderLuc Pattyn11-Jul-10 12:48 
GeneralRe: Setting the text in an edit box of another application Pin
Luc Pattyn11-Jul-10 13:37
sitebuilderLuc Pattyn11-Jul-10 13:37 
GeneralRe: Setting the text in an edit box of another application Pin
Still learning how to code11-Jul-10 21:45
Still learning how to code11-Jul-10 21:45 
>>Param holds the pointer to the text, and is assumed to be a valid pointer within the process' address space. It can not be an address in some other process.<<

Thanks for your patience, Luc !!
So that I can just FULLY understand this, let me describe it back to you with a few extra words (!!):-

The issuer of SendMessage() holds the variable containing the text (my app, in this case), and lParam is set up containing an address to this variable (within the senders address space ?). The receiver of SendMessage()(the 3rd party app, with which i'm endeavouring to interact) has access to lParam which contains the address of the original text, but as I'm alluding to above, is this address within the sender's address space ? I suspect that somewhere within the process, the text is COPIED to some global address space and it is THIS address that is contained within lParam. I can't see how else the process can work whilst protecting each app's memory space.

I await your words of wisdom, and to be "sorted out" !!

Again, thanks for your patience !

Doug
QuestionUrlDownloadToFile() equivalent for linux? Pin
ALLERSLIT10-Jul-10 9:59
ALLERSLIT10-Jul-10 9:59 
AnswerRe: UrlDownloadToFile() equivalent for linux? Pin
markkuk10-Jul-10 11:05
markkuk10-Jul-10 11:05 
GeneralRe: UrlDownloadToFile() equivalent for linux? Pin
ALLERSLIT10-Jul-10 12:26
ALLERSLIT10-Jul-10 12:26 
AnswerRe: UrlDownloadToFile() equivalent for linux? Pin
Aescleal10-Jul-10 20:06
Aescleal10-Jul-10 20:06 
AnswerRe: UrlDownloadToFile() equivalent for linux? Pin
Moak11-Jul-10 6:01
Moak11-Jul-10 6:01 
QuestionWinMain loop pauses when the application window is grabbed by mouse and resized? Pin
KellyR10-Jul-10 8:31
KellyR10-Jul-10 8:31 
AnswerRe: WinMain loop pauses when the application window is grabbed by mouse and resized? Pin
Emilio Garavaglia10-Jul-10 23:52
Emilio Garavaglia10-Jul-10 23:52 
AnswerRe: WinMain loop pauses when the application window is grabbed by mouse and resized? Pin
Code-o-mat11-Jul-10 1:06
Code-o-mat11-Jul-10 1:06 
QuestionClass Information Pin
Fareed Rizkalla10-Jul-10 1:04
Fareed Rizkalla10-Jul-10 1:04 
AnswerRe: Class Information Pin
enhzflep10-Jul-10 1:11
enhzflep10-Jul-10 1:11 
AnswerRe: Class Information Pin
Jackson201010-Jul-10 18:41
Jackson201010-Jul-10 18:41 
QuestionError during print Pin
ashtwin9-Jul-10 20:48
ashtwin9-Jul-10 20:48 
QuestionRe: Error during print Pin
CPallini10-Jul-10 0:45
mveCPallini10-Jul-10 0:45 
AnswerRe: Error during print Pin
ashtwin14-Jul-10 23:19
ashtwin14-Jul-10 23:19 
AnswerRe: Error during print Pin
ashtwin15-Jul-10 2:47
ashtwin15-Jul-10 2:47 
QuestionHow to save IHTMLELEMENT of Tag IMG Pin
voo doo129-Jul-10 20:47
voo doo129-Jul-10 20:47 
AnswerRe: How to save IHTMLELEMENT of Tag IMG Pin
shichangone9-Jul-10 21:49
shichangone9-Jul-10 21:49 

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.