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

How to tell witch MDI Child has focus

Status
Not open for further replies.

Doom2pro

Programmer
Jul 2, 2004
6
0
0
US
Hello, I have tried to use ActiveMDIChild but the problem is when two or more MDI Children are visible (not minimized) and only one has focus ActiveMDIChild doesnt know witch one is active, I need to know how to tell what MDIChild has focus (Titlebar is blue). If anyone knows how this is done please reply :)

Thanks in advance,
-Richard
 
try using the MDIChildren
something like this

MDIChildren[0]->Caption = "anything"; // zero is the active MDIChild, 1 the next behind the active and so on...



--- LastCyborg ---
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top