How can update edit control data of an executing
application from other application?
Answers were Sorted based on User's Feedback
Answer / anup
First, need to find the handle of the Control by using some API like EnumWindows and enumerrating all windows and checking for the text of the window by GetWindowTExt.
Once, handle of the target control has been identified, SendMessage can be used to send appropriate message to the control. like WM_SETTEXT can be sent to change text of window, etc...
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / bhaskaraiah
To get/set the data of edit control of another running
application you need to get the control ID of the edit
control.This can be obtained by using the "spy++" tool of
visula studio tools.Then use PostMessage to send WM_SETTEXT
meesage to it.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / saurabh shakya
THERE IS A FUNCTION CWnd::UpdateData()
which update the control data ,the argument paas into it is bool type if it is true then it updates controls from the data members and if it is false then update from the data members to the dialog controls
| Is This Answer Correct ? | 1 Yes | 7 No |
What is the range of intensity of RGB
What interface must be supported by an ActiveX control?
What is the use of OninitDialog ?
1)how to Display the File Dialog Box, in MFC ?
Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE. ?
How can i implement the dynamic menus in MFC plz give the code
1.Get string1,string2,string3 1.add string1 and 2,string1 and 3. 2.replace vowels with T 3.count number of T. 4.remove T 5.COPY string1 to stringf. 6.restore string1. print the following 1.Number of T 2.StringF 3.string1+string2+string3 Use pointers and functions
How to update windows title bar dynamically?
Hi can anyone explain about the synchronization objects types and where we are using in the code.
What is the difference between Extension DLL and Regular DLL?
WHAT IS DIFFERENT BETWEN RELEASE MODE & DEBUGGING MODE
4 Answers Google, Microsoft, TCS,
What is the difference between OnInitialUpdate and OnUpdate?