Howdy, Stranger!

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

Categories

CWnd::SetIcon() freezes application ???

s_ks_k Member Posts: 57
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.

Comments

  • Chris BrownChris Brown USAMember Posts: 4,624 ✭✭

    _____ ( http://forcoder.org ) free video tutorials and ebooks about [ Visual Basic, Go, C++, JavaScript, Objective-C, Ruby, C, Scratch, C#, PL/SQL, Assembly, Java, Python, MATLAB, R, PHP, Swift, Perl, Visual Basic .NET, Delphi Hack, Awk, Scala, ML, ABAP, Lua, F#, LabVIEW, Erlang, Kotlin, Scheme, Lisp, Alice, Prolog, Dart, Logo, COBOL, Bash, SAS, Ada, Julia, VBScript, Transact-SQL, Fortran, Rust, Clojure, FoxPro, Crystal, D, Apex ] _______

Sign In or Register to comment.