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

C / C++ / MFC

 
GeneralRe: Printing Pin
Subramaniam s.V.27-Feb-06 0:17
Subramaniam s.V.27-Feb-06 0:17 
GeneralRe: Printing Pin
Dennis Gourjii27-Feb-06 0:35
Dennis Gourjii27-Feb-06 0:35 
QuestionCounting number of files Pin
theprinc26-Feb-06 22:42
theprinc26-Feb-06 22:42 
AnswerRe: Counting number of files Pin
Nibu babu thomas26-Feb-06 22:45
Nibu babu thomas26-Feb-06 22:45 
AnswerRe: Counting number of files Pin
Dennis Gourjii26-Feb-06 23:55
Dennis Gourjii26-Feb-06 23:55 
AnswerRe: Counting number of files Pin
ThatsAlok26-Feb-06 23:56
ThatsAlok26-Feb-06 23:56 
AnswerRe: Counting number of files Pin
David Crow27-Feb-06 2:49
David Crow27-Feb-06 2:49 
QuestionDetecting change printer change settings Pin
loneadam200026-Feb-06 21:44
loneadam200026-Feb-06 21:44 
Hi there,

I wish to know when printer settings are changed and which printer (in a users session), in a server environment (win2k3), I know about WM_SETTINGSCHANGE but lparam seems to get only "devices" and not the printer name.

What I can do is enumarate all printers and keep track of their DEVMODE and each time the notification WM_SETTINGSCHANGE happens i will enumrate AGAIN all printers and compare with the previous list of devmodes to check if a setting has chhanged. As you can see this is very inefficient.

In your opinion are there other ways to this, at least detect from which user this change has happened, so to check only his/her printers.

Thanks
Adam
QuestionWhy gethostbyname(hostname) returns NULL ? Pin
fearless stallion26-Feb-06 20:59
fearless stallion26-Feb-06 20:59 
AnswerRe: Why gethostbyname(hostname) returns NULL ? Pin
Nibu babu thomas26-Feb-06 21:03
Nibu babu thomas26-Feb-06 21:03 
GeneralRe: Why gethostbyname(hostname) returns NULL ? Pin
fearless stallion26-Feb-06 21:22
fearless stallion26-Feb-06 21:22 
Questionsetting focus in list-view controls Pin
Waldermort26-Feb-06 20:34
Waldermort26-Feb-06 20:34 
AnswerRe: setting focus in list-view controls Pin
Naveen26-Feb-06 20:54
Naveen26-Feb-06 20:54 
GeneralRe: setting focus in list-view controls Pin
Waldermort26-Feb-06 23:48
Waldermort26-Feb-06 23:48 
AnswerRe: setting focus in list-view controls Pin
Naveen27-Feb-06 0:00
Naveen27-Feb-06 0:00 
GeneralRe: setting focus in list-view controls Pin
Dennis Gourjii27-Feb-06 0:01
Dennis Gourjii27-Feb-06 0:01 
GeneralRe: setting focus in list-view controls Pin
Nibu babu thomas27-Feb-06 0:11
Nibu babu thomas27-Feb-06 0:11 
GeneralRe: setting focus in list-view controls Pin
Waldermort27-Feb-06 0:58
Waldermort27-Feb-06 0:58 
GeneralRe: setting focus in list-view controls Pin
Nibu babu thomas27-Feb-06 1:36
Nibu babu thomas27-Feb-06 1:36 
GeneralRe: setting focus in list-view controls Pin
Waldermort27-Feb-06 1:56
Waldermort27-Feb-06 1:56 
AnswerRe: setting focus in list-view controls Pin
David Crow27-Feb-06 2:52
David Crow27-Feb-06 2:52 
GeneralRe: setting focus in list-view controls Pin
Waldermort27-Feb-06 3:16
Waldermort27-Feb-06 3:16 
QuestionAbout the system menuitem "Eject"?(Shell Programming) Pin
Syouki_kou26-Feb-06 19:32
Syouki_kou26-Feb-06 19:32 
QuestionThird Party Controls Pin
swaapu26-Feb-06 18:58
swaapu26-Feb-06 18:58 
AnswerRe: Third Party Controls Pin
Nibu babu thomas26-Feb-06 19:14
Nibu babu thomas26-Feb-06 19:14 

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.