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
X

XtremDev

@XtremDev
About
Posts
16
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Multilanguage Resource compilation options
    X XtremDev

    If I use AfxSetRessourceHandle the problem is that I need a resource DLL. so, it implies 2 files by language : 1 exe + 1 dll. I need just one file by language

    C / C++ / MFC help learning

  • Multilanguage Resource compilation options
    X XtremDev

    Hi, I have inserted several resources in my project : ENU and FRA. I would like to generate 2 applications: - one only with the ENU resources - the second only with the FRA resources I tried to set the 'project settings > resources Tab' options with diferents parameters with no result. Please help Me! PS: I don't want a resource DLL. the project needs only one EXE file by language XtremDev

    C / C++ / MFC help learning

  • need help for a search loop
    X XtremDev

    may be that your recursive search is too deep ... Did you try to increase the stack size in the project > settings > link options

    C / C++ / MFC help debugging question

  • where ESC goes
    X XtremDev

    CDialog::OnCancel()

    C / C++ / MFC question

  • win 32 C++ code performance optimization
    X XtremDev

    If you parallelize 2 downloads you will divide the download bandwitdh by 2 ??? no ? in consequence the download of the both files will take the same time than if you download one by one. However I think that installing during downloading is a good idea.

    C / C++ / MFC performance c++ algorithms question code-review

  • "Paint" Separator on Dialog?
    X XtremDev

    So you can do that : CWnd * l_pRadioWnd = GetDlgItem(IDC_RADIO); if( !l_pRadioWnd ) return; CRect l_rctItem; l_pRadioWnd ->GetClientRect(l_rctItem); int l_nYLine = l_rctItem.bottom+10; CDC * l_pDC = GetDC(); CPen l_GrayPen(PS_SOLID, 1, RGB(100, 100, 100)); CPen l_WhitePen(PS_SOLID, 1, RGB(255, 255, 255)); CPen * l_pOldPen = l_pDC->SelectObject(&l_GrayPen); l_pDC->MoveTo(l_rctClient.left+2, l_nYLine); l_pDC->LineTo(l_rctClient.right-2, l_nYLine); l_pDC->SelectObject(&l_WhitePen); l_pDC->MoveTo(l_rctClient.left+2, l_nYLine+1); l_pDC->LineTo(l_rctClient.right-2, l_nYLine+1); l_pDC->SelectObject(l_pOldPen); ReleaseDC(l_pDC);

    C / C++ / MFC question

  • How to change the file version of o/p exe file property in VC .Net [modified]
    X XtremDev

    Use the resource editor to edit the version.

    C / C++ / MFC csharp help tutorial announcement learning

  • "Paint" Separator on Dialog?
    X XtremDev

    override the OnPaint() function and add this code : CRect l_rctClient; GetClientRect(&l_rctClient); CDC * l_pDC = GetDC(); CPen l_GrayPen(PS_SOLID, 1, RGB(100, 100, 100)); CPen l_WhitePen(PS_SOLID, 1, RGB(255, 255, 255)); int l_nYLine = l_rctClient.top + l_rctClient.Height()/2; // example for your line y coordinate //could also be //GetDlgItem(IDC_MYITEM)->GetClientRect(l_rctItem); //int l_nYLine = l_rctItem.bottom+10; CPen * l_pOldPen = l_pDC->SelectObject(&l_GrayPen); l_pDC->MoveTo(l_rctClient.left+2, l_nYLine); l_pDC->LineTo(l_rctClient.right-2, l_nYLine); l_pDC->SelectObject(&l_WhitePen); l_pDC->MoveTo(l_rctClient.left+2, l_nYLine+1); l_pDC->LineTo(l_rctClient.right-2, l_nYLine+1); l_pDC->SelectObject(l_pOldPen); ReleaseDC(l_pDC);

    C / C++ / MFC question

  • Open file and recent files in MFC
    X XtremDev

    1 => the function AddToRecentFileList of the application is automatically called by the document to complete the MRU (Most Recent Files) file list when the application open a MRU file, the function OnOpenRecentFile is called by the application class 2 => in your class application::InitInstance there's the fuction LoadStdProfileSettings(5) which is called. This define the number of MRU

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

  • Application hibernation [modified]
    X XtremDev

    I see 2 solutions : - Create a service : I know that you dont want to do this...but a service is not closed on logoff - Use the Run Registry Key to launch your app for each logon and optimize the applicatino loading

    C / C++ / MFC help java json question

  • Application hibernation [modified]
    X XtremDev

    Did you try to add a key in the following registry path "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" to automatically start your application for all users ?

    C / C++ / MFC help java json question

  • Finding number of occurences in a list of numbers
    X XtremDev

    Why did you use the name 'list' for a variable which is an array ? Could you post your current algorithm to correct it ?

    C / C++ / MFC help tutorial

  • Substing in VC++ [modified]
    X XtremDev

    Just for fun and if your interrested in that solution, try this : char string[] = "abc def ghi"; char * token = strtok(string, " "); while( token ) {     printf("[%s]\n", token);     token = strtok(NULL, " "); }

    C / C++ / MFC c++ question

  • Accessing MS Excel 2003 Data with MFC C++
    X XtremDev

    try this Otherwise search "Excel Automation" on google

    C / C++ / MFC csharp c++ visual-studio algorithms xml

  • findfirst file
    X XtremDev

    google is your friend !

    C / C++ / MFC

  • forward declare member function so that it can be friend function
    X XtremDev

    You can declare the other cat function as protected. In that case, the dog can not access to that function

    C / C++ / MFC help question learning
  • Login

  • Don't have an account? Register

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