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

Search:

Type: Posts; User: Kiattisak

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    416

    Re: MFC-SDI does not work on different PC

    CDockablePane
  2. Replies
    7
    Views
    416

    Re: MFC-SDI does not work on different PC

    1. Yes, it does. It works as it should be.
    2. Yeah! There may be some differences in hardware/software between my original laptop and the other, but not much. Yes, the same copy of VS is installed...
  3. Replies
    7
    Views
    416

    Re: MFC-SDI does not work on different PC

    At first, just the executable one with release mode because that laptop doesn't have Visual Studio and I found that it did not work. So I suspect about there is no Visual Studio.

    After that, I...
  4. Replies
    7
    Views
    416

    MFC-SDI does not work on different PC

    35597
    I am working on MFC-SDI.
    I use the advanced frame pane option from MFC wizard to create my project, as shown in the picture. I use Visual studio 2015.
    It is working well in what I want it to...
  5. Thread: OnIdle?

    by Kiattisak
    Replies
    15
    Views
    1,214

    Re: OnIdle?

    Finally, I do this approach as shown below. It works in the way I want. However, more comments, suggestions, and advice are still welcome to make it even better.



    MSG msg;
    non_stop = true;
    do...
  6. Thread: OnIdle?

    by Kiattisak
    Replies
    15
    Views
    1,214

    Re: OnIdle?

    Thank you very much for your reply. I will check it again very carefully. By the way, I already switched to use while loop, rather than an if statement.
  7. Thread: OnIdle?

    by Kiattisak
    Replies
    15
    Views
    1,214

    Re: OnIdle?

    Yes, I use just one thread. So I will try.
  8. Thread: OnIdle?

    by Kiattisak
    Replies
    15
    Views
    1,214

    Re: OnIdle?

    I tried to follow the link you gave me, but it does not work. I still cannot do anything else while the loop is performing. Anyway I do not use thread, do I need to use it?
  9. Thread: OnIdle?

    by Kiattisak
    Replies
    15
    Views
    1,214

    Re: OnIdle?

    Verry sorry and thank you very much.
  10. Thread: OnIdle?

    by Kiattisak
    Replies
    15
    Views
    1,214

    Re: OnIdle?

    I don't think this (the code below) would be enough.
    As I stated earlier, while the loop is running, I cannot do anything else.
    It is very late in the night time here, so I will study more in the...
  11. Thread: OnIdle?

    by Kiattisak
    Replies
    15
    Views
    1,214

    Re: OnIdle?

    To be more specific,
    if I have the loop like this:



    non_stop = true;
    do
    {
    do_some_action();
    }
  12. Thread: OnIdle?

    by Kiattisak
    Replies
    15
    Views
    1,214

    Re: OnIdle?

    Yes, it is. It is my own application.
    The code segment is shown in the following:



    void CMIDEView::OnPlayButton()
    {
    // TODO: Add your command handler code here
    this->m_bPlayAnimation =...
  13. Thread: OnIdle?

    by Kiattisak
    Replies
    15
    Views
    1,214

    OnIdle?

    Sorry if I repeated the same question. But as I tried to find there was no Q&A that fitted in with my work.

    What I want to know is this:
    I am working on SDI-MFC application. I click on the...
Results 1 to 13 of 13


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)