Click here to Skip to main content
15,918,049 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: help ...fopen() in visual studio 2005 Pin
lavy28835-Apr-07 0:53
lavy28835-Apr-07 0:53 
GeneralRe: help ...fopen() in visual studio 2005 Pin
lavy28835-Apr-07 0:57
lavy28835-Apr-07 0:57 
GeneralRe: help ...fopen() in visual studio 2005 Pin
toxcct5-Apr-07 0:59
toxcct5-Apr-07 0:59 
GeneralRe: help ...fopen() in visual studio 2005 Pin
lavy28835-Apr-07 1:01
lavy28835-Apr-07 1:01 
GeneralRe: help ...fopen() in visual studio 2005 Pin
toxcct5-Apr-07 1:03
toxcct5-Apr-07 1:03 
GeneralRe: help ...fopen() in visual studio 2005 Pin
lavy28835-Apr-07 1:12
lavy28835-Apr-07 1:12 
GeneralRe: help ...fopen() in visual studio 2005 Pin
cp98765-Apr-07 1:17
cp98765-Apr-07 1:17 
GeneralRe: help ...fopen() in visual studio 2005 [modified] Pin
toxcct5-Apr-07 2:21
toxcct5-Apr-07 2:21 
GeneralRe: SPAM Pin
David Crow5-Apr-07 2:53
David Crow5-Apr-07 2:53 
GeneralRe: SPAM Pin
Mark Salsbery5-Apr-07 8:53
Mark Salsbery5-Apr-07 8:53 
GeneralRe: SPAM Pin
ThatsAlok22-Apr-07 19:37
ThatsAlok22-Apr-07 19:37 
QuestionWriteProfileString Pin
Kiran Pinjala4-Apr-07 23:33
Kiran Pinjala4-Apr-07 23:33 
AnswerRe: WriteProfileString Pin
Rajesh R Subramanian4-Apr-07 23:37
professionalRajesh R Subramanian4-Apr-07 23:37 
GeneralRe: WriteProfileString Pin
Kiran Pinjala5-Apr-07 0:19
Kiran Pinjala5-Apr-07 0:19 
GeneralRe: WriteProfileString Pin
Rajesh R Subramanian5-Apr-07 0:28
professionalRajesh R Subramanian5-Apr-07 0:28 
GeneralRe: WriteProfileString Pin
Kiran Pinjala5-Apr-07 1:16
Kiran Pinjala5-Apr-07 1:16 
AnswerRe: WriteProfileString Pin
PS@Codeproj5-Apr-07 0:00
PS@Codeproj5-Apr-07 0:00 
GeneralRe: WriteProfileString Pin
Kiran Pinjala5-Apr-07 0:12
Kiran Pinjala5-Apr-07 0:12 
GeneralRe: WriteProfileString Pin
Rajesh R Subramanian5-Apr-07 0:32
professionalRajesh R Subramanian5-Apr-07 0:32 
GeneralRe: WriteProfileString Pin
PS@Codeproj5-Apr-07 0:50
PS@Codeproj5-Apr-07 0:50 
GeneralRe: WriteProfileString Pin
Rajesh R Subramanian5-Apr-07 1:09
professionalRajesh R Subramanian5-Apr-07 1:09 
GeneralRe: WriteProfileString Pin
TpB11-May-10 6:52
TpB11-May-10 6:52 
QuestionRe: WriteProfileString Pin
Kiran Pinjala5-Apr-07 0:25
Kiran Pinjala5-Apr-07 0:25 
AnswerRe: WriteProfileString Pin
Rajesh R Subramanian5-Apr-07 0:34
professionalRajesh R Subramanian5-Apr-07 0:34 
QuestionDisable pause/break key in console application Pin
yccheok4-Apr-07 23:17
yccheok4-Apr-07 23:17 
Hi all,

I would like to disable the 'Pause/Break' key in a console
application. Normally, pressing the 'Pause' key halts the
application's execution. However, this may lead to undesirable
processing gaps in my system. Hence, I would like to disable/ break
key in my console application.

How can I do so?

I tried SetConsoleCtrlHandler. It only able to capture the following events, not "pause" event. Do I need to do it in OS level?

CTRL_C_EVENT
CTRL_BREAK_EVENT
CTRL_CLOSE_EVENT
CTRL_LOGOFF_EVENT
CTRL_SHUTDOWN_EVENT

Thank you.

cheok

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.