PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: FireImageDemo - FireFly project to illustrate the FireImage control  (Read 2052 times)

Jean-pierre Leroy

  • Senior Member
  • ***
  • Posts: 469
  • expect nothing, be prepared for everything ...

Dear FireFly users,

I'm am happy to share with you a sample FireFly project that illustrates some aspects of the FireImage control; this project FireImageDemo illustrates how to ...

1. ... load dynamically a new picture into the control (%FIREIMAGE_SETIMAGENORMAL message)
2. ... adjust the image to the various available styles (%FIREIMAGE_SETFITSTYLE message)
3. ... resize a FireImage control proportionally to the size of the FORM (%WM_SIZE message)
4. ... restrict window/form resize to specific values (%WM_GETMINMAXINFO message)

Notes:
   1. This project could be compiled with PowerBASIC Include files or Jose ROCA Includes files
   2. Most of the snippets in this project come from Paul and/or other PB users; I just try to put everything together on a sample project.
   3. This demo is not complete but could help some FF users to start with the FireImage control.
   4. The module Module1.inc contains some specific functions that are necessary to compile this project.

Your feedback is welcome
Jean-Pierre
« Last Edit: December 13, 2009, 10:04:55 AM by Jean-Pierre Leroy »
Logged

David Warner

  • Junior Member
  • **
  • Posts: 111
Re: FireImageDemo - FireFly project to illustrate the FireImage control
« Reply #1 on: November 15, 2009, 07:05:29 AM »

Hi Jean-Pierre,

nice demo, thanks.  :)
Logged