Scroll bars on Bitmap

Scroll bars on Bitmap

Postby Rafael Clemente » Fri Oct 27, 2006 3:40 pm

I am trying to display a Bmp image larger than the screen. I use the following line:
Code: Select all  Expand view  RUN
@ 0,0 BITMAP oBmp FILENAME CurDir()+"\Test.bmp" SIZE 290,240 PIXEL SCROLL OF oWnd


I get the horizontal and vertical bars but they are not operative, that is, the image does not move when I move the bars. Has anybody found a cure for that?
Thanks

Rafael
User avatar
Rafael Clemente
 
Posts: 365
Joined: Sat Oct 08, 2005 7:59 pm
Location: Barcelona, Spain

Postby R.F. » Fri Oct 27, 2006 4:00 pm

I did the trick once upon a time.

The scrolls bars are independent controls, not the ones in the bitmap.

You have to define the window contaniner, then define INDIVUALLY the scrollbars, and after that you have to define the bitmap.

Once created, you have to catch the events of movement of the scrollbar, and manually move the bitmap.

Let me check to see if I do have the program I made.
Saludos
R.F.
R.F.
 
Posts: 840
Joined: Thu Oct 13, 2005 7:05 pm

Postby Rafael Clemente » Fri Oct 27, 2006 4:21 pm

I'll appreciate it very much, René

Rafael
User avatar
Rafael Clemente
 
Posts: 365
Joined: Sat Oct 08, 2005 7:59 pm
Location: Barcelona, Spain


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 38 guests