how to force paint a view in MFC.
-
ThisIsMeRon wrote:
Invalidate does not work for me.
You should ask Microsoft for a custom Invalidate, working for you. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
ThisIsMeRon wrote:
Invalidate does not work for me.
You should ask Microsoft for a custom Invalidate, working for you. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]ThisIsMeRon wrote:
Invalidate does not work for me.
i dont know what his problem is, but i have similar issue with InvalidateRect when when i was creating a control in win32, i tried RedrawWindow also but not worked. I solved issue by using the following code. HWND hParent = GetParent( hChildControl ) ; InvalidateRect( hParent , &rChildRect , TRUE ) ;
-
ThisIsMeRon wrote:
Invalidate does not work for me.
i dont know what his problem is, but i have similar issue with InvalidateRect when when i was creating a control in win32, i tried RedrawWindow also but not worked. I solved issue by using the following code. HWND hParent = GetParent( hChildControl ) ; InvalidateRect( hParent , &rChildRect , TRUE ) ;
-
ThisIsMeRon wrote:
Invalidate does not work for me.
You must be using this API on wrong object. There is no way Microsoft has put some switch condition, not to work on your machine.
-
ThisIsMeRon wrote:
Invalidate does not work for me.
You should ask Microsoft for a custom Invalidate, working for you. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]Your site is better I think it has a function Invalidatemyrequest(very urgent); :)
Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )
-
Did you use like this? Invalidate(); UpdateWindow();
Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )
-
Your site is better I think it has a function Invalidatemyrequest(very urgent); :)
Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )
:-D
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]