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

Search:

Type: Posts; User: ovidiucucu

Page 1 of 80 1 2 3 4

Search: Search took 0.17 seconds.

  1. Re: Getting exceptions on Windows 7 and Windows 8 on different parts of the Code

    Some functions may be deprecated in newer OS versions, some other ones may be not supported by older OS versions. And, some functions may have other behavior on different OS versions. And, your...
  2. Re: VC++ 6.0 & Localizatioin. What do I gain with Unicode?

    One nice additional note:
    Japanese code page 932 maps the same code (0x5C) for backslash and Yen sign.
    That was a source of troubles in a legacy application, when dealing with file paths.
    After...
  3. Re: VC++ 6.0 & Localizatioin. What do I gain with Unicode?

    Beside that already answered here, have a look at this FAQ: Which Windows API functions are faster, ANSI or UNICODE?
  4. Replies
    8
    Views
    387

    Re: add to listbox thread

    A listbox, kept in MFC CListBox class, is a simple control designed for a reasonable number of items so generally, there is not necessary a separate thread for filling it.
    For a large amount of...
  5. Re: MFC STL: How can I sort a 'CArray' (or 'CStringArray', 'CIntArray', etc.)?

    Beginning with Visual Studio 2010, can also handily use lambda expressions like in the following example:



    // ...

    bool bAscending = true;
    // ...

    ...
  6. Replies
    4
    Views
    365

    Re: Understanding Iterators

    [ redirected thread ]
  7. Re: [C/C++ 11 - win32] - about Notification area

    Again, please, is any connection between C++11 (ISO/IEC14882:2011) specific problems and what we are discussing here?
  8. Re: [RESOLVED] [C/C++ 11 - win32] - about Notification area

    [ off-topic ]

    Which is the connection between Shell_NotifyIcon, (or other (C) WinAPI functions discussed here or in other topics you started) and C++11 which you are inserting in the title?
  9. Thread: .h and .cpp

    by ovidiucucu
    Replies
    51
    Views
    2,331

    Re: .h and .cpp

    Will be probably also known as C++/HOI (i.e. C++ (with) Header-Only Implementation). :)
  10. Replies
    10
    Views
    573

    Re: A simple vmString class

    Arjay, no need to wonder (and eventually have nightmares). I never wrote my "own string class, but using other parts of the std library". :)
  11. Replies
    10
    Views
    573

    Re: A simple vmString class

    IMHO presenting this solution to someone who still have problems with memory allocation, may easily transform him/her in a copy-coder, code-monkey or script-kiddie. :)
  12. Replies
    19
    Views
    750

    Re: Dialog Window Property Question?

    Indeed, Windows API GetForegroundWindow function does not return a pointer to an MFC object (as CWnd::GetForegroundWindow does) but returns a window handle (HWND) which IS A POINTER, as well.
    HWND...
  13. Thread: .h and .cpp

    by ovidiucucu
    Replies
    51
    Views
    2,331

    Re: .h and .cpp

    Arjay, I began coding long time ago with FORTRAN and COBOL-74.
    But I never said (e.g. in a Java forum) something like
    "Coming from C++ I've always found this obsession of using garbage collector...
  14. Thread: .h and .cpp

    by ovidiucucu
    Replies
    51
    Views
    2,331

    Re: .h and .cpp

    That explains everything. :)
    No offense...
  15. Thread: .h and .cpp

    by ovidiucucu
    Replies
    51
    Views
    2,331

    Re: .h and .cpp

    ...and further we can see a lot of C++ code monkeys swearing whatever tools instead of shooting the architect which just has borrowed some cool practices from other programming languages. :)
  16. Replies
    10
    Views
    573

    Re: A simple vmString class

    Writing a simple string class is not quite simple. :)
    However, let's try to answer the OP questions.

    Q1. Why do we need to make a forward declaration of the class ostream?
    A1. Once included...
  17. Replies
    4
    Views
    386

    Re: Chat Program

    “Learn, learn and once again, learn!” said the mighty V.I.Lenin :D
    Well, afaik, seriously, there's not a tutorial named "Writing a Chat Program for FrontPage Coders". However, try to start from...
  18. Replies
    1
    Views
    257

    Re: ole32.lib / dll

    No mater the file name. We can make a DLL named ole666.dll and that doesn't mean it's a 666-bit DLL. :)
    On 64-bit systems there is a 64-bit ole32.dll in System32 folder and a 32-bit ole32.dll in...
  19. Replies
    15
    Views
    452

    Re: Customize control scrollbar

    There are two kinds of scrollbars:

    scrollbars which are shown in windows having WS_HSCROLL and/or WS_VSCROLL style;
    scrollbar common controls (of window class "ScrollBar").


    WM_CTLCOLOR...
  20. Re: [MFC MDI] How to activate a view programmatically and safely ?

    An MDI application with "tabbed views" can have zero, one or more tab groups.
    Here is an example of one having two tab groups.

    33245

    If you want to programmatically activate a tab item (and...
  21. Thread: .h and .cpp

    by ovidiucucu
    Replies
    51
    Views
    2,331

    Re: .h and .cpp

    @razzle
    Have you ever dealt with C code written in early 90'th or earlier?
    If yes, you can notice a lot of C implementation files included in other C implementation files.
    That's because the...
  22. Re: Is there any way to change the background color of a messagebox?

    First note that WM_CTLCOLORMSGBOX message is discontinued and actually has no use.
    However, we can customize a dialog box shown with MessageBox or related functions as follows:

    Before calling...
  23. Replies
    13
    Views
    669

    Re: Removing title bar from external app

    Basically, it is possible to remove the window title bar (including for windows created in other process) by removing WS_CAPTION style.
    Of course, refer to built-in window caption and not to a...
  24. Replies
    14
    Views
    957

    Re: Visual C++ 6.0 for Notepad

    If you are talking about CopyFile function, please note that it simply copy a file and does NOT perform any conversion.
  25. Replies
    10
    Views
    787

    Re: Change text and bkg color of CComboBox

    If you want to customize the look of controls which have Visual Styles then probably you have to use Visual Styles API.
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center