I want to add listview to my MFC(.net2003) application interface. any have simples or some links to help hoe to add the data to listview and how to sort, get the selected item!. i need also to add to the form a toolbar with icons. please help
wael_r
Posts
-
Listview -
Get Command line returned stringHi Expert, I want to run command from my application and get the returned result. ex: in the cmd i put "set MyVariableName" the string return is value of the Environment Variable. I want to do it from my code and i want the returned value. Is it possible or not and How? Thanks.
-
Hi ExpertsThanks but i want to add a windows form into MFC application not to call exe file
-
Hi ExpertsI'm building a project with MFC Application C++ .net 2003 and i want from my MFC project to call a windows form application. Is it possible?? if so how? Please Help?
-
ListView C++just i want to know how to modify item ans subitem in listview
-
ListView in c++ windows forms applicationsI found how to get the index of row in listview when you DoubleClick this is the code ///////////////////////////////////////////////////////////////////// String *field1; int rowvar=1; field1 = listView1->Items->Item[listView1->FocusedItem->get_Index()]->SubItems->Item[rowvar]->Text; ///////////////////////////////////////////////////////////////////// This Works very fine, But i need to sort the values in the listview when i click on a column. any one have idea how to sort by header??? :confused:
-
DataGrid1 column widthAny know how to resize a column in datagrid This is my code: ///////////////////////////////////////////// dad = new OdbcDataAdapter("select * from MesgDetails", cn); ds->Clear(); dad->Fill(ds); dataGrid1->PreferredColumnWidth = 82; dataGrid1->DataSource = ds->Tables->Item[0]; ////////////////////////////////////////////// i want to resize a specific column. :sigh:
-
Run external executable file in C++Please any one know how to run an external application in c++ Windows Forms
-
Convert to datetime problemThanks it works fine. with UtcNow
-
Convert to datetime problemPlease can you give me exactly how to use this function in the code?
-
Convert to datetime problemThank you very much, i want you to know that i spend 2 days on this. and now you gave me the right answer Thankkkkkkkkk youuuuuuuuuuuuuuuuuu. i tried it works it gave me 3 hours difference and i handle it by adding 10800 sec to the number. but why it gave me difference 3 hours?
-
Convert to datetime problemCan any one help
-
How can i include CTimei want to use in my code CTime!!! any one can help
-
Convert to datetime problemi'm using window forms application and i'm facing a problem with a variable date_time that hold a long value 1243930978 I need to convert this number to datetime Note : when i declare the variable as "CTime sss" it give error undeclared identifier "sss" any one can help?
-
C++ Windows Forms DateTimei'm using window forms application and i'm facing a problem with a variable date_time that hold a long value 1243930978 I need to convert this number to datetime Note : when i declare the variable as "CTime sss" it give error undeclared identifier "sss" any one can help?
-
From C++ Windows FormsI'm tring from form1 to click on a button to open another form2 ex:Form1: private: System::Void button1_Click(System::Object * sender, System::EventArgs * e) { TestForm *f= new TestForm(); f->Show(); } when i press this button again the same form2 will open again. How to prevent this? any solution please.
-
Windows Forms Application C++ .net 2003Thanks again, I tried your solution but may i need another thing. Ex: struct ggg{ int i; int j; }test; in the first form1 i put "test fff;" fff.i=1; in the second form i want to use the value of the same structure fff. Ex: i want in the form2 to give the value of fff.i to another variable in form2; any solution? really i spend one day on this. :sigh:
-
In Window forms application C++Please Help! I want to pass variables from form1 to form2, I want to pass structure (struct fff) from form1 to form2.
-
Windows Forms Application C++ .net 2003Thank you very much for your reply but i need to user the same structure with the filled values in other form.
-
Windows Forms Application C++ .net 2003Pleaseeeeeeeeee can any one help me to declare public struct or variable to use in all the forms in "Windows Forms Application C++" ex: i want to declare a connection and use it in all the forms. i want to declare a structure and use it in all the forms.