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 2.50 seconds; generated 7 minute(s) ago.

  1. Replies
    20
    Views
    3,235

    Re: How do I get rid of "Ready" in Status Bar

    :thumb::thumb::thumb:
  2. Replies
    20
    Views
    3,235

    Re: How do I get rid of "Ready" in Status Bar

    I never needed to set the status bar text before status bar has been created.


    Yes! If it is already developed/created and does work, then why not? ;)


    Because it worked for me since decades...
  3. Replies
    20
    Views
    3,235

    Re: How do I get rid of "Ready" in Status Bar

    Just test it!
  4. Replies
    20
    Views
    3,235

    Re: How do I get rid of "Ready" in Status Bar

    Well, why reinvent the wheel? :rolleyes::confused:
    Why not just use the WM_SETMESSAGESTRING?
  5. Replies
    10
    Views
    534

    Re: wait .. no blocking

    Because std::threads did NOT exist when we had begonnen using multithreading in MS Windows applications.
    We had _beginthread(ex)/_endthread(ex) to use in a plain c++/Win32 applications and a little...
  6. XML Re: Xpath expression to extract value from a node/element

    1. Please, post every code/script.xml block to be properly formatted and indented. Use Code tags for this.
    Example: you write:

    some code ...
    indentation ...
    and we will see
    some code...
  7. Replies
    10
    Views
    534

    Re: wait .. no blocking

    Well, both "condition variables" that you meant (std::mutex) and MS Event Objects (Synchronization) are synchronization objects. So I do not see any difference.
    However, I never used std::threads,...
  8. Replies
    10
    Views
    534

    Re: wait .. no blocking

    What " condition variables" do you mean?
  9. Replies
    10
    Views
    534

    Re: wait .. no blocking

    Using Worker Threads
    Using User-Interface Threads
  10. Replies
    3
    Views
    303

    Re: TRACE MACRO problem in MFC

    Wouldn't you like to change this to something like

    {
    tri = TriBuf->m_listoftriangles.GetAt(pos);
    res = tri->depth;
    TRACE("\ngetnext distance %lf \n", res);
    }
  11. Replies
    3
    Views
    303

    Re: TRACE MACRO problem in MFC

    And what value did you expect to be printed with this TRACE?
  12. Replies
    14
    Views
    875

    Re: array of objects

    Just debug your code step-by-step, also stepping in the std::vector ctor!
  13. Replies
    14
    Views
    875

    Re: array of objects

    In your sample code there is no any array/vector of MyClass. :confused:
  14. Replies
    14
    Views
    875

    Re: array of objects

    What does (in this context) mean "works OK"?
    And when it would be assumed to be "not OK"?
  15. Re: openFileDialog - AccessViolationException was unhandled

    This code:

    using namespace System;
    using namespace System::Windows;
    using namespace Forms;

    [STAThread]
    int main(array<System::String ^> ^args)
    {
    String^ MyExcelFile = String::Empty;
  16. Replies
    2
    Views
    305

    Re: Creating a popup window above an another.

    Have a look at SetWindowPos function and its second parameter
  17. Re: openFileDialog - AccessViolationException was unhandled

    What is openFileDialog1?
    What is MyExcelFile?
    Which line causes the exception?
  18. Replies
    1
    Views
    312

    Re: How to not display a UI?

    There is a SW_HIDE value. See ShowWindow function:
  19. Replies
    1
    Views
    301

    Re: Reverse String in Python

    How about using one of the examples from https://stackoverflow.com/questions/931092/reverse-a-string-in-python ?
  20. Replies
    3
    Views
    589

    Re: need help with threads

    In the main()
  21. Replies
    5
    Views
    1,000

    Re: Printing in Windows

    Then try to use OpenPrinter function rather than the PrintDlg
  22. Replies
    5
    Views
    1,000

    Re: Printing in Windows

    Did you debug your code?
    What do all these functions:

    return?
  23. Replies
    5
    Views
    1,000

    Re: Printing in Windows

    Are you sure the points (10, 100) and (20, 200) are within the printing area?
  24. Replies
    4
    Views
    511

    Re: Compatible C++ libraries Questions.

    I doubt...
    Just because there is no so many people at CG that work with cross-platform programming.
  25. Replies
    1
    Views
    415

    Re: Question about send() function.

    Didn't you read the documentation of send function? :confused:
    There is a pretty clear description:
Results 1 to 25 of 1991
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured