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
N

Neha

@Neha
About
Posts
197
Topics
109
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • ParseDisplayName: my computer missing
    N Neha

    Here is the info: LPSHELLFOLDER lpShellFolder = 0; LPSHELLFOLDER lpDesktopFolder = 0;

    C / C++ / MFC question announcement

  • ParseDisplayName: my computer missing
    N Neha

    Hi I am using the following code to get the desktop contents: if (SUCCEEDED(SHGetDesktopFolder(&lpDesktopFolder))) { //strpath: has the desktop folder path. MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, (LPCTSTR)((strPath != "\\MyComputer")?strPath:""), -1, olePath, MAX_PATH); hr = lpDesktopFolder->ParseDisplayName(NULL, NULL, olePath, &chEaten, &pidl, &dwAttributes); if(hr != S_OK) { lpDesktopFolder->Release(); return; } hr = lpDesktopFolder->BindToObject(pidl, 0, IID_IShellFolder, (LPVOID *)&lpShellFolder); If I use this code I can't find *My Computer* and icons. But if I use SHGetDesktopFolder(&lpShellFolder) I can see the *My computer* in the list. Could any one please tell me where I am going wrong? Regards Neha

    C / C++ / MFC question announcement

  • Serialize HANDLE
    N Neha

    Hi How can I serialize the HANDLE? Regards Neha

    C / C++ / MFC question

  • Transparent Text to bitmap
    N Neha

    Hi I want to convert the text into transparent bitmap. How this can be done? Regards Neha

    C / C++ / MFC graphics question

  • Include headers.
    N Neha

    Thanks for the reply. Here is the code In X.h #include "y.h" Class X { } In Y.h #include "X.h" Class X; Class Y { X m_Item; } In this case I will get a error as 'm_Item' uses undefined class 'X' How to slove this?

    C / C++ / MFC help tutorial question

  • Include headers.
    N Neha

    Hi I have a header file x.h in this I have #include "y.h" In y.h file I want to use the class declared in x.h. But if I include x.h in y.h file, it is giving me an error saying class X is not decalred. Could anyone tell me how to solve this? Regards Neha

    C / C++ / MFC help tutorial question

  • Printing an icon....
    N Neha

    Hi, How can I print the icon? DrawIcon()doesn't work with printer dc... Regards Neha

    C / C++ / MFC question

  • Drop the content to Toolbar button
    N Neha

    Hi, I want to implement the toolbar button to receive the dropped contents. I am using COleDropTarget and I have registered that using m_DropTarget.Register(this). It works for a window, List control...But It doesn't work incase of toolbar buttons. Could anyone knows how to implement this? Regards Neha

    C / C++ / MFC tutorial question

  • CFormView::OnInitialUpdate()
    N Neha

    Hi, I have a code as below: Class x: public CFormView { public: virtual void OnInitialUpdate(); } Class y: Public X { public: Virtual void OnInitialUpdate(); } Class z: class y { public: void OnInitialUpdate(); } When I call OnInitialUpdate () for class z it throws an exception at CFormView::OnInitialUpdate() of Class x. Could any one please help me? Regards Neha

    C / C++ / MFC help question

  • m_pRecentFileList...
    N Neha

    pDoc is an XMLDocument object: Here is the source: IXMLDOMDocument *pDoc; CoCreateInstance(CLSID_DOMDocument, NULL, CLSCTX_INPROC_SERVER, IID_IXMLDOMDocument, (void**)&pDoc)

    C / C++ / MFC

  • m_pRecentFileList...
    N Neha

    Hi, In my application I get the recent opened file from m_pRecentFileList variable. Here is the code CString the_File=(*m_pRecentFileList)[0]; OpenDocument(the_File); In OpenDocument I have pDoc->Load(CComVariant(lpszPathName)); Here it always fails. But If I give the path directly, ie CString the_File="c:\\text.abc" It works fine. Regards Neha

    C / C++ / MFC

  • Cut, Copy and Paste
    N Neha

    Hi Is there any way to copy the file object to clipboard? I want to implement Cut, Copy and Paste for files like explorer does. Regards Neha

    C / C++ / MFC question

  • Cut, copy and paste options...
    N Neha

    Thanks for the reply.. But I want to implement it in the same way as the explorer does. That is if I say select any file and say copy it should copy the file to clipbord and I should be able to paste it anywhere.

    C / C++ / MFC question help

  • ShellExecute and File Properties
    N Neha

    Thanks for the info...

    C / C++ / MFC com linux testing beta-testing question

  • Cut, copy and paste options...
    N Neha

    Hi I want to implement Cut,copy,paste for explorer items. I tried with SHFileOperation() But I didn't find a proper way for Cut and Paste. One more this how can I create a new folder? Could anyone please help me to solve this? Regards Neha

    C / C++ / MFC question help

  • ShellExecute and File Properties
    N Neha

    Even I have the same problem. I am getting the error as ERROR_NO_ASSOCIATION.

    C / C++ / MFC com linux testing beta-testing question

  • MFC Serialization
    N Neha

    I have a class structure as follows: Class A: public CObject { } Class B: Public A { } Now I want to serialize pointer class B using CArchive. How can this be done? Regards

    C / C++ / MFC c++ json question

  • Detachable tab control...
    N Neha

    Hi I want to create a tab control in such a wany that when user drags the tab button it should display it as separate dialog box. Also if user drags a dialog box on to that, it should set as a tab button. Any idea how this can be done? Regards Neha

    C / C++ / MFC question

  • error C2065: 'DDX_Time' : undeclared identifier
    N Neha

    Hi, I am trying compile a source code, now i am getting this error: error C2065: 'DDX_Time' : undeclared identifier I am using VC++6.0. Could any one tell me why is it so? Regards Neha

    C / C++ / MFC c++ help question

  • Problem with DoModal()
    N Neha

    You are right. I had fixed the problem... Thanks ......

    C / C++ / MFC question help
  • Login

  • Don't have an account? Register

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