Click here to Skip to main content
15,913,279 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralLarge fonts in Windows XP Pin
Navin14-Jul-03 8:04
Navin14-Jul-03 8:04 
GeneralCommunicating C++ and C# Pin
pdunn14-Jul-03 7:45
pdunn14-Jul-03 7:45 
GeneralModeless windows Pin
Jay Hova14-Jul-03 7:40
Jay Hova14-Jul-03 7:40 
GeneralRe: Modeless windows Pin
Joaquín M López Muñoz14-Jul-03 10:23
Joaquín M López Muñoz14-Jul-03 10:23 
GeneralRe: Modeless windows Pin
Toni7814-Jul-03 19:30
Toni7814-Jul-03 19:30 
GeneralRe: Modeless windows Pin
Jay Hova15-Jul-03 1:19
Jay Hova15-Jul-03 1:19 
GeneralRe: Modeless windows Pin
Toni7815-Jul-03 15:50
Toni7815-Jul-03 15:50 
GeneralRe: Modeless windows Pin
Jay Hova15-Jul-03 1:31
Jay Hova15-Jul-03 1:31 
Hi,

First off, thanks for the suggestions and help.

I tried both and they did not work for what I want. Maybe I should explain better.

I have one window called stats and one window called config. Each having their own menu option to display them. If I constantly use the menu item to bring up stats it works fine with the code I wrote, continuously setting focus to the opened window instead of creating a new one.

My problem is when i bring up the config window. When "ok" is hit on my config window it should open the stat window if it is closed or just set focus to it. No matter if i display the stats window and the bring up the config window, or if i just repeatedly bring up the config window it will continue to make new instances of the stats window everytime config is brought up.

Can someone help me solve this problem so that only one stats window is displayed no matter how i use the menu?

THANKS IN ADVANCE!
Any help would be appreciated, this is beginning to drive me nuts.
GeneralRe: Modeless windows Pin
mlsteeves16-Jul-03 6:16
mlsteeves16-Jul-03 6:16 
GeneralCEdit carriage returns Pin
scontapay14-Jul-03 7:23
scontapay14-Jul-03 7:23 
GeneralRe: CEdit carriage returns Pin
valikac14-Jul-03 7:32
valikac14-Jul-03 7:32 
GeneralRe: CEdit carriage returns Pin
Shay Harel14-Jul-03 7:37
Shay Harel14-Jul-03 7:37 
GeneralRe: CEdit carriage returns Pin
scontapay14-Jul-03 7:48
scontapay14-Jul-03 7:48 
GeneralRe: CEdit carriage returns Pin
Shay Harel14-Jul-03 7:50
Shay Harel14-Jul-03 7:50 
GeneralRe: CEdit carriage returns Pin
scontapay14-Jul-03 7:52
scontapay14-Jul-03 7:52 
GeneralRe: CEdit carriage returns Pin
John R. Shaw14-Jul-03 7:46
John R. Shaw14-Jul-03 7:46 
GeneralRe: CEdit carriage returns Pin
scontapay14-Jul-03 7:49
scontapay14-Jul-03 7:49 
GeneralRe: CEdit carriage returns Pin
John R. Shaw14-Jul-03 8:06
John R. Shaw14-Jul-03 8:06 
GeneralRe: CEdit carriage returns Pin
Shog914-Jul-03 9:32
sitebuilderShog914-Jul-03 9:32 
GeneralRe: CEdit carriage returns Pin
scontapay14-Jul-03 9:35
scontapay14-Jul-03 9:35 
GeneralRe: CEdit carriage returns Pin
David Crow14-Jul-03 7:55
David Crow14-Jul-03 7:55 
GeneralRe: CEdit carriage returns Pin
scontapay14-Jul-03 7:56
scontapay14-Jul-03 7:56 
GeneralRe: CEdit carriage returns Pin
David Crow14-Jul-03 8:05
David Crow14-Jul-03 8:05 
GeneralRe: CEdit carriage returns Pin
scontapay14-Jul-03 8:10
scontapay14-Jul-03 8:10 
GeneralRe: CEdit carriage returns Pin
David Crow14-Jul-03 8:15
David Crow14-Jul-03 8:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.