CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ovidiucucu

Page 1 of 5 1 2 3 4

Search: Search took 0.20 seconds.

  1. Re: CFileDialog mulitple selection limit - is there a workaround ?

    See also the Remarks section in CFileDialog class documentation.
  2. Re: MFC C++ multiple OnSetActive() calls happening at once

    1. Do not use AfxMessageBox for debugging purpose. Use TRACE macros instead.
    2. Do not use OnSetActive for drawing purpose. Handle WM_PAINT instead.
    3. Do not call Sleep function for simulating...
  3. Replies
    2
    Views
    183

    Re: My program process.

    One aside note: AFAIK, the system frees all resources when the process terminates, so it is not obviously necessary to take care of allocated memory when the process ends unexpectedly.
  4. Replies
    1
    Views
    237

    Re: web browser compact 7

    If you are "quite new to programming" then try using a framework.
    C/C++, raw-WinAPI, and COM programming aren't for beginners.
  5. Replies
    9
    Views
    378

    Re: You can create a program like this?

    If I can? Probably yes.
    How? Sweating a lot.
  6. Replies
    55
    Views
    1,762

    Re: Pseudopointers

    @eightyfive


    About a discussion (generally speaking)
    When a couple of experienced people (programmers and not only) disagree your point, the best thing you can do is to stop arguing, at least...
  7. Replies
    4
    Views
    331

    Re: Profiling tool for MSVC

    Yes, Visual Studio comes with built-in profiling tools.
    Have a look in MSDN at Analyzing Application Performance using Profiling Tools.

    And yes of course, it is free to use as long as you already...
  8. Re: Resource view takes hangs when trying to edit rc file

    Normally, should be not any problem with resources when porting to a newer Visual Studio version.
    And, if something is wrong in the resource script (.rc) file, the resource editor should not hang...
  9. Re: Win32 API support in MFC Dialog based application.

    @VictorN & OReubens
    [ off-topic ]
    I noticed that newer versions of MSDN tend to eliminate references to older Windows versions. Possible, they want to place them in the Dark (Windows Programming)...
  10. Replies
    9
    Views
    393

    Re: DoModal is not a Member?

    ...and, in each situation of this kind (and every time it's necessary), have a look in the documentation: http://msdn.microsoft.com/en-us/library/bk77x1wx(v=vs.80).aspx.
    Or, hit F12 key for jumping...
  11. Replies
    4
    Views
    347

    Re: enum versus private enum

    Well, you are now in the right place: "Managed C++ and C++/CLI".
    Not because some evil "hall monitors" just want to move your posts, but to give you a better chance to get an answer.

    [ Moved...
  12. Replies
    4
    Views
    228

    Re: Productivity Tools for C++?

    Just to complete.
    IMO, making refactoring as well as intellisense for a managed language like C# is much easier than making the same for C++.
    That because for C++ it should, for example, parse...
  13. Replies
    4
    Views
    228

    Re: Productivity Tools for C++?

    Visual C++ HAS an intellisense/autocomplete/go-to-definition that actually WORKS for programs written in C++.
    Probably you refer to C++/CLI for which, AFAIK, there are some missing intellisense...
  14. Replies
    9
    Views
    824

    Re: Problem registering windowsclass

    MFC uses a hook to catch the window creation and add in a map pairs of window handles and pointers to object.
    Then, in the static window procedure, having a window handle, looks up in the map for...
  15. Replies
    9
    Views
    824

    Re: Problem registering windowsclass

    [ Moved thread ]

    Just to complete: WndProc callback function can be a member function as well, but this case it must be static.
  16. Re: How to change the height and width of a png image dynamically using vc++?

    Additional remarks.
    Having again a look in your code, I've noticed that you are trying to draw in a control from its parent window class.
    Generally, do not draw in a window (control or anything...
  17. Re: How to change the height and width of a png image dynamically using vc++?

    There is not very clear which is the destination of the scaled image.

    If you want to draw it in the window, then it's very simple.
    Here is a simple example that stretches the original image to...
  18. Re: How to change the height and width of a png image dynamically using vc++?

    No need of third-party library.
    Just use CImage::Draw method.
  19. Re: Windows Explorer -Libraries - Documents - New

    No, modifying MFC framework source code isn't a solution because isn't possible for you to rebuild MFC libraries.
    Each time you want to change some default implementation, find a virtual function to...
  20. Re: Iterating through web browser's controls

    Spy++ didn't show any child windows in a web page, simply because a web page doesn't contain any child window, but HTML elements.
    As Igor already suggested, for IE use COM interface to enumerate...
  21. MFC MDI: How to change the background of the MDI main frame? (3)

    If the main frame class is derived from CMDIFrameWndEx (Visual Studio 2008 and newer), the solution is much simpler: just override CMDIFrameWndEx::OnEraseMDIClientBackground.

    Example

    BOOL...
  22. Re: Why can't I drag text into my MFC app from IE?

    I've simply tried under a standard user account and it works with no elevation or other stuff of this kind.
  23. Re: Why can't I drag text into my MFC app from IE?

    I've tried it and works with no problem (Windows 7, Internet Explorer 9).
    See the picture:

    30903
  24. Re: How to put ascending integer and descending integer

    Obviously in netbeans c++? Have you any idea what's an integer and what's stdio.h? :)
    Now seriously, what you really, really want?
  25. Re: A question about deleting a native pointer

    [ Moved thread ]
Results 1 to 25 of 108
Page 1 of 5 1 2 3 4



HTML5 Development Center

Click Here to Expand Forum to Full Width