Click here to Skip to main content
15,896,207 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to monitor exe and dll interactions? Pin
George_George26-Oct-07 21:20
George_George26-Oct-07 21:20 
QuestionGetting active and past local users of system Pin
Subhash Karemore25-Oct-07 22:56
Subhash Karemore25-Oct-07 22:56 
QuestionRe: Getting active and past local users of system Pin
David Crow26-Oct-07 2:58
David Crow26-Oct-07 2:58 
AnswerRe: Getting active and past local users of system Pin
Subhash Karemore1-Nov-07 4:14
Subhash Karemore1-Nov-07 4:14 
GeneralRe: Getting active and past local users of system Pin
David Crow1-Nov-07 4:22
David Crow1-Nov-07 4:22 
QuestionGetting PID of process of network sockets(TCP, UDP) on windows 2000 Pin
Subhash Karemore25-Oct-07 22:53
Subhash Karemore25-Oct-07 22:53 
Questiondirectories in combo box Pin
guru moorthy.k25-Oct-07 22:19
guru moorthy.k25-Oct-07 22:19 
AnswerRe: directories in combo box Pin
Peter Weyzen25-Oct-07 22:24
Peter Weyzen25-Oct-07 22:24 
From the MSDN[^]

It looks like you just call it with a path and the ID of your control. It seems to know how to populate it.

here's a code sample from the MSDN

// If pDialog points to a CDialog object with a combo box<br />
// with the identifier IDC_COMBO1, this call will populate<br />
// the box with only the non-hidden subdirectories in the root<br />
// directory of the C:\ drive. <br />
<br />
TCHAR szPath[MAX_PATH];<br />
_tcsncpy_s(szPath, MAX_PATH, _T("C:\\"));<br />
pDialog->DlgDirListComboBox(szPath, IDC_COMBO1, 0, DDL_EXCLUSIVE | DDL_DIRECTORY);<br />
<br />
// Note that the first argument is a string and not a string <br />
// literal. This is necessary because DlgDirListComboBox <br />
// modifies the supplied string. Passing a string literal <br />
// will result in an access violation.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<A HREF="http://www.soonr.com">SoonR Inc -- PC Power delivered to your phone</A>

AnswerRe: directories in combo box Pin
ThatsAlok28-Oct-07 19:51
ThatsAlok28-Oct-07 19:51 
Questionthe Fun IsUserAnAdmin() fails on Windows Vista Pin
junkMind25-Oct-07 21:27
junkMind25-Oct-07 21:27 
AnswerRe: the Fun IsUserAnAdmin() fails on Windows Vista Pin
Peter Weyzen25-Oct-07 21:35
Peter Weyzen25-Oct-07 21:35 
GeneralRe: the Fun IsUserAnAdmin() fails on Windows Vista Pin
junkMind25-Oct-07 22:18
junkMind25-Oct-07 22:18 
GeneralRe: the Fun IsUserAnAdmin() fails on Windows Vista Pin
Peter Weyzen25-Oct-07 22:30
Peter Weyzen25-Oct-07 22:30 
GeneralRe: the Fun IsUserAnAdmin() fails on Windows Vista Pin
junkMind25-Oct-07 22:42
junkMind25-Oct-07 22:42 
Questionchar* to String^ Pin
KienNT7825-Oct-07 21:01
KienNT7825-Oct-07 21:01 
AnswerRe: char* to String^ Pin
Nishad S25-Oct-07 21:13
Nishad S25-Oct-07 21:13 
GeneralRe: char* to String^ Pin
ThatsAlok28-Oct-07 19:55
ThatsAlok28-Oct-07 19:55 
GeneralRe: char* to String^ Pin
Nishad S28-Oct-07 20:06
Nishad S28-Oct-07 20:06 
AnswerRe: char* to String^ Pin
Hamid_RT25-Oct-07 21:13
Hamid_RT25-Oct-07 21:13 
QuestionListControl Pin
Vikas_12325-Oct-07 20:22
Vikas_12325-Oct-07 20:22 
QuestionRe: ListControl Pin
Hamid_RT25-Oct-07 20:25
Hamid_RT25-Oct-07 20:25 
AnswerRe: ListControl Pin
Vikas_12325-Oct-07 20:30
Vikas_12325-Oct-07 20:30 
QuestionRe: ListControl Pin
Hamid_RT25-Oct-07 20:52
Hamid_RT25-Oct-07 20:52 
AnswerRe: ListControl Pin
Nishad S25-Oct-07 20:34
Nishad S25-Oct-07 20:34 
GeneralRe: ListControl Pin
Vikas_12325-Oct-07 21:35
Vikas_12325-Oct-07 21:35 

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.