Click here to Skip to main content
16,018,419 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
Generalusing office Word 2003/2007 Pin
javad_200526-Feb-08 6:22
javad_200526-Feb-08 6:22 
GeneralRe: using office Word 2003/2007 Pin
Paul Conrad29-Feb-08 8:04
professionalPaul Conrad29-Feb-08 8:04 
QuestionFirst contact with C++/CLI Pin
Luca Leonardo Scorcia25-Feb-08 23:35
professionalLuca Leonardo Scorcia25-Feb-08 23:35 
GeneralRe: First contact with C++/CLI Pin
Mark Salsbery26-Feb-08 8:44
Mark Salsbery26-Feb-08 8:44 
GeneralListbox Problem.. Pin
ptr2void25-Feb-08 22:28
ptr2void25-Feb-08 22:28 
GeneralRe: Listbox Problem.. Pin
Christian Graus25-Feb-08 22:30
protectorChristian Graus25-Feb-08 22:30 
GeneralRe: Listbox Problem.. Pin
ptr2void25-Feb-08 22:43
ptr2void25-Feb-08 22:43 
GeneralRe: Listbox Problem.. Pin
ptr2void25-Feb-08 23:34
ptr2void25-Feb-08 23:34 
Okay let me explain my problem:
I have a form1.h in which I am initializing the listbox as follows:

void InitializeComponent(void)
{
this->obj = (gcnew System::Windows::Forms::ListBox());

this->obj->Location = System::Drawing::Point(0, 0);
this->obj->Name = L"obj";
this->obj->Size = System::Drawing::Size(120, 95);
this->obj->TabIndex = 0;
}

Now I am calling another function to add some items as follows:

sf->SearchFileByPath(path,filename,obj,sender,e);

And in that particualr function , I want that the listbox items should dynamically be shown as the program runs..

So I tried adding the ListBox::DrawItems(sender,e) ..
But the error is like:

cannot convert parameter 5 from 'System::EventArgs ^' to 'System::Windows::Forms::DrawItemEventArgs ^'

System::Windows::Forms::DrawItemEventHandler ^System::Windows::Forms::ListBox::DrawItem': event does not have a raise method



Please help me..
QuestionHow to synchronize the system's configuration status between nodes? Pin
Member 454227225-Feb-08 3:03
Member 454227225-Feb-08 3:03 
GeneralConvert Struct Pin
javad_200524-Feb-08 1:35
javad_200524-Feb-08 1:35 
GeneralRe: Convert Struct Pin
prasad_som24-Feb-08 3:22
prasad_som24-Feb-08 3:22 
GeneralRe: Convert Struct Pin
javad_200524-Feb-08 5:36
javad_200524-Feb-08 5:36 
GeneralRe: Convert Struct Pin
Mark Salsbery24-Feb-08 10:17
Mark Salsbery24-Feb-08 10:17 
GeneralRe: Convert Struct Pin
javad_200525-Feb-08 2:14
javad_200525-Feb-08 2:14 
GeneralRe: Convert Struct Pin
Mark Salsbery25-Feb-08 5:50
Mark Salsbery25-Feb-08 5:50 
GeneralVisual c++ NET printing Pin
mikobi22-Feb-08 0:00
mikobi22-Feb-08 0:00 
GeneralRe: Visual c++ NET printing Pin
led mike22-Feb-08 6:59
led mike22-Feb-08 6:59 
GeneralRe: Visual c++ NET printing Pin
mikobi24-Feb-08 22:47
mikobi24-Feb-08 22:47 
QuestionC# -> C++ call issue Pin
Jais Joy21-Feb-08 19:18
Jais Joy21-Feb-08 19:18 
GeneralRe: C# -> C++ call issue Pin
Mark Salsbery22-Feb-08 6:20
Mark Salsbery22-Feb-08 6:20 
GeneralWeb Application Vs Windows applications Pin
sathishin21-Feb-08 7:13
sathishin21-Feb-08 7:13 
GeneralRe: Web Application Vs Windows applications Pin
Christian Graus21-Feb-08 20:29
protectorChristian Graus21-Feb-08 20:29 
GeneralRe: Web Application Vs Windows applications Pin
sathishin25-Feb-08 6:18
sathishin25-Feb-08 6:18 
GeneralError with Substring. Pin
msogun20-Feb-08 18:12
msogun20-Feb-08 18:12 
GeneralRe: Error with Substring. Pin
Mark Salsbery21-Feb-08 8:05
Mark Salsbery21-Feb-08 8:05 

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.