CWnd::SetIcon() freezes application ???

Hi,
I've very strange problem with my application: sometimes, calling SetIcon() inside my CFrameWnd window, application is freezed...
I don't know what could cause it at all.
The code looks like this:

CMainFrame::changeStatusIcon(INT IconId, const char* label)
{
___.
___.
___SetIcon(LoadIcon(MAKEINTRESOURCE(IconId)), FALSE);
___SetIcon(LoadIcon(MAKEINTRESOURCE(IconId)), FALSE);
}

Don't you know ???

Thanks Standa.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories