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.15 seconds.

  1. Replies
    14
    Views
    576

    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.
  2. Replies
    10
    Views
    460

    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.
  3. Replies
    24
    Views
    1,079

    Re: how can i subclass a menu?

    TrackPopupMenu function

    Menu Reference

    Beware of lambda expressions in WinAPI Applications! C++11 lambdas are great but still buggy. Stay cool and wait a little! ;)
  4. Replies
    24
    Views
    1,079

    Re: how can i subclass a menu?

    "When in Rome, do as Romans do!"
    That is completing what Igor already said and means in this context "if deal with menus, use menus' documented stuff!"
    If you want to write your own menu class,...
  5. Replies
    24
    Views
    1,079

    Re: how can i subclass a menu?

    Don't need to "subclass" a menu. Just handle the WM_COMMAND message which is sent to the owner window when the user selects a menu command item.
    See WM_COMMAND message documentation in MSDN.
  6. Re: Need Suggestion to choose Visual Studio Version ...

    That's pretty cool! :thumb:
  7. Re: Need Suggestion to choose Visual Studio Version ...

    Seriously.
    Making an application with the same look & feel in all platforms is not always a wise idea.
    For example, Mac OSX and Windows applications have pretty different standard look & feel. ...
  8. Re: Need Suggestion to choose Visual Studio Version ...

    Not mandatory but yes, I would like to recommend using MFC even in new Windows applications as a good option. You can easily benefit of MFC support for modern UI such as docking windows, enhanced...
  9. Re: Need Suggestion to choose Visual Studio Version ...

    If cross-platform is not a must, it has no much sense to "get rid of MFC". It's much easier to port a legacy MFC application from older to a newer version than rewriting it from scratch using another...
  10. Replies
    5
    Views
    408

    Re: Free wmf editor

    Just click http://bit.ly/ZCw3JP.
  11. Replies
    10
    Views
    540

    Re: IE6 source code

    CHtmlView class "provides the functionality of the WebBrowser control within the context of MFC's document/view architecture".
    See also how to make a simple Web Browser.
    Further, if you want...
  12. Replies
    10
    Views
    540

    Re: IE6 source code

    I have seen one demo here http://codexpert.ro/blog/2014/02/02/multiple-view-file-explorer/. :)
    Well, you can easily make tabbed views in an MFC application if have at least Visual C++ 2008 SP1 (or...
  13. Replies
    10
    Views
    540

    Re: IE6 source code

    It's not much useful to have the IE (or other browser, open-source or not) source code, except if you are effectively developing it.
    More practical is to use its interfaces (which are documented) to...
  14. Replies
    23
    Views
    1,329

    Re: User Callback & CResource Exception

    One additional remark, regarding your code.
    It is not necessary to handle WM_PAINT or WM_ERASEBKGND message for changing the dialog's background color.
    A better way is to handle WM_CTLCOLOR.
    ...
  15. Replies
    23
    Views
    1,329

    Re: User Callback & CResource Exception

    The standard way to hide the "Help" button in a property sheet is to remove PSH_HASHELP and PSP_HASHELP from PROPSHEETHEADER structure (contained in CPropertySheet) and PROPSHEETPAGE structure...
  16. Re: how send the class pointer with SetTimer()?

    As a good PM may think "if the task says 'create a timer', then focus on the task and write a timer and nothing more".
    As a good developer may think a little bit beyond: "is this enough or must do...
  17. Re: how send the class pointer with SetTimer()?

    How else? :)

    KISS as well:

    // Somewhere in my CMyWindow message handler
    m_nCallbackTimer = SetTimer(nIDEvent, uElapse, &CMyWindow::MyTimerProc);


    Mission accomplished, but don't simply...
  18. Replies
    10
    Views
    540

    Re: IE6 source code

    I never heard about that.
  19. Replies
    23
    Views
    1,329

    Re: User Callback & CResource Exception

    Whoau, that scares me! :)

    This case is easier to make your own PropertySheet and PropertyPage classes. But still needs a lot of sweat...
    Why don't you follow the standard UI?
  20. Re: how send the class pointer with SetTimer()?

    ...and probably, we have to further choose a solid C++ interface over Windows message queue (and so on, and so on), eventually by using at least three patterns from "Architect's Little Red Book". :)
  21. Replies
    23
    Views
    1,329

    Re: User Callback & CResource Exception

    [ continued ]

    You can find attached here a simple demo project that uses a property sheet in wizard mode.
    Download: 32987

    Basically, all I have done is the following:

    created a new...
  22. Replies
    23
    Views
    1,329

    Re: User Callback & CResource Exception

    Looks like a property sheet in wizard mode: http://msdn.microsoft.com/en-us/library/windows/desktop/bb774538(v=vs.85).aspx#propsheet_wizards.
    If using MFC, that can be easily made with...
  23. Replies
    23
    Views
    1,329

    Re: User Callback & CResource Exception

    I kindly did it.
    But your code is enough shuffled (calls message handlers from message handlers, calls SetTimer from DoDataExchange, creates dialogs when handling WM_TIMER, etc.) and the program...
  24. Thread: XML Parsing

    by ovidiucucu
    Replies
    19
    Views
    1,259

    Re: XML Parsing

    Probably, the word "inbuilt" used here is not very clear for me. :)
    So let me try do detail a little bit by quoting from MSDN:




    All details can be found here:...
  25. Re: how send the class pointer with SetTimer()?

    @Codeplug
    You defined about five classes and wrote over one hundred lines of code just for dealing with ::SetTimer, ::KillTimer and a callback procedure.
    IMHO, that's too much and breaks the KISS...
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