Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to make a popup window like this in a SDI application. If I click the toolbar button, a window will show but don't influence the main window's focus
I try setting style to Child and set its parent to MainFrame Window but it only show the part in MainFrame area (a small part in the toolbar).
If I show its as a modeless dialog, the main window lose focus.
I don't know how to do that. Can you help me ? Thanks very much
Posted
Updated 3-Jun-10 21:52pm
v2

Can anyone give me an answer ? Thanks very much
 
Share this answer
 
You may give a try with "div" element instead of new window. Make the look and feel of the div like "window" using appropriate stysheet.

If you use div then your application will not loose focus which seems your main concern. Hence current UI design will be inside the div now(div will work as a container)

N.B: Sorry guys. It was a fault in my understanding. I am updating it here after Mr. Richard MacCutchan pointed out that this question were related to C and not HTML. I am not deleting it as it would remind me to double check my understanding before I am posting a reply.

I apologise and please ignore my post.
 
Share this answer
 
v2
Comments
Richard MacCutchan 4-Jun-10 4:24am    
This is a C programming question, not HTML.
Arindam Tewary 4-Jun-10 7:26am    
Thanks Mr. Richard MacCutchan for pointing it out correctly. I apologise and please ignore my post.
shakti gupta 4-Jun-10 14:18pm    
Reason for my vote of 1
ha ha ha gadha kahin ka
Arindam Tewary 4-Jun-10 16:08pm    
Mr. Shakti Gupta, please abstain from abusing. The mistake was unintentional. Please try to contribute in the website in a constructive way. I am hurt by your comment.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900