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

Search:

Type: Posts; User: VictorN

Page 1 of 80 1 2 3 4

Search: Search took 1.96 seconds.

  1. Replies
    4
    Views
    72

    Re: Reopen the Dialog.

    What if you add (the block in blue)?

    if (m_pResultAnalysisDialog)
    {
    WINDOWPLACEMENT windowPlace;
    windowPlace.length = sizeof(WINDOWPLACEMENT);
    BOOL bOk =...
  2. Re: How to generate a condition (true or false) based on possibilities?

    Perhaps, this one will work?...
  3. Replies
    11
    Views
    2,470

    Re: variable visualisation in MSVC2019 debugger

    Very simple: you should ask your questions directly in the forum posts, not in some attachments that have to be downloaded just to read what you meant.
    The same is valid for the (not too long) code...
  4. Replies
    9
    Views
    144

    Re: MFC CListCtrl change checkbox color

    Then you nave to implement owner or custom drawing!
    some examples:
    http://codexpert.ro/blog/2013/02/22/custom-draw-vs-owner-draw-controls/
    https://www.codeproject.com/KB/list/#Custom+Draw
  5. Replies
    9
    Views
    144

    Re: MFC CListCtrl change checkbox color

    Did you try using CListCtrl::SetBkColor? Does it work or not?
  6. Re: How to return the value of a const char* method

    std::string myString = getOwnerSerNoString();
  7. Replies
    9
    Views
    144

    Re: MFC CListCtrl change checkbox color

    CListCtrl already has the methods to set the background ( https://docs.microsoft.com/en-us/cpp/mfc/reference/clistctrl-class?view=msvc-160#setbkcolor ) and text colors. So you don't need to handle...
  8. Replies
    9
    Views
    144

    Re: MFC CListCtrl change checkbox color

    CListCtrl or CListBox?
    The CTLCOLOR_LISTBOX belongs to the CListBox class (ListBox control)
  9. Re: Using datagridview AdjustCellBorderStyle function to change border color

    [moved from Visual C++ Programming Forum]
  10. Re: Using datagridview AdjustCellBorderStyle function to change border color

    The code you have posted has nothing to do with the native C++.
    It looks like the managed code.

    So I move this thread to the most appropriate Forum.
  11. Replies
    25
    Views
    703

    Re: Excel Automation Headaches

    Why "exit(0)"? Why "_exit()"? :confused:
    Using either of these in MFC application never was a good idea! And it is still a bad idea now!
  12. Replies
    25
    Views
    703

    Re: Excel Automation Headaches

    Then have a look at the post#17
  13. Replies
    5
    Views
    293

    Re: Closing a Dialog Box

    And does this code work?
  14. Replies
    25
    Views
    703

    Re: Excel Automation Headaches

    Then try the option "... from registry..." (sorry, i currently do not have any VS on my notebook, therefore cannot be more precise)
  15. Replies
    2
    Views
    298

    Re: Identifier is undefined - why?

    [moved from Visual C++ Programming forum]
  16. Replies
    25
    Views
    703

    Re: Excel Automation Headaches

    If you will use VS2017 to create the Excel-MFC classes from the type library then you won't need any #import at all, neither mso.dil, nor VBE6EXT.OLB, nor excel.exe.
    Only the classes created from...
  17. Replies
    25
    Views
    703

    Re: Excel Automation Headaches

    The best and simplest way would be using https://docs.microsoft.com/en-us/previous-versions/office/troubleshoot/office-developer/automate-excel-from-mfc-fill-data
    The only problem here is the...
  18. Replies
    21
    Views
    5,259

    Re: Installing Windows 8.1

    Dear Tim Paine,
    whom will it be helpful to install OS which "Mainstream support ended on January 9, 2018"?
  19. Re: Get the SelectedIndexChanged events of a combobox to fire Visual Studio 2012

    You were asked not to try "other events"!
    Did you set the breakpoint inside the ComboBox1_SelectedIndexChanged handler to see if it fires?
  20. Re: No output displayed in control after deserializing XML to List of Objects

    You have to debug your code step-by-step to find out what, where and why goes wrong or non expected.
  21. Re: Isn't there an easy way to sort a ListView by 1 column with Visual Studio 2012

    Could this example help you?
  22. Replies
    6
    Views
    319

    Re: string replace related

    The possible way would be implementing a recursive function that searches for the expression of the form
    <some_digit>[some_substring]
    and parse it.
  23. Replies
    3
    Views
    702

    Re: preparing mbox/unix mailbox

    Great! It's a very useful information, particularly in 19 years after the question has been asked!
    :thumbd::(:eek:
  24. Re: How do I believe in myself when no one else does?

    Or, maybe, a goat!? :rolleyes:
  25. Re: i have 2 "errors term does not evaluate to a function tacking 2 arguments" in lin

    1. Please use COODE tags while posting code snippets.
    2. Where is your "line 64"?
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




On-Demand Webinars (sponsored)