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
A

AnkushChopra

@AnkushChopra
About
Posts
12
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Share path over netowrks
    A AnkushChopra

    I am accessing Files, folders, drives over network. Through SHBrowseForFolder I get the path over network. The problem arises when I check the path for validity with CFileFind. Assume that there is a pc with name PCabc over the network, and it has a folder in one of it's drive with name FOLDER1, which is sharable, with the same name. The path I recieve is \\PCabc\FOLDER1, Now when I pass it through CFileFind::FindFile() and CFileFind::FindNextFile(), the path is rejected. However if I take a folder say SUBFOLDER1 in the share FOLDER1 (which is also the exact name of the folder), I get no problem, ie, the path \\PCabc\FOLDER1\SUBFOLDER1 gives me no errors. It is accepted by CFileFind. Can you suggest me what should I do to get the path for the shares which will be accepted by CFileFind. Thanks

    C / C++ / MFC sysadmin help

  • CTreeCtrl font size
    A AnkushChopra

    Hi Everyone How do you increase the font size of the text in CTreeCtrl? thanks

    C / C++ / MFC question

  • Transparent Icons
    A AnkushChopra

    Hi I cannot seem to find the option of "transparent color" in the palette. Can you please give more details. Thanks

    C / C++ / MFC c++ help

  • Transparent Icons
    A AnkushChopra

    Hello Everyone I am looking for a way to make transparent icons for a VC++ application. These icons will be used in a CTreeCtrl object so as the empty space of the icon gets the background colour of the frame. Any help or suggestions is highly appreciated. Thanks Ankush

    C / C++ / MFC c++ help

  • Tree Control with Checkboxes ....
    A AnkushChopra

    Hi Rohit I have no practical experience with checkboxes in tree, but have worked a lot with trees otherwise, but I think I might be able to help you. For your first question, you can do the following steps 1. Once you click the root item you can traverse the children and then the subsequent siblings with a HTREEITEM. First use treename.GetChildItem(/*HTREEITEM*/ hItem) and check it, then you can use a while loop to check all other siblings by using treename.GetNextSiblingItem(/*HTREEITEM*/ hItem) Try out the above suggestion, if you need help then please do let me know Ankush

    C / C++ / MFC data-structures tutorial question

  • how to delete a file ?
    A AnkushChopra

    You can use SHFileOperation to delete a file or You can use the API _unlink() Ankush

    C / C++ / MFC c++ tutorial question

  • Copying/Moving files
    A AnkushChopra

    You can use the function SHFileOperation. With this you can move, copy, rename or delete files and folders. It handles most of the checks like a file or directory with the same name existing at the destination etc. Ankush

    C / C++ / MFC sysadmin question discussion

  • Enabling Menu Items
    A AnkushChopra

    Thanks for the help!!

    C / C++ / MFC tutorial

  • Enabling Menu Items
    A AnkushChopra

    Thanks for your help. I used EnableMenuItem(0with an if statement and it worked.

    C / C++ / MFC tutorial

  • Enabling Menu Items
    A AnkushChopra

    How to enable a menu item dynamically. I have tried EnableMenuItem but with no success.

    C / C++ / MFC tutorial

  • How to Call a function from another class
    A AnkushChopra

    In your class B function where you are calling this Class A function, create an instance of class A and use that instance to call SaveSelectedItems()

    C / C++ / MFC tutorial

  • Opening a file using notepad in vc++
    A AnkushChopra

    I want to know how to open a file using notepad in VC++. I do not want to use system("notepad.exe filename"). Thank you

    C / C++ / MFC c++ 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