Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

parichaybp

@parichaybp
About
Posts
71
Topics
14
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Adding Items ti List control
    P parichaybp

    Hey i am nt working,i am doing my MCA project work.

    C / C++ / MFC tutorial question

  • Adding Items ti List control
    P parichaybp

    Hi WhiteSky, CListCtrl *m_OUTPUT; CString strText = "hello"; m_OUTPUT->SetItemText(1, 1, strText); is the above statment correct ?? i tryed but its not giveing any output.

    C / C++ / MFC tutorial question

  • Adding Items ti List control
    P parichaybp

    Hi Maxwell Chen, Hope U still Remember me..:) i just tried with this statment CString strText = "hello"; m_OUTPUT->SetItemText(1, 1, strText); is this correct ???

    C / C++ / MFC tutorial question

  • Adding Items ti List control
    P parichaybp

    Hi, Thanks for the reply..I just checked the MSDN Ex.. --------------------- Example MSDN // The pointer to my list view control. extern CListCtrl* pmyListCtrl; CString strText; int nColumnCount = pmyListCtrl->GetHeaderCtrl()->GetItemCount(); // Insert 10 items in the list view control. for (int i=0;i < 10;i++) { strText.Format(TEXT("item %d"), i); // Insert the item, select every other item. pmyListCtrl->InsertItem( LVIF_TEXT|LVIF_STATE, i, strText, (i%2)==0 ? LVIS_SELECTED : 0, LVIS_SELECTED, 0, 0); // Initialize the text of the subitems. for (int j=1;j < nColumnCount;j++) { strText.Format(TEXT("sub-item %d %d"), i, j); pmyListCtrl->SetItemText(i, j, strText); } } ---------------------------------------- extern CListCtrl* pmyListCtrl; can u tell me what the use of the above statment ??

    C / C++ / MFC tutorial question

  • Adding Items ti List control
    P parichaybp

    Hi, its List Control. I am from Bangalore.

    C / C++ / MFC tutorial question

  • Adding Items ti List control
    P parichaybp

    Hi, Thanks for the reply, its CListCtrl,

    C / C++ / MFC tutorial question

  • Adding Items ti List control
    P parichaybp

    Hi , From the below code it displays the file name on the output screen,can anyone please tell how to add them to List box ?? I have list box IDC_OUTPUT CListCtrl m_output. ----------------------------------- if (e != NULL) { readFiles (e->left); fp = fopen (e->filename, "r"); fnum++; if ((s = (char*)strrchr(e->filename, '/')) == NULL) cout << e->filename; //Prints file name else cout << e->filename; //Prints File name insert (fnum, e->filename); if (fp) { wds = getWord (fp,fnum); } cout << " (" << wds << " words)" << endl; //Prints number of words fclose (fp); ------------------------------------ Regards, Parichay.

    C / C++ / MFC tutorial question

  • Adding Documents to F1
    P parichaybp

    hi, Thank for the msg, can u please expand and tell me what i have to do. i am new to VC++.

    C / C++ / MFC c++ help tutorial

  • Adding Documents to F1
    P parichaybp

    Hi, Thanks for the msg, Can u please expand and tell what i have to do.. i am new to VC++.

    C / C++ / MFC c++ help tutorial

  • Adding Documents to F1
    P parichaybp

    Hi, I have newly created MFC 32 Application, can any one please tell how to add Help [F1] documents and images to project. Regards, Parichay.

    C / C++ / MFC c++ help tutorial

  • Working with Help [ F1 ]
    P parichaybp

    Hi, I want know how to add contents to Help Document . Can anyone please tell me how to add pictures and documentation notes to project Help File [F1] under different topics. Regards, Parichay B.P

    C / C++ / MFC help tutorial

  • About Final Project
    P parichaybp

    Hi, Try to do the project in .Net or J2EE both are very good. u can also do in VB using RDBMS package.

    C / C++ / MFC csharp question

  • Passing values from one Dialog to Another.
    P parichaybp

    can u please tell what is the error ??? is this below code correct??? -> error CCreateDlg *CCreateDlg = (CCreateDlg*)GetParent(); CString str = CCreateDlg -> fname; m_UPDATE_FILE_NAME_COMBO.AddString(str); --------------------Configuration: DesktopSearch - Win32 Debug-------------------- Compiling... UpdateDlg.cpp D:\Parichay\DS with Help\DesktopSearch\UpdateDlg.cpp(146) : error C2059: syntax error : ')' Error executing cl.exe. DesktopSearch.exe - 1 error(s), 0 warning(s)

    C / C++ / MFC tutorial

  • Passing values from one Dialog to Another.
    P parichaybp

    can u please tell what is the error ??? -> error CCreateDlg *CCreateDlg = (CCreateDlg*)GetParent(); CString str = CCreateDlg -> fname; m_UPDATE_FILE_NAME_COMBO.AddString(str); --------------------Configuration: DesktopSearch - Win32 Debug-------------------- Compiling... UpdateDlg.cpp D:\Parichay\DS with Help\DesktopSearch\UpdateDlg.cpp(146) : error C2059: syntax error : ')' Error executing cl.exe. DesktopSearch.exe - 1 error(s), 0 warning(s)

    C / C++ / MFC tutorial

  • Passing values from one Dialog to Another.
    P parichaybp

    Hi, I am bit confused now. In my project the main Dialog is CDesktopSearchDlg after that i have CreateDlg & UpdateDlg. //Uday firstDialog.h" in the second Dialog. // i want to which is first dialog and which is 2nd dialog. Is this code below correct ?? BOOL CUpdateDlg::OnInitDialog() { CDialog::OnInitDialog(); CreateDlg *CDesktopSearchDlg = (CreateDlg *)GetParent(); CString str = CDesktopSearchDlg->fname; m_UPDATE_FILE_NAME_COMBO.AddString(str); }

    C / C++ / MFC tutorial

  • Passing values from one Dialog to Another.
    P parichaybp

    Hi, Thanks for the reply.. I just store the file name as below void CCreateDlg::OnOk() { CString fname; fname=m_FILE_NAME; -- --- --- } Now in the UpdateDlg In the BOOL CUpdateDlg::OnInitDialog() { } ---- I want to know what is *mpmain ??? is this MainDialog window ???

    C / C++ / MFC tutorial

  • Passing values from one Dialog to Another.
    P parichaybp

    Hi,, In my Project I have main Dialog DesktopSearchDlg CreateDlg & UpdateDlg. In CreateDlg I am accepting File Name on Ok I have to add the file name to UpdateDlg in a combo box Can any one please tell me how to do this. CreateDlg UpdateDlg File Name onOK ( ) ComboBox Regards, Parichay.

    C / C++ / MFC tutorial

  • List Control with default text
    P parichaybp

    I just create a edit box with m_EDIT member of Type CString also checked multiline and i declared m_EDIT = "*.exp *.ilk *.res *.trg *.tlh *.idb *.pdb *.pch *.opt *.lib "*\Deleted Items\*" *.cab *.mov *.mp3 *"; i am gettling lots of erro that i cant use * etc can u please tell me how to do it? --------------------Configuration: DesktopSearch - Win32 Debug-------------------- Compiling... UpdateDlg.cpp D:\Parichay\DesktopSearch\UpdateDlg.cpp(168) : error C2017: illegal escape sequence D:\Parichay\DesktopSearch\UpdateDlg.cpp(168) : error C2065: 'Deleted' : undeclared identifier D:\Parichay\DesktopSearch\UpdateDlg.cpp(168) : error C2017: illegal escape sequence D:\Parichay\DesktopSearch\UpdateDlg.cpp(168) : error C2296: '*' : illegal, left operand has type 'char [61]' D:\Parichay\DesktopSearch\UpdateDlg.cpp(168) : error C2146: syntax error : missing ';' before identifier 'Items' D:\Parichay\DesktopSearch\UpdateDlg.cpp(168) : error C2065: 'Items' : undeclared identifier D:\Parichay\DesktopSearch\UpdateDlg.cpp(168) : error C2297: '*' : illegal, right operand has type 'char [21]' Error executing cl.exe. DesktopSearch.exe - 7 error(s), 0 warning(s)

    C / C++ / MFC com tutorial

  • List Control with default text
    P parichaybp

    keerthikaaa i cant use the Combo Box, i can use Edit box or list control or list Box.

    C / C++ / MFC com tutorial

  • List Control with default text
    P parichaybp

    Hi, Thanks for the reply.. But in the Edit box , how to display the text in multiple line ???

    C / C++ / MFC com tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups