List Info

Thread: Re: Re: Image Control in DB?




Re: Re: Image Control in DB?
country flaguser name
United States
2007-10-23 00:35:47

>-- On Tue, 23 Oct 2007 05:02:17 -0000 easton.mark wrote --
> Ummmm - this is probably a dumb question, but it should be easy in
> DB and I cant find the easy way. How do I display an image? I want
>; to display images, reduced in size to 180 x 180. I want to use a
> wxSlider to move through the images. The images will all sit in a
> sub folder. Do I have to code the image control or is there some
>; control available in DB?
>
> The StaticBitmap does not seem to be intended for this use. The
> wxWidgets manual says "A static bitmap control displays a bitmap.
> It is meant for display of the small icons in the dialog boxes and
> is not meant to be a general purpose image display control. In
> particular, under Windows 9x the size of bitmap is limited to 64*64
> pixels and thus you should use your own control if you want to
> display larger images portably."
>;
> Cheers,
> Mark
>;
>-- On Tue, 23 Oct 2007 05:22:28 -0000 easton.mark wrote --
> Further to this, if I am in fact supposed to use wxStaticBitmap,
>; then I have the following issues.
>
> 1. I cant set it to say a specified size (say 150x150). Everytime I
> do something (such as SetBitmap()) it resizes to the size of the
> image - it will not stay the size I have set.
>;
> 2. When I set it to an image in the images folder resource and then
>; build the application and run it - it cannot find the image. So I
> have to copy the image to the app folder. It does not matter if
> when I point at the image I use "Link to" or "Copy". This is not a
> big deal - but it just seems that this is not working in DB??
>;
> Many thanks,
> Mark
>;

Hi, Mark!

I've got a new tutorial in the wings that deals with these things. It's an
MDI/wxImage/wxBitmap application. What's holding it up is getting the tutorial
documentation itself written. I'm right in the middle of switching systems and,
unfortunately, I ran into some hardware problems with the new one and I have to
ship it back for replacements and a new burn in.

I'm going to try to hobble through on my old system and see if I cannot get the
tutorial completed. The code itself is all done, and so is the user manual,
there's just no step by step for how it is built using DB (the actual tutorial).

Keep an eye out, it should be showing up soon (good Lord willing and the creek
don't rise! However, there's been a lot of creek rising (literally) in my neck
of the woods these past few days!;)

thx,
Dave S.

Contrary to popular belief, practice does not make perfect... only permanent!

wxMS_developers · Development with wxWidgets on MSWindows
http://tech.groups.yahoo.com/group/wxMS_developers/

wxWidgets Code Exchange
http://www.wxCodex.net/

__._,_.___
.

__,_._,___
Re: Image Control in DB?
country flaguser name
United States
2007-10-23 00:51:26

Hi Dave!

The tutorial would be brilliant. I am really enjoying learning
DialogBlocks/wxWidgets. But, as always, I wish I was moving ahead
faster! Even a few tips in the meantime would be great.

Hope the creek subsides!! Thanks Dave.

Cheers,
Mark

>
> Hi, Mark!
>
> I've got a new tutorial in the wings that deals with these things.
It's an
> MDI/wxImage/wxBitmap application. What's holding it up is getting
the tutorial
> documentation itself written. I'm right in the middle of switching
systems and,
> unfortunately, I ran into some hardware problems with the new one
and I have to
> ship it back for replacements and a new burn in.
>
> I'm going to try to hobble through on my old system and see if I
cannot get the
> tutorial completed. The code itself is all done, and so is the user
manual,
> there's just no step by step for how it is built using DB (the
actual tutorial).
>
> Keep an eye out, it should be showing up soon (good Lord willing
and the creek
> don't rise! However, there's been a lot of creek rising (literally)
in my neck
> of the woods these past few days!;)
>
> thx,
>; Dave S.

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )