GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 30-Jun-2017, 07:27
SAP_7 SAP_7 is offline
New Member
 
Join Date: Jun 2017
Posts: 1
SAP_7 is on a distinguished road
Post

MFC Child Dialog set the Focus to ActiveWindow


Hi Team,

please help me on how to set the focus for the Child Dialog Window
I have CDialog. In this i have couple of Tool bar [ File, Edit, Options, Tool,help]

Out of all these option,I clicked on Tool->Display panel.

Now Display Panel small Dialog pops-up.In this window there are static controls are available.

(Reset,Draw buttons). when I hover the cursor on the Reset button "Tool-tip" should display.It's happening.

In the "Display panel" dialog i have written the code SetActiveWindow function to activate the dialog. Now if i minimize and maximize the window,

the main Dialog is visible.But the "Display Panel" is hidden. This is where i am facing the problem. In this case, SetActiveWindow function is applied to the parent window.But i need to set child window as active window.



Regards,

Senthil
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[TUTORIAL] Calling an external program in C (Linux) dsmith C Programming Language 4 22-Apr-2005 13:30
Second dialog doesn't appear Frandy MS Visual C++ / MFC Forum 10 20-Oct-2004 05:53
How to let Enter-key-press message goes to ActiveX control on dialog Yuri MS Visual C++ / MFC Forum 3 08-Sep-2004 07:40
apache php no longer working (MX??) XP?? ChicoMendez Apache Web Server Forum 5 30-Aug-2004 10:51
controling dialog objects & multiple source files omills MS Visual C++ / MFC Forum 0 14-Jul-2004 23:30

Network Sites: GIDNetwork · GIDApp · GIDBlog · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 01:33.


vBulletin, Copyright © 2000 - 2017, Jelsoft Enterprises Ltd.