CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Jun 2021
    Posts
    51

    How to avoid Titlebar flicker?

    Hi,
    In the the my code,from MFC form, I call the ::Setfocus(hwnd) function to focus another windows application only once.
    then i setfocus back to my MFC form.

    my code like this:
    Code:
    HWND hwnd=getappHwnd(app);
    ::Setfocus(hwnd);
    ::Setfocus(this->m_hWnd);
    Even though it's very fast but I still see the Title flicker.
    Can I disable it without using the UnTitlebar form (by set property border none)?

    Thanks you!
    Last edited by Dang.D.Khanh; July 20th, 2021 at 08:10 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured