Archives / 2007 / May

  • Using XP-style, 32-bit png's as icons in Delphi

    Thursday, May 10, 2007
    There are some pretty great looking icons out there, with lovely drop shadows and alpha-blending, problem is they look pretty bad in Delphi since it doesn't fully support them. Below is how I use XP-style, 32-bit png images as icons inside my Delphi applications. Create a resource file Get your image into an .ico format.  I use icon sushi to convert png images into icos. Create a new text file, save it as icons.rc (you can call it whatever you want). Edit the file and for each icon create an icon resource entry, like this: icon_edit ICON "edit.ico"icon_edit is the
  • What I've Learned

    Wednesday, May 02, 2007
    There are lessons you learn in school and there are the things you learn along the way.  I've been developing software for 25 years, since I was 8, starting with a book called "Your First BASIC Program" that my dad bought me because we had a PC while all my friends were playing StarBlazers on their Apple IIs.  He said if I wanted to play games then I could write one myself.   At the time I was a bit disappointed (OK, crushed) but now... well, Dad, thank you. These are some of the things I didn't learn in school, but wish I had: