Click here to Skip to main content
15,901,122 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Hooks (WH_CALLWNDPROC) Pin
Mike Beckerleg8-Nov-04 10:07
Mike Beckerleg8-Nov-04 10:07 
GeneralRe: Hooks (WH_CALLWNDPROC) Pin
Member 14941749-Nov-04 0:17
Member 14941749-Nov-04 0:17 
GeneralWrite enter character to a file Pin
gunnar668-Nov-04 4:30
gunnar668-Nov-04 4:30 
GeneralRe: Write enter character to a file Pin
David Crow8-Nov-04 5:03
David Crow8-Nov-04 5:03 
GeneralRe: Write enter character to a file Pin
Jonathan [Darka]8-Nov-04 5:03
professionalJonathan [Darka]8-Nov-04 5:03 
GeneralIs this a secret? (mixing native code with windows forms) Pin
BlackDice8-Nov-04 4:21
BlackDice8-Nov-04 4:21 
GeneralRe: Is this a secret? (mixing native code with windows forms) Pin
Daniel Turini8-Nov-04 4:28
Daniel Turini8-Nov-04 4:28 
GeneralSDI Child Wnd - Want to delete title bar Pin
jerry1211a8-Nov-04 4:11
jerry1211a8-Nov-04 4:11 
GeneralRe: SDI Child Wnd - Want to delete title bar Pin
BlackDice8-Nov-04 8:32
BlackDice8-Nov-04 8:32 
GeneralRe: SDI Child Wnd - Want to delete title bar Pin
pc_dev9-Nov-04 18:30
pc_dev9-Nov-04 18:30 
GeneralSimple Installation Program Pin
jerry1211a8-Nov-04 3:51
jerry1211a8-Nov-04 3:51 
GeneralRe: Simple Installation Program Pin
Ted Ferenc8-Nov-04 4:14
Ted Ferenc8-Nov-04 4:14 
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 

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.