Jump to content
  • Advertisement
Sign in to follow this  
_dogo

C++ user interface

This topic is 4610 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
C? C++? VB? Java? C#? Python?

Windows? KDE? OS X? Gnome?

Win32? MFC? WinForms? Qt? GTK? wxWidgets?

We need to narrow down the possibilities a bit before we can help you.

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
Great, we know the language. I'll go a few steps further in the interest of friendliness and assume Windows OS and Win32 API, and provide you with this link.

Hope it helps,
Twilight Dragon

Share this post


Link to post
Share on other sites
thanks,
if i will find my way to create a box i want, i will use this.
got to go for now, i try these out, and a go on with my questions tomorrow.
thanks again

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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!