Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can update edit control data of an executing
application from other application?

Answers were Sorted based on User's Feedback



How can update edit control data of an executing application from other application?..

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

How can update edit control data of an executing application from other application?..

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

How can update edit control data of an executing application from other application?..

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

Post New Answer

More MFC Interview Questions

Given two processes, how can they share memory?

2 Answers   Microsoft,


what is the difference between SDI and MDI

15 Answers   CMC, HCL, Siemens,


What is the use of UpdateData funciton ?

7 Answers  


1) Enable or disable a Cancel button at run time?

1 Answers   HCL,


1)How to change the size of a button at run time ?

1 Answers  


How can server communicate with more than one client

2 Answers   Invensys,


Whats is DDX & DDV in MFC?

1 Answers   HCL,


Psychic Window Technique

2 Answers   E Logic, Wild Net,


What is the difference between Synchronous sockets and asynchronous sockets?

2 Answers  


how u can move CDC pointer to one line in cview?

2 Answers  


how many types of classes are ther,what are that

7 Answers   L&T,


List out the parameters of WinMain Function.

2 Answers   Mphasis,


Categories