Click here to Skip to main content
15,892,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Simple Installation Program Pin
jerry1211a8-Nov-04 4:29
jerry1211a8-Nov-04 4:29 
GeneralUpdate Listcontrol Pin
vilmer8-Nov-04 3:34
vilmer8-Nov-04 3:34 
GeneralRe: Update Listcontrol Pin
BlackDice8-Nov-04 3:48
BlackDice8-Nov-04 3:48 
GeneralRe: Update Listcontrol Pin
David Crow8-Nov-04 4:04
David Crow8-Nov-04 4:04 
GeneralRe: Update Listcontrol Pin
vilmer8-Nov-04 6:25
vilmer8-Nov-04 6:25 
GeneralRe: Update Listcontrol Pin
BlackDice8-Nov-04 9:01
BlackDice8-Nov-04 9:01 
GeneralRe: Update Listcontrol Pin
vilmer8-Nov-04 20:41
vilmer8-Nov-04 20:41 
GeneralRe: Update Listcontrol Pin
BlackDice9-Nov-04 2:45
BlackDice9-Nov-04 2:45 
I was thinking more along the lines of this:

void CMyClass::OnButtonStart()
{
  AfxBeginThread(FillListView,this);  
}




UINT ListView(* pClass)  //forgot how the function declaration has to be:zzz:
{
  CMyClass* pMyClass = (CMyClass*)pClass;

  pClass->Num = 0;
  char* ptrItem;
  while (pClass->Num < 100)
  {
    itoa(pClass->Num,ptrItem,10);
    pClass->myLC.InsertItem(Num,ptrItem);
    pClass->Num++;
  }
  return 0;
}


the syntax may be a little off since I'm doing it out of my head, but I think you should be able to follow what I'm saying. I hope this helps in any way.

If I write code in my sleep, does that make me brilliant, or just a lazy programmer?

My articles

www.stillwaterexpress.com

BlackDice - the programmer formerly known as bdiamond
GeneralSpeech in Visual C++ .Net Pin
arcticKat8-Nov-04 3:27
arcticKat8-Nov-04 3:27 
GeneralHost names on Windows NT Pin
Anshul Mehra8-Nov-04 2:45
professionalAnshul Mehra8-Nov-04 2:45 
GeneralRe: Host names on Windows NT Pin
Graham Bradshaw8-Nov-04 3:50
Graham Bradshaw8-Nov-04 3:50 
GeneralGetting paths to the.pst files Pin
_kane_8-Nov-04 1:53
_kane_8-Nov-04 1:53 
GeneralRe: Getting paths to the.pst files Pin
vilmer8-Nov-04 3:16
vilmer8-Nov-04 3:16 
GeneralRe: Getting paths to the.pst files Pin
David Crow8-Nov-04 4:41
David Crow8-Nov-04 4:41 
GeneralRe: Getting paths to the.pst files Pin
_kane_8-Nov-04 6:21
_kane_8-Nov-04 6:21 
GeneralRe: Getting paths to the.pst files Pin
Ryan Binns8-Nov-04 17:26
Ryan Binns8-Nov-04 17:26 
QuestionHow can I enable SystemMenu of an skined dialog that disabled its TitleBar? Pin
Behzad Ebrahimi8-Nov-04 1:40
Behzad Ebrahimi8-Nov-04 1:40 
AnswerRe: How can I enable SystemMenu of an skined dialog that disabled its TitleBar? Pin
Ryan Binns8-Nov-04 17:31
Ryan Binns8-Nov-04 17:31 
GeneralExecuting a c++ program in .net Pin
novicedude8-Nov-04 1:06
novicedude8-Nov-04 1:06 
GeneralCRichEditCtrl problem Pin
Neelesh K J Jain8-Nov-04 0:56
Neelesh K J Jain8-Nov-04 0:56 
GeneralRe: CRichEditCtrl problem Pin
David Crow8-Nov-04 5:05
David Crow8-Nov-04 5:05 
GeneralRe: Extension DLL's &amp; MFC Class Inheritance Pin
FearlessBurner8-Nov-04 0:02
FearlessBurner8-Nov-04 0:02 
GeneralRe: Extension DLL's &amp; MFC Class Inheritance Pin
Chris Meech8-Nov-04 8:34
Chris Meech8-Nov-04 8:34 
GeneralExtension DLL's & MFC Class Inheritance Pin
#realJSOP7-Nov-04 23:47
mve#realJSOP7-Nov-04 23:47 
GeneralSimple but need ur response immediately Pin
Billar7-Nov-04 23:13
Billar7-Nov-04 23:13 

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.