Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to determine which button was clicked

Status
Not open for further replies.

Lorey

Programmer
Feb 16, 2003
88
SG
Hi!

Im using postmessage to automatically clicked a certain button IDC_EDIT_TEXT ( AfxGetMainWnd()->PostMessage(WM_COMMAND,IDC_EDIT_TEXT); ) which will open a new dialog.

But how will i know which button was clicked inside this new dialog?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top