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
I

iceage

@iceage
About
Posts
9
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • MFC icon
    I iceage

    go into the "Resource View" tab of your project and change both IDR_MAINFRAME icons to whatever icons you want :)

    C / C++ / MFC question c++

  • How to Create Dialog Without resource Dynamically
    I iceage

    take a look at CreateDialogIndirect in MSDN.

    C / C++ / MFC tutorial learning

  • How to display a bitmap when starting an application?
    I iceage

    go to: Project->Add To Project->Components and Controls->Visual C++ Components->Splash screen

    C / C++ / MFC csharp visual-studio graphics adobe help

  • path of my documents folder
    I iceage

    // Allocate a pointer to an Item ID list LPITEMIDLIST pidl; // Get a pointer to an item ID list that // represents the path of a special folder HRESULT hr = SHGetSpecialFolderLocation(NULL, /*CSIDL_SEARCH_MSDN*/, &pidl); // Convert the item ID list's binary // representation into a file system path char szPath[_MAX_PATH]; SHGetPathFromIDList(pidl, szPath); // Allocate a pointer to an IMalloc interface LPMALLOC pMalloc; // Get the address of our task allocator's IMalloc interface hr = SHGetMalloc(&pMalloc); // Free the item ID list allocated by SHGetSpecialFolderLocation pMalloc->Free(pidl); // Free our task allocator pMalloc->Release(); // Work with the special folder's path (contained in szPath) strcat(szPath , "\\Folder");

    C / C++ / MFC question

  • Calling one exe from other
    I iceage

    you can use WaitForSingleObject or WaitForMultipleObjects

    C / C++ / MFC c++ linux json question announcement

  • restricting to type in CEdit
    I iceage

    open Class Wizard and assign a CString variable for your edit and you will see "Maximum characters" in the lower part of the Class Wizard. Set there how many characters your CString wants to have.(same for int, long...)

    C / C++ / MFC tutorial

  • Toolbar in CDialog
    I iceage

    //add a toolbar to the dialog m_toolBar.CreateEx(this, TBSTYLE_FLAT | TBSTYLE_TRANSPARENT , WS_CHILD |WS_VISIBLE | CBRS_FLOATING ); m_toolBar.LoadToolBar(IDR_TOOLBAR); m_toolBar.SetBarStyle(CBRS_ALIGN_TOP | CBRS_TOOLTIPS | CBRS_FLYBY); RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST, 0);

    C / C++ / MFC help learning

  • casting problem
    I iceage

    see this: http://www.codeguru.com/forum/showthread.php?s=&threadid=253032

    C / C++ / MFC help c++ database data-structures question

  • Messaging question
    I iceage

    The best way to implement this is to use the OBSERVER pattern described in "Design Patterns" book. You can find here some example for that: http://www.codeproject.com/cpp/observer.asp http://www.codeproject.com/useritems/Observer\_with\_templates.asp http://www.codeproject.com/gen/design/ObserverPattern.asp

    C / C++ / MFC question data-structures 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