Click here to Skip to main content
15,919,422 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to IP-Forwarding for Man In the Middle Attack Pin
Gisle Vanem8-May-14 23:25
Gisle Vanem8-May-14 23:25 
Questionhow to speed up data transfer between client and server in Winsock Pin
Tú Xương7-May-14 21:26
Tú Xương7-May-14 21:26 
AnswerRe: how to speed up data transfer between client and server in Winsock Pin
Richard MacCutchan7-May-14 22:13
mveRichard MacCutchan7-May-14 22:13 
GeneralRe: how to speed up data transfer between client and server in Winsock Pin
pasztorpisti8-May-14 1:43
pasztorpisti8-May-14 1:43 
GeneralRe: how to speed up data transfer between client and server in Winsock Pin
Richard MacCutchan8-May-14 2:01
mveRichard MacCutchan8-May-14 2:01 
GeneralRe: how to speed up data transfer between client and server in Winsock Pin
Munchies_Matt8-May-14 5:18
Munchies_Matt8-May-14 5:18 
AnswerRe: how to speed up data transfer between client and server in Winsock Pin
CPallini7-May-14 22:55
mveCPallini7-May-14 22:55 
AnswerRe: how to speed up data transfer between client and server in Winsock Pin
Munchies_Matt8-May-14 5:17
Munchies_Matt8-May-14 5:17 
AnswerRe: how to speed up data transfer between client and server in Winsock Pin
ahmad_ali16-May-14 5:48
ahmad_ali16-May-14 5:48 
QuestionExpression in C Pin
himanshuchawla43937-May-14 15:14
himanshuchawla43937-May-14 15:14 
AnswerRe: Expression in C Pin
Richard MacCutchan7-May-14 22:10
mveRichard MacCutchan7-May-14 22:10 
QuestionHow to check a DateTimeCtrl field is dirty or not in MFC Pin
sma123#7-May-14 12:47
sma123#7-May-14 12:47 
GeneralRe: How to check a DateTimeCtrl field is dirty or not in MFC Pin
Richard MacCutchan7-May-14 22:08
mveRichard MacCutchan7-May-14 22:08 
AnswerRe: How to check a DateTimeCtrl field is dirty or not in MFC Pin
David Crow9-May-14 3:35
David Crow9-May-14 3:35 
QuestionScreensaver: keyboard and mouse hook and kill screensaver Pin
Drugodrf7-May-14 7:34
Drugodrf7-May-14 7:34 
In a application i writing, i want:
- read if the user enabled system screen saver
- read screen saver timeout
- disable screen saver
- the computer is connected to a external device: when this device is "sleeping", i starts to counts time and when it arrives to screen saver timeout, starts the screen saver.
Until here i don't have problems: they start from here:
- if the user move mouse or hit key, screen saver has to stop: is used this:
http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/3d9bb875-8e79-4c1e-b2ef-b24503e6abbd/how-to-create-a-keyboard-and-mouse-hook-in-visual-c-2005?forum=windowssdk[^]
but it works only if the focus is on my application, don't works if focus it's on another window.
- when the device "wake-up", the screen saver have to stop: i used this:
http://msdn.microsoft.com/en-us/magazine/cc301462.aspx[^]
but it's works only the first time: if the screen saver starts another time it don't works no more; i have to exit and starts again my application and then it works again only one time.

Thanks

Drugo
AnswerRe: Screensaver: keyboard and mouse hook and kill screensaver Pin
Drugodrf9-May-14 11:20
Drugodrf9-May-14 11:20 
GeneralRe: Screensaver: keyboard and mouse hook and kill screensaver Pin
Drugodrf10-May-14 5:18
Drugodrf10-May-14 5:18 
QuestionDocumentProperties() cause a First-chance exception Pin
Drugodrf7-May-14 7:17
Drugodrf7-May-14 7:17 
QuestionRe: DocumentProperties() cause a First-chance exception Pin
Richard MacCutchan7-May-14 22:06
mveRichard MacCutchan7-May-14 22:06 
AnswerRe: DocumentProperties() cause a First-chance exception Pin
Drugodrf7-May-14 23:13
Drugodrf7-May-14 23:13 
GeneralRe: DocumentProperties() cause a First-chance exception Pin
Richard MacCutchan7-May-14 23:21
mveRichard MacCutchan7-May-14 23:21 
GeneralRe: DocumentProperties() cause a First-chance exception Pin
Drugodrf9-May-14 2:04
Drugodrf9-May-14 2:04 
GeneralRe: DocumentProperties() cause a First-chance exception Pin
Richard MacCutchan9-May-14 2:19
mveRichard MacCutchan9-May-14 2:19 
GeneralRe: DocumentProperties() cause a First-chance exception Pin
Drugodrf9-May-14 3:03
Drugodrf9-May-14 3:03 
QuestionSendMessageCallback() - what is execution context of callback function Pin
Derell Licht7-May-14 7:07
professionalDerell Licht7-May-14 7:07 

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.