Sign in to follow this  
_dogo

C++ user interface

Recommended Posts

Hi, I want to create a scrollable UI window, containing some pictures, and text maybe. The pictures are large, thats why i need scrolling. Ive read MSDN, but i dont know the exact english expressions for these, and could not find anything. Couls anyone help? Thanks

Share this post


Link to post
Share on other sites
TDragon: as you can see, the topic is "C++ user interface".
So the answer is C++. :)

Ive found something about "pictureBox" but it seems to me that it can only display one image. i need more.
perhaps a comboBox? I dont know really if comboBox can display images...


[Edited by - _dogo on November 4, 2005 12:01:58 PM]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Quote:
Original post by _dogo
Ive found something about "pictureBox" but it seems to me that it can only display one image. i need more.
perhaps a comboBox? I dont know really if comboBox can display images...

If by "pictureBox" you mean a static control, then you can change the image contained within by sending the STM_SETIMAGE message. You mention combo boxes? Do you want to use one of these to traverse the set of images?

Share this post


Link to post
Share on other sites
I want to display more images simultaneously.
I JUST and ONLY want to display 3 images, perhaps with some text (caption).
Thats all.
I made the hard work, but i cant create the gui...:(
i checked out picturebox, but i couldn't manage to get it work, it is a .NET Framework class...

Share this post


Link to post
Share on other sites
I want to display more images simultaneously.
I JUST and ONLY want to display 3 images, perhaps with some text (caption).
Thats all.
I made the hard work, but i cant create the gui...:(
i checked out picturebox, but i couldn't manage to get it work, it is a .NET Framework class...

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Okay. For three images, you'll want three static controls (picture boxes) with style SS_BITMAP. For the captions, you'd want three more static controls of style SS_LTEXT (for left-alinged text), SS_RTEXT (for right-aligned), or SS_CTEXT (for center-aligned text). There are more styles available, but these are the basic ones.

Share this post


Link to post
Share on other sites
i could not implement that. :(
I wanted to create CDialog and Cstatic objects, but the memory allocation of dialog template does not work properly.
ive found a sample, but its memory operations are so complex, that something went wrong...:(
DOnt you know a place to find simple samples, ore something?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this