Click here to Skip to main content
15,917,328 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRAM project Pin
IndrekSnt30-Sep-03 4:14
IndrekSnt30-Sep-03 4:14 
GeneralRe: RAM project Pin
David Crow30-Sep-03 4:49
David Crow30-Sep-03 4:49 
GeneralRe: RAM project Pin
IndrekSnt30-Sep-03 5:01
IndrekSnt30-Sep-03 5:01 
GeneralRe: RAM project Pin
IndrekSnt30-Sep-03 5:08
IndrekSnt30-Sep-03 5:08 
GeneralRe: RAM project Pin
David Crow30-Sep-03 5:25
David Crow30-Sep-03 5:25 
GeneralRe: RAM project Pin
IndrekSnt30-Sep-03 5:51
IndrekSnt30-Sep-03 5:51 
GeneralRe: RAM project Pin
David Crow30-Sep-03 6:37
David Crow30-Sep-03 6:37 
GeneralRe: RAM project Pin
IndrekSnt1-Oct-03 4:26
IndrekSnt1-Oct-03 4:26 
I'm not copying all my code but the InsertItem() functions are here:

	proc=CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS,0);<br />
<br />
	info=new PROCESSENTRY32;<br />
	info->dwSize=sizeof(PROCESSENTRY32);<br />
	int id=0;<br />
<br />
	Process32First(proc,info);<br />
	m_list1.InsertItem(0,(LPCTSTR)info->szExeFile);<br />
<br />
	while(Process32Next(proc,info)!=FALSE){<br />
		id++;<br />
		m_list1.InsertItem(id,(LPCTSTR)info->szExeFile);<br />
	}<br />
<br />
	CloseHandle(proc);


This here was too only a segment of the code... OMG | :OMG:
GeneralRe: RAM project Pin
David Crow1-Oct-03 4:33
David Crow1-Oct-03 4:33 
GeneralRe: RAM project Pin
IndrekSnt2-Oct-03 4:43
IndrekSnt2-Oct-03 4:43 
QuestionHow to restore minimized window? Pin
vgrigor30-Sep-03 3:28
vgrigor30-Sep-03 3:28 
AnswerRe: How to restore minimized window? Pin
David Crow30-Sep-03 3:37
David Crow30-Sep-03 3:37 
GeneralRe: How to restore minimized window? Pin
vgrigor30-Sep-03 3:48
vgrigor30-Sep-03 3:48 
GeneralCSocket - CSocketFile - CArchive Problem Pin
Brian Cox30-Sep-03 3:04
Brian Cox30-Sep-03 3:04 
GeneralRe: CSocket - CSocketFile - CArchive Problem Pin
DougW4830-Sep-03 7:01
DougW4830-Sep-03 7:01 
GeneralRe: CSocket - CSocketFile - CArchive Problem Pin
Brian Cox30-Sep-03 7:09
Brian Cox30-Sep-03 7:09 
GeneralSpy++ Pin
hph30-Sep-03 1:59
hph30-Sep-03 1:59 
GeneralMFC ShellExecuteEx structure Pin
Uke30-Sep-03 1:53
Uke30-Sep-03 1:53 
GeneralRe: MFC ShellExecuteEx structure Pin
David Crow30-Sep-03 2:28
David Crow30-Sep-03 2:28 
GeneralRe: MFC ShellExecuteEx structure Pin
Uke30-Sep-03 2:47
Uke30-Sep-03 2:47 
GeneralRe: MFC ShellExecuteEx structure Pin
Uke30-Sep-03 2:55
Uke30-Sep-03 2:55 
GeneralRe: MFC ShellExecuteEx structure Pin
David Crow30-Sep-03 2:56
David Crow30-Sep-03 2:56 
GeneralDebug Assertion Failure Pin
Saurabh_Delhi30-Sep-03 1:50
Saurabh_Delhi30-Sep-03 1:50 
GeneralRe: Debug Assertion Failure Pin
jhwurmbach30-Sep-03 1:55
jhwurmbach30-Sep-03 1:55 
GeneralRe: Debug Assertion Failure Pin
Saurabh_Delhi30-Sep-03 2:20
Saurabh_Delhi30-Sep-03 2:20 

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.