Click here to Skip to main content
15,889,853 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: SendMessageCallback() - what is execution context of callback function Pin
CPallini8-May-14 0:04
mveCPallini8-May-14 0:04 
GeneralRe: SendMessageCallback() - what is execution context of callback function Pin
Derell Licht8-May-14 5:02
professionalDerell Licht8-May-14 5:02 
QuestionCompiling C and C++ files together Pin
AmbiguousName7-May-14 6:59
AmbiguousName7-May-14 6:59 
AnswerRe: Compiling C and C++ files together Pin
Richard MacCutchan7-May-14 7:15
mveRichard MacCutchan7-May-14 7:15 
AnswerRe: Compiling C and C++ files together Pin
leon de boer15-May-14 4:44
leon de boer15-May-14 4:44 
QuestionWSACleanup delays when called how can I get around this? Pin
Member 43367557-May-14 6:18
Member 43367557-May-14 6:18 
AnswerRe: WSACleanup delays when called how can I get around this? Pin
Gisle Vanem8-May-14 23:30
Gisle Vanem8-May-14 23:30 

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.