Button Images and Saving

This is a discussion on Button Images and Saving within the Windows Programming forums, part of the Platform Specific Boards category; Hello. I'm relatively new to Windows programming and I have two questions. Number One: Could somebody please post an example ...

  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
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    Location
    Malaysia
    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, 07:27 AM
  2. saving bmp image files
    By aniramg69 in forum C Programming
    Replies: 10
    Last Post: 12-30-2008, 09: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, 06:00 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21