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

Space Ace

@Space Ace
About
Posts
26
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Retrieving the page number, when looking for a word in MS Word
    S Space Ace

    I have the following problem: I need to find all cases, when a word (say 'CodeProject') is used in an MS Word file. Each time this word is found the page number should be somehow saved or displayed. I'm not familiar with VB, so I really need help! Thanks in advance!

    Visual Basic help

  • Problems at an interview
    S Space Ace

    I wonder, what problems each of you has been given at the interview? I think that would be both interesting and useful for everyone at CodeProject!

    IT & Infrastructure question career

  • quick file question...
    S Space Ace

    The problem is clear. Some solutions have already been mentioned but the easiest way to do it is ifstream inFile("text.dat", ios::nocreate);The default value is ios::in

    C / C++ / MFC question

  • Unable to get CRgn....
    S Space Ace

    Actually I can't understand what for you need to convert some text into a path :) But it seems to me that each letter of your text is a subpath and you should close each subpathwith the help of CloseFigure function. (Petzold "Programming Windows 95", Chapter 4) Hope this helps

    C / C++ / MFC help

  • MFC
    S Space Ace

    Please ask a more detailed question. What exactly would you like to know? Then perhaps several people will divide the work between themselves and write several tutorials. Be specific :)

    Article Writing question c++ help learning

  • I'm stumped
    S Space Ace

    The clue has already been posted: you'd better pass a pointer rather than the whole object. You try to pass the whole object and consequently a copy of your object. To make a copy you need a constructor CFileDialog(const CFileDialog &) Even if you had it, it would be a poor way of implementing what you want because it would be too time- and resource- consuming. Thus pass a pointer and enjoy. Hope this helps.

    C / C++ / MFC c++ csharp visual-studio com debugging

  • Distant job
    S Space Ace

    Thanks, the idea of charity work is brilliant, but there's one problem. You know, I live in Russia and we don't seem to have any 'charity events'. Is there any information about green events available in the Internet or somewhere else online?

    Work Issues c++ question career

  • ReBars (urgent)
    S Space Ace

    Oh yeah, thanks, that helped, it turned out to be m_wndDlgBar

    C / C++ / MFC help learning

  • ReBars (urgent)
    S Space Ace

    Please, help!!

    C / C++ / MFC help learning

  • ReBars (urgent)
    S Space Ace

    Thanks, I've got your idea. But how exactly should I obtain a handle to the ReBar window? (sorry, I'm just a beginner)

    C / C++ / MFC help learning

  • Beginners owner draw button
    S Space Ace

    Well, there is a bit in "Programming VC++ 6.0" (Kruglinski, Wingo, Shepherd), Chapter 11, example 11D. In fact, there is an electronic variant of the book but it's a bit too large (about 11 Mb) Hope this helps.

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

  • ReBars (urgent)
    S Space Ace

    I've a ReBar in my SDI-Application and an Extended Combo Box in it. With the help of Class Wizard I select an existing class (CMainFrame) to be associated with the IDR_MAINFRAME resource of the rebar. In CMainFrame I create a OnSelChangeComboboxex1() function. It looks like this: CComboBoxEx *pCombo = (CComboBoxEx *)GetDlgItem(IDC_COMBOBOXEX1); int nSel = pCombo->GetCurSel(); etc. But the program fails because of some unhandled exception. I really don't know what the problem can be. Someone, please, help!

    C / C++ / MFC help learning

  • Using a class!!!
    S Space Ace

    VC++ adds some headers all by itself so you may have forgotten to include some file (this has already been said before). So just open VC++ and add a class with Class Wizard.

    C / C++ / MFC csharp c++ asp-net help question

  • Using a class!!!
    S Space Ace

    How exactly did you create a class? A safe way of doing that is to create a simple AppWizard project and use Class Wizard to create a generic class. Thus Class Wizard will generate the headers so that you'll only need to add your code.

    C / C++ / MFC csharp c++ asp-net help question

  • CArray and memory allocation
    S Space Ace

    I wonder if there's a way of making Windows not reallocate the memory for CArray objects without using CArray::SetSize(int) function? I mean I want to create a dynamic array of relatively large objects and I need pointers to the elements. When I add a new element with CArray::Add function, the operating system reallocates the memory and my pointers to the previous elements become invalid. Is there any way of 'fixing' the addresses of the elements?

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

  • Auto Complete function in the editor
    S Space Ace

    Thanks, Mike, it really fixed things!

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

  • GetWindowExt
    S Space Ace

    Chris Losinger wrote: what happens if you don't call OnPrepareDC ? This way it doesn't work either. In this case it returns 1 which is obvious: if we don't call OnPrepareDC the map mode is not set.

    C / C++ / MFC question

  • Auto Complete function in the editor
    S Space Ace

    I've noticed several times that the 'Auto Complete' function in my VC++ Editor doesn't work in certain parts of the code. Despite numerous attempts I haven't noticed any logic its behaviour: sometimes it works, sometimes not. Has anyone ever had such a problem or is it a bug of my version?

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

  • Necessary Skills
    S Space Ace

    I wonder what 'Microsoft' line means in this statistics. What technologies do they mean by that?

    Work Issues c++ java perl question career

  • GetWindowExt
    S Space Ace

    Chris Losinger wrote: where in the program? Well, I'm calling it in OnLButtonDown (just as a test). By this time the window is definitely already shown.

    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