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
S

solex

@solex
About
Posts
11
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Returning from Dialogbox
    S solex

    Just add 2 strings to your dialog box class. Either make them public or write accessor functions. After DoModal returns your dialog object is still valid and you get the values via dlg.GetValue1(), dlg.GetValue2(). A vast majority of our imports comes from outside the country. George W. Bush

    C / C++ / MFC c++ json question

  • using timers
    S solex

    He doesn't - he as ID_CLOCK_TIMER and ID_COUNT_TIMER but they both seem to have the same value. A vast majority of our imports comes from outside the country. George W. Bush

    C / C++ / MFC c++ question debugging help learning

  • add file to project problem.
    S solex

    Just do a Rebuild all after having added StdAFX.h A vast majority of our imports comes from outside the country. George W. Bush

    C / C++ / MFC help question c++ announcement workspace

  • Disable Close Button in the Dialog's Caption
    S solex

    What do you mean by "in the caption" Would GetDlgItem(ID_CLOSE)->EnableWindow(FALSE); do? A vast majority of our imports comes from outside the country. George W. Bush

    C / C++ / MFC question

  • Better than the Startup folder
    S solex

    I'd say the \\Software\\... should be just Software\\..... A vast majority of our imports comes from outside the country. George W. Bush

    C / C++ / MFC windows-admin question

  • Access Database woes...
    S solex

    Are you sure that your database could be opened? You are not checking the return value. The rest of the code is fine, but there is no need for a CRecordset. What does the error string say? A vast majority of our imports comes from outside the country. George W. Bush

    C / C++ / MFC database c++ help question announcement

  • Capturing F10
    S solex

    Hi I did this using OnSysKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags) .. if (VK_F10 == nChar) .. and it works fine. Use ::GetKeyState to find out about Alt, Ctrl and so on

    C / C++ / MFC question sales

  • CListCtrl
    S solex

    Hi solved it by first inserting a 0 width column - seems to work just fine. Thank you all Solex

    C / C++ / MFC help design question

  • CListCtrl
    S solex

    Hi using the style LVCFMT_RIGHT in CListCtrl::InsertColumn(..) will right justify any text in any but the first column. Anybody knows about that - is that by design or a bug and how could I get my first column right justified? Thanks for any help Solex

    C / C++ / MFC help design question

  • How do I Set the default Location for Saving Files??
    S solex

    No this means that you do a GetCurrentDirectory SetCurrentDirectory, do your file saving and return to the directory that you retrieved with GetCurrentDirectory. But anyway, as you never can be sure what the current directory is, unless you set it yourself,you should never try to read/write without an exact directory location and temorary files should go into the TEMP variable or the winnt\system.

    C / C++ / MFC question

  • How do I Set the default Location for Saving Files??
    S solex

    SetCurrentDirectory The SetCurrentDirectory function changes the current directory for the current process. BOOL SetCurrentDirectory( LPCTSTR lpPathName // pointer to name of new current directory ); Parameters lpPathName Pointer to a null-terminated string that specifies the path to the new current directory. This parameter may be a relative path or a fully qualified path. In either case, the fully qualified path of the specified directory is calculated and stored as the current directory. Return Values If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Remarks Each process has a single current directory made up of two parts: A disk designator that is either a drive letter followed by a colon, or a server name and share name (\\servername\sharename) A directory on the disk designator

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