CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2006
    Posts
    285

    Icon to MessageBox

    Hi
    I wanna ask something again about MessageBoxes.. Is it simple to bring my picture(ico,bmp,png) or any other formats to the MessageBoxes instead of for example ICONHAND??? Can i do that with code?? Any ideas?

  2. #2
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,150

    Re: Icon to MessageBox

    Try to use MessageBoxIndirect as is shown here: http://nibuthomas.wordpress.com/2007...-own-icon-wow/
    Marc Gregoire - NuonSoft (http://www.nuonsoft.com)
    My Blog
    Wallpaper Cycler 3.5.0.97

    Author of Professional C++, 4th Edition by Wiley/Wrox (includes C++17 features)
    ISBN: 978-1-119-42130-6
    [ http://www.facebook.com/professionalcpp ]

  3. #3
    Join Date
    Jul 2006
    Posts
    285

    Re: Icon to MessageBox

    Ohhh it doesnt work and is too complicated

  4. #4
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125

    Re: Icon to MessageBox

    Quote Originally Posted by Leite33 View Post
    Ohhh it doesnt work and is too complicated
    You are repeatedly complaining that things are too complicated...

    What BOOK did you follow (that means reading every word in the order printed, typing in manually every line of code in the book, then stepping through every line with the debugger) for learning C++???

    Once you completed that task...What BOOK did you follow (again the same methodology) for learning Windows API Programming?

    If you can provide the titles and editions (ideally the ISBN) then I can probably tell you where you have to go back to (I have over 100 different texts on C++ programming alone). Once we determine the correct "reset point" you can effectively go back to there and begin learning properly...
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

  5. #5
    Join Date
    Jul 2006
    Posts
    285

    Re: Icon to MessageBox

    Ok.. To tell the truth i didnt use any books.. Can you suggest me some???

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