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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change class name of a dialog

Status
Not open for further replies.

dima2

Programmer
Jan 20, 2002
85
LB
hi,

actually what I'm trying to do is detect if applicationA is running and end it.
From applicationB I need to call FindWindow providing the class name of the main window of applicationA, get it's handle and post a WM_DESTROY message.

Therefore I need to register my class with a specific name.
How can I change the name of the class that MFC generated?
and where should this be done? in OnInitDialog, OnInitInstance...???

thanks for your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top