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

Abhijeet Pathak

@Abhijeet Pathak
About
Posts
62
Topics
24
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Context sensitive help button problem
    A Abhijeet Pathak

    In a particular VC++ 2005 MFC dialog, the "Question Mark button" (near Close button) shows up even after I set "Context Help" property to False. In other dialogs the button shows up or disappears properly after setting or resetting that property. Can somebody tell me whats wrong? or What else controls the display of that button? Thanks.

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

  • How Much Information Is There In the World?
    A Abhijeet Pathak

    http://www.lesk.com/mlesk/ksg97/ksg.html

    The Lounge html com question

  • Speakers that automatically go in Stand By mode
    A Abhijeet Pathak

    Speakers that automatically go in stand by mode when not used for some time would be a great idea and power saver as explained in the following article: Speakers that automatically go in Stand By mode[^]

    Hardware & Devices html com

  • Disk defragement result
    A Abhijeet Pathak

    I would recommend you to use Smart Defrag[^]. It automatically runs in the background and defragments drive. It uses low system resources and is very effective.

    System Admin question

  • Windows Vista 32-bit vs 64-bit
    A Abhijeet Pathak

    Windows XP 64-bit Corporate Edition is very stable and works well.

    The Lounge visual-studio sales question

  • Republic Day wishes for all Indians
    A Abhijeet Pathak

    Happy Republic Day! :)

    The Lounge com career

  • We're dead..
    A Abhijeet Pathak

    Nah.. it's perfectly working... it's online..

    The Lounge com

  • Up to the minute information
    A Abhijeet Pathak

    That surely is a superb movie.. with fantastic end... gives a shock..

    The Lounge com architecture

  • MFC Architecture....!!!!???
    A Abhijeet Pathak

    Well, there are lots of books on MFC but i'll particularly recommend http://www.codeproject.com/?cat=2[^] as it contains lots of userful articles for both biginners and advanced users/programmers...

    C / C++ / MFC c++ architecture question

  • Focus Problem
    A Abhijeet Pathak

    I've a MFC dialog with two edit boxes... By default focus in on first text box. I want that during dialog load if first edit box contains some text, then second edit box should have focus... I've tried SetFocus() in InitDialog() but it's not working... focus still remains on first control. How should I do it? Please Help!

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

  • Window Resizing
    A Abhijeet Pathak

    I am developing a MFC app (Windows Explorer style). How can I control window's resizing behavior? I want to make treeview and listview invisible and when they are invisible the window size should be automatically reduced. I am trying OnSize() but it's not working...

    C / C++ / MFC question c++

  • Diff. between DestroyWindow() and EndDialog()
    A Abhijeet Pathak

    ya... i'm too thinking that... because i've placed code in overridden DestroyWindow() function but it never gets called if EndDialog() method is used to close the dialog box. :(

    C / C++ / MFC question

  • Diff. between DestroyWindow() and EndDialog()
    A Abhijeet Pathak

    i want to execute some code when a dialog is destroyed, but the code in DeatroyWindow() function doesn't executes when i use EndDialog() but executes when i use DestroyWindow(). What is the diff. between these two and which should be best to use?

    C / C++ / MFC question

  • Tooltip for disabled control
    A Abhijeet Pathak

    Yes, definitely... If a control, or menu item is disabled but still shows Tooltips, then it gives a good idea of what that button does and saves precious time as we don't have to look into help files...

    C / C++ / MFC question html com tools tutorial

  • Visual Studio 2005 windows layout
    A Abhijeet Pathak

    yes, actually when i first tried my hands on VS2005, same thing happened to me and took 2 days to find out how to do it in MSDN... :)

    C / C++ / MFC visual-studio csharp c++ help

  • Real time directory listing
    A Abhijeet Pathak

    Yes, the following article on CP shows how to use Boost libraries for directory listing: http://www.codeproject.com/useritems/find_file.asp and the following one shows how to do the same without using Boost libraries i.e. by using Win32 API functions like FindFirstFile() etc. http://www.codeproject.com/cpp/recursedir.asp And, I guess, the second method would be best, because it will eliminate dependencies on Boost libraries as it uses core API functions. :)

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

  • API for UNICODE
    A Abhijeet Pathak

    IsTextUnicode() function can be used to check if the text is unicode... The following code might help you: int IsUnicodeFile(char* szFileName) {     FILE *fpUnicode;     char l_szCharBuffer[80];     //Open the file     if((fpUnicode= fopen(szFileName,"r")) == NULL)     return 0; //Unable to open file     if(!feof(fpUnicode))     {         fread(l_szCharBuffer,80,1,fpUnicode);         fclose(fpUnicode);         if(IsTextUnicode(l_szCharBuffer,80,NULL))         {             return 2; //Text is Unicode         }         else         {             return 1; //Text is ASCII         }     }     return 0; // Some error happened } :)

    C / C++ / MFC json question

  • Visual Studio 2005 windows layout
    A Abhijeet Pathak

    To change the VS2005 Window Layout, use following method: 1. On the Tools menu, choose Import and Export Settings. 2. On Welcome to the Import and Export Settings Wizard page, click Import selected environment settings and then click Next. 3. On the Save Current Settings page, select Yes, save my current settings, and then click Next. 4. In Which collection of settings do you want to import, select a settings collection from the list and then click Next. 5. In Which settings do you want to import, expand the list and select only the categories or category items you want to apply to your current settings. 6. Click Finish. 7. The Reset Complete page lists any errors associated with resetting your settings under Details. :)

    C / C++ / MFC visual-studio csharp c++ help

  • Real time directory listing
    A Abhijeet Pathak

    SHChangeNotifyRegister() function can be used if you want to receive notifications when something in shell namespace is changed... (e.g. file/folder creation, deletion, rename etc..) take a look at http://www.codeproject.com/atl/shellfoldertree.asp, it may help you... http://vbnet.mvps.org/index.html?code/shell/shchangenotify.htm : this is a Visual Basic sample... it might help you... :)

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

  • Freeing ITEMIDLIST.....
    A Abhijeet Pathak

    Hi, I'm trying to emulate Folder Tree View like one in Windows Explorer and I'm using IShellFolder interface and EnumObjects() function to enumerate shell folders. I'm storing pointer to ITEMIDLIST for each tree node so that it can be used later for showing context menus etc. Now, whenever I browse a removable drive (USB drive) through it, i'm unable to unmount it. Is this possible because some of the ITEMIDLIST structures aren't freed up? Does that keeps the drive locked?

    C / C++ / MFC linux data-structures question
  • Login

  • Don't have an account? Register

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