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
F

freeman868

@freeman868
About
Posts
12
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • StatusBar Question in MFC
    F freeman868

    Oh, dear friend, I think u've made a mistake! In my opinion, the CDoc class in your project is constructed before the CMainFrame class, and the status bar is created in Oncreate() function of the CMainFrame class. So, you'd used a status object before you created it. Am I right? OK, U can resolve this by many methods.there r 2 simple resolutions follow: 1. U can do this in the CMainFrame class after the status bar object is created. 2. U can do it in the CView class as the same. -- modified at 4:36 Tuesday 6th February, 2007

    freeman

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

  • StatusBar Question in MFC
    F freeman868

    you just need to do it as follows: void CPerspectiveDoc::OnShowMsg(CCmdUI* pCmdUI) { CString strValue; strValue.Format("%s", message.GetString()); pCmdUI->Enable(TRUE); pCmdUI->SetText(strValue); CDC* pDC = m_wndStatusBar.GetDC(); CSize mSize = pDC->GetTextExtent(strValue); m_wndStatusBar.SetPaneInfo(1, IDS_MESSAGE, SBPS_NORMAL, mSize.cx); }

    freeman

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

  • How can I get the Resource ID I want?
    F freeman868

    Thanks! God will bless u. :)

    freeman

    C / C++ / MFC question tutorial learning

  • How can I get the Resource ID I want?
    F freeman868

    Thank u all the same!:)

    freeman

    C / C++ / MFC question tutorial learning

  • How can I get the Resource ID I want?
    F freeman868

    Thank u for your reply, I wish u a good day! :)

    freeman

    C / C++ / MFC question tutorial learning

  • How can I get the Resource ID I want?
    F freeman868

    Thank u, u get my idear!I know how to resolve it now. :)

    freeman

    C / C++ / MFC question tutorial learning

  • How can I get the Resource ID I want?
    F freeman868

    Hello,everyone! I want to ask a question about my practice. I created some string entries in the string table such as IDS_STRING1,IDS_STRING2,IDS_STRING3... .Now, I want to load one of them for the CString object by a string I specified. for example, the string I specified was "IDS_STRING1" , how can I convert "IDS_STRING1" to the right Resource ID? Thank u so much!:confused:

    freeman

    C / C++ / MFC question tutorial learning

  • path name
    F freeman868

    I add sth based on your code follow: CString drv = ((CIFlappApp *)AfxGetApp())->m_strAppDrive; drv+="\:"; drv+="\\"; CString str = drv + "MyFavourites"; CString str1 = str; CreateDirectory(str,NULL); str+="\\"; CString sub = str+"Online Bookmarks"; CreateDirectory(sub,NULL); sub= str+"Music"; CreateDirectory(sub,NULL); sub= str+"Pictures"; CreateDirectory(sub,NULL); sub= str+"Documents"; CreateDirectory(sub,NULL); str1.TrimLeft(drv); m_bookmark.PopulateTree(str1);

    freeman

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

  • Excel Page
    F freeman868

    Sorry, I have made a mistake! _Worksheet worksheet; Worksheets wssMysheets; . . . . LONG mTotal = wssMysheets.GetCount(); LONG mPage = worksheet.GetIndex(); -- modified at 23:14 Wednesday 25th October, 2006

    freeman

    C / C++ / MFC question c++ testing tools tutorial

  • Excel Page
    F freeman868

    _Worksheet worksheet; Worksheets wssMysheets; . . . . LONG mTotal = wssMysheets.GetCount(); LONG mPage =wsMysheet.GetIndex();

    freeman

    C / C++ / MFC question c++ testing tools tutorial

  • How to set the backcolor of MS Excel cells
    F freeman868

    Good idear! I have solved my problem! Thank u! And do it in VC just need to add some codes follow: Interior bkColor; bkColor.AttachDispatch(range.GetInterior().pdispVal) bkColor.SetColor(COleVariant((long)0x000000)); //black Also Give Thank to a friend named ◎Alpha◎ who helped me, God will bless him and his family!:)

    freeman

    C / C++ / MFC tutorial question

  • How to set the backcolor of MS Excel cells
    F freeman868

    I'am trying to use VC to operate Ms Excel, but I can't set the back color of cells, what can I do for it?

    freeman

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