Click here to Skip to main content
15,885,141 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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
QuestionHow to implement array of strings Pin
yaminisridaran4-Apr-07 22:53
yaminisridaran4-Apr-07 22:53 
AnswerRe: How to implement array of strings Pin
CPallini4-Apr-07 23:03
mveCPallini4-Apr-07 23:03 
GeneralRe: How to implement array of strings Pin
yaminisridaran6-Apr-07 18:29
yaminisridaran6-Apr-07 18:29 
QuestionMemory leak in ADO CreateParameter Pin
voorugonda prashanth4-Apr-07 21:20
voorugonda prashanth4-Apr-07 21:20 
AnswerRe: Memory leak in ADO CreateParameter Pin
Dmitry Khudorozhkov4-Apr-07 23:15
Dmitry Khudorozhkov4-Apr-07 23:15 
QuestionStill need a bit of help please Pin
planetx224-Apr-07 21:14
planetx224-Apr-07 21:14 
AnswerRe: Still need a bit of help please Pin
Nibu babu thomas4-Apr-07 21:27
Nibu babu thomas4-Apr-07 21:27 
GeneralRe: Still need a bit of help please Pin
planetx224-Apr-07 21:31
planetx224-Apr-07 21:31 
GeneralRe: Still need a bit of help please Pin
Nibu babu thomas4-Apr-07 21:35
Nibu babu thomas4-Apr-07 21:35 
GeneralRe: Still need a bit of help please Pin
planetx224-Apr-07 21:55
planetx224-Apr-07 21:55 
GeneralRe: Still need a bit of help please Pin
David Crow5-Apr-07 3:09
David Crow5-Apr-07 3:09 
QuestionWhy does WM_PAINT exclude DrawItem? Pin
zouchao11124-Apr-07 20:51
zouchao11124-Apr-07 20:51 
AnswerRe: Why does WM_PAINT exclude DrawItem? Pin
Nibu babu thomas4-Apr-07 21:37
Nibu babu thomas4-Apr-07 21:37 
QuestionListCtrl header height in report view Pin
Nishad S4-Apr-07 20:20
Nishad S4-Apr-07 20:20 
QuestionRe: ListCtrl header height in report view Pin
Nibu babu thomas4-Apr-07 20:31
Nibu babu thomas4-Apr-07 20:31 
AnswerRe: ListCtrl header height in report view Pin
Nishad S4-Apr-07 20:36
Nishad S4-Apr-07 20:36 
GeneralRe: ListCtrl header height in report view Pin
Nibu babu thomas4-Apr-07 20:54
Nibu babu thomas4-Apr-07 20:54 

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.