CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2003
    Location
    Timisoara, Romania
    Posts
    306

    [RESOLVED] Loading standard icon in a MFC control

    I would like to load into a button, picture control or any other MFC control, one of the standard icons that I get it when I pass to MessageBox() or AfxMessageBox() function through one of the constants: MB_ICONHAND, MB_ICONQUESTION, MB_ICONEXCLAMATION, MB_ICONASTERISK.

    Is it any way to get it directly, without using a personal project handling icon/bitmap?

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: Loading standard icon in a MFC control

    CWinApp::LoadStandardIcon
    CWinApp::LoadOEMIcon
    Victor Nijegorodov

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