Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Viewing all articles
Browse latest Browse all 3029

How to avoid Titlebar flicker?

$
0
0
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!

Viewing all articles
Browse latest Browse all 3029

Latest Images

Trending Articles



Latest Images