Home > Software engineering >  Windows development in a window of the edit control inside pick up another window handle
Windows development in a window of the edit control inside pick up another window handle

Time:10-05

I have written an MFC application, A window with an edit control controls, want to pass the first click the edit control controls, right-click again another program window, B to B window title back to A window of the edit control, how can I achieve?

CodePudding user response:

No one is

CodePudding user response:

Right click the make a mark, b window check mark, check to set the display, clear mark

CodePudding user response:

Can send messages between the two dialog data

CodePudding user response:

WindowFromPoint access window handle
SetDlgItemText update such as edit box

CodePudding user response:

WindowFromPoint can realize, with Spy++ principle

CodePudding user response:

Two programs separate processing corresponding to the mouse operation, and then, communication data exchange messaging can be used to process data

CodePudding user response:

It is recommended to use software Spy4Win
  • Related