Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in Programming. |
User | Post |
HyperHacker Posts: 1763/5072 |
It has most of the methods a window has in VB, so you can do things like drawing on it easily. |
Disch Posts: 151/202 |
That doesn't really tell me much.
Generic windows are a dime a dozen in the API. I would assume a Picture Box has some special characteristics, otherwise why would anyone use it? Especially since dcahrakos is talking about having a container box and what sounds like a child box within the container. But whatever... I don't really care... it's just one of those things that always makes me wonder what is up with VB and its craziness. |
interdpth Posts: 101/362 |
In WinAPI means it's just a static class with a border really. |
Disch Posts: 150/202 |
I guess part of my problem with understanding VB logic is that I never really understood what a "picture box" was. |
dcahrakos Posts: 389/499 |
yep...its alot less of a hassle just to use 2 picture boxes, one being the container and the other being the drawing surface. its definently saves time, and you get a good output still. just make sure the container is borderless, and flat, or else then it doesnt look to good. |
Disch Posts: 147/202 |
Or... you know... you could just draw the image appropriately according to the position of the scrollbar.
But I guess that's harder to do in VB since they felt it necessary to automate the 1-step process of blitting (making it harder to change how you blit since you no longer do the actual blitting). |
interdpth Posts: 100/362 |
Ah alright thanks! |
dcahrakos Posts: 388/499 |
the best way I know of is to put a picture box inside another, then make the container picture box can hold the main picture box, and then you can make it any size, and scroll it back and forth with a scrollbar. |
interdpth Posts: 98/362 |
Ok, so I want my picture too move whenever the scrollbar is hit.I have the picture in a specified area and want only so much displayed at a time how would I got about doing this? My picture usually ends up phyiscally moving, so help? |