Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionClick on CStatic Pin
baerten29-Jan-07 1:58
baerten29-Jan-07 1:58 
AnswerRe: Click on CStatic Pin
Don Box29-Jan-07 2:22
Don Box29-Jan-07 2:22 
AnswerRe: Click on CStatic Pin
prasad_som29-Jan-07 2:29
prasad_som29-Jan-07 2:29 
JokeThanks you two Pin
baerten29-Jan-07 4:05
baerten29-Jan-07 4:05 
QuestionRe: Click on CStatic Pin
Hamid_RT29-Jan-07 18:26
Hamid_RT29-Jan-07 18:26 
AnswerRe: Click on CStatic Pin
baerten29-Jan-07 20:48
baerten29-Jan-07 20:48 
GeneralRe: Click on CStatic Pin
Hamid_RT30-Jan-07 18:14
Hamid_RT30-Jan-07 18:14 
QuestionSHGetFolderPath() for *another* user Pin
Taka Muraoka29-Jan-07 1:48
Taka Muraoka29-Jan-07 1:48 
I need to be able to find the special folders (e.g. My Documents) for a user other than the one currently logged on.

The best I've been able to come up with so far is to use NetUserEnum() to get a list of all the users on the machine and check the HKEY_USERS\***\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders registry key (where *** is the user's SID).

Peeking into the registry like this is a bit kludgy so is there a better way?




0 bottles of beer on the wall, 0 bottles of beer, you take 1 down, pass it around, 4294967295 bottles of beer on the wall.

Awasu 2.2.4 [^]: A free RSS/Atom feed reader with support for Code Project.

AnswerRe: SHGetFolderPath() for *another* user Pin
Don Box29-Jan-07 2:26
Don Box29-Jan-07 2:26 
GeneralRe: SHGetFolderPath() for *another* user Pin
Taka Muraoka29-Jan-07 2:31
Taka Muraoka29-Jan-07 2:31 
AnswerRe: SHGetFolderPath() for *another* user Pin
David Crow29-Jan-07 4:56
David Crow29-Jan-07 4:56 
GeneralRe: SHGetFolderPath() for *another* user Pin
Taka Muraoka29-Jan-07 5:33
Taka Muraoka29-Jan-07 5:33 
GeneralRe: SHGetFolderPath() for *another* user Pin
David Crow29-Jan-07 7:12
David Crow29-Jan-07 7:12 
GeneralRe: SHGetFolderPath() for *another* user Pin
Taka Muraoka29-Jan-07 7:20
Taka Muraoka29-Jan-07 7:20 
QuestionRunning Application in Memory Pin
thomas_tom9929-Jan-07 1:44
thomas_tom9929-Jan-07 1:44 
AnswerRe: Running Application in Memory Pin
Mark Salsbery29-Jan-07 7:19
Mark Salsbery29-Jan-07 7:19 
GeneralRe: Running Application in Memory Pin
thomas_tom9929-Jan-07 21:10
thomas_tom9929-Jan-07 21:10 
GeneralRe: Running Application in Memory Pin
Mark Salsbery30-Jan-07 6:21
Mark Salsbery30-Jan-07 6:21 
GeneralRe: Running Application in Memory Pin
thomas_tom9931-Jan-07 21:05
thomas_tom9931-Jan-07 21:05 
GeneralRe: Running Application in Memory Pin
Mark Salsbery1-Feb-07 7:30
Mark Salsbery1-Feb-07 7:30 
AnswerRe: Running Application in Memory Pin
Hamid_RT29-Jan-07 18:22
Hamid_RT29-Jan-07 18:22 
GeneralRe: Running Application in Memory Pin
thomas_tom9929-Jan-07 21:11
thomas_tom9929-Jan-07 21:11 
QuestionClick and Double-click problem Pin
Rostfrei29-Jan-07 1:40
Rostfrei29-Jan-07 1:40 
AnswerRe: Click and Double-click problem Pin
Michael Dunn29-Jan-07 7:11
sitebuilderMichael Dunn29-Jan-07 7:11 
QuestionHow to get the pixel data from video stream window> Pin
baby_fong8229-Jan-07 1:36
baby_fong8229-Jan-07 1:36 

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.