Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSPY++ Pin
Imtiaz Murtaza26-Oct-07 0:25
Imtiaz Murtaza26-Oct-07 0:25 
AnswerRe: SPY++ Pin
Karismatic26-Oct-07 0:30
Karismatic26-Oct-07 0:30 
QuestionCListCtrl problem, let it show color 1 in odd row and color 2 in even row Pin
fantasy121525-Oct-07 23:54
fantasy121525-Oct-07 23:54 
AnswerRe: CListCtrl problem, let it show color 1 in odd row and color 2 in even row Pin
_AnsHUMAN_ 26-Oct-07 1:12
_AnsHUMAN_ 26-Oct-07 1:12 
QuestionBeep Pin
mcsherry25-Oct-07 23:46
mcsherry25-Oct-07 23:46 
AnswerRe: Beep Pin
_AnsHUMAN_ 26-Oct-07 1:30
_AnsHUMAN_ 26-Oct-07 1:30 
Questionhow to monitor exe and dll interactions? Pin
George_George25-Oct-07 23:09
George_George25-Oct-07 23:09 
AnswerRe: how to monitor exe and dll interactions? Pin
Jonathan [Darka]26-Oct-07 0:59
professionalJonathan [Darka]26-Oct-07 0:59 
GeneralRe: how to monitor exe and dll interactions? Pin
George_George26-Oct-07 6:44
George_George26-Oct-07 6:44 
GeneralRe: how to monitor exe and dll interactions? Pin
Jonathan [Darka]26-Oct-07 13:03
professionalJonathan [Darka]26-Oct-07 13:03 
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 

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.