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 22-Apr-2008, 04:11
sankari27 sankari27 is offline
New Member
 
Join Date: Dec 2007
Posts: 2
sankari27 is on a distinguished road

to close Console using close button crash


Hello,

I have a dialog where pressing a button calls to AllocConsole()
showing a console a pressing in another button on my dialog close the console calling FreeConsole(). Everything works fine.
But if the console is closed using its close button then the next error appears:
"user breakpoint called from code at 0x7c901230".

So a possible solution should be disable the close button at the console.

Is anybody knows what to do to avoid the error message when closing the console via close button (x). Or how to disable such a button.

Thanks in advance.

My best regards.
 
 

Recent GIDBlogAccepted for Ph.D. program by crystalattice

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
Change the caption on button when clicked drewdaman MS Visual C++ / MFC Forum 5 31-May-2009 21:56
win32 CreateProcess(), STARTUPINFO not working well for 98 console Howard_L C Programming Language 0 10-Aug-2007 00:33
need help with a console menu system BullBuchanan C++ Forum 6 20-Aug-2006 15:46
Group Round buttons (radio buttons) toaster FLTK Forum 1 03-Jan-2006 07:57
Help! Some basal questions about MFC xutingnjupt MS Visual C++ / MFC Forum 1 05-Dec-2004 04:38

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 21:27.


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