Dear Antonio,
Many year ago I made beach application and I used the sbutton class of Mercado. It made some errors on the refreshing od dialog
I use on the dialog a Panel control where I show the umbrellas and the TScrWnd to scroll the beach .
Last year I tried with btnbmp class to show umbrellas of a beach and it run ok only for small beach
I tried it run on 50/60 umbrellas but I need over 800 /1200
First the procedure show right all umbrellas then when I make controls ( date range, insert numbers and control to reservations archive) the procedure EXE crash
I tried it also with 10 umbrellas : then the 75 th operation it crash ( with 200 umbrellas crash on 13 th operation)
then I tried with Image controls but it crash ( I cannot write the number on each umbrellas) but with many umbrellas it crash also
How I must make to show the umbrellas ?
Domenico tried also with no solution !!!!
I need to found a solution because a customer have 2500 umbrellas on his beach
have you a solution and a small test to try ?
Antonio, For your message :
have you check the resources consume in your app ?I no use resources I use only sources calls sample :
#define UMBRELLA_FREE ".\BITMAPS\FREE.BMP"
#define UMBRELLA_OCCUPATED ".\BITMAPS\OCCUPATED.BMP"
#define UMBRELLA_DAILY ".\BITMAPS\DAYBEACH.BMP"
#define UMBRELLA_NOTPAYED ".\BITMAPS\NOTPAYED.BMP"
#define UMBRELLA_RESERVATION ".\BITMAPS\RESERV.BMP"
sample of planning