Thread: Button Images and Saving

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    14

    Button Images and Saving

    Hello. I'm relatively new to Windows programming and I have two questions.

    Number One: Could somebody please post an example of a CreateWindowEx() function which creates a button with an image on it, rather than a caption?

    Number Two: Is there a standard Windows function for showing a "save as" dialogue box? I'm creating a program that opens and saves files, and I'd like to know how to create a dialogue box that displays a file directory list and a file name box that looks similar to the ones that are displayed in Office programs when you "save as" or "load".

    Thanks. Any help would be greatly appreciated.
    ...

  2. #2
    Registered User Dante Shamest's Avatar
    Join Date
    Apr 2003
    Posts
    970
    Number One: Could somebody please post an example of a CreateWindowEx() function which creates a button with an image on it, rather than a caption?
    bitmapandicon.zip

    Number Two: Is there a standard Windows function for showing a "save as" dialogue box?
    GetSaveFileName

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    14
    Thank you very very much.
    ...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Drawing and saving a plot
    By thetinman in forum C# Programming
    Replies: 2
    Last Post: 01-07-2009, 08:27 AM
  2. saving bmp image files
    By aniramg69 in forum C Programming
    Replies: 10
    Last Post: 12-30-2008, 10:08 AM
  3. saving data into a file
    By afrm in forum C Programming
    Replies: 4
    Last Post: 05-22-2006, 09:54 AM
  4. saving screen to file
    By z0diac in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 02-23-2003, 07:00 PM