Archived

This topic is now archived and is closed to further replies.

Application Interface

This topic is 5676 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

I was working in Borland C++ Builder and I have this interface that came from the Photoshop Web Foundry CD. So I customized the interface just like I want it so I could use it in my application. So I go and load up my trusty BCB and I put the interface on there as a bitmap. And now when I click anywhere on the buttons it just acts like just a regular picture. Is it because I am supposed to use this interface for the internet or is there a way that I could make this interface act like a interface for the application? Thanks

Share this post


Link to post
Share on other sites
quote:
Original post by DelphiFreak
... I put the interface on there as a bitmap. And now when I click anywhere on the buttons it just acts like just a regular picture.


Perfectly normal and expected.

quote:

Is there a way that I could make this interface act like a interface for the application?



You will have to derive your own controls from the VCL controls, overloading their drawing methods, or find a control in the library that can be displayed as a picture... or conversely, an image control that can be given callbacks.

Documents [ GDNet | MSDN | STL | OpenGL | Formats | RTFM | Asking Smart Questions ]
C++ Stuff [ MinGW | Loki | SDL | Boost. | STLport | FLTK | ACCU Recommended Books ]

Share this post


Link to post
Share on other sites
O.k. so what you''re saying that since I imported it as a bitmap it''s going to act like a bitmap. And if I want to make it act like a interface, I''m going to have to put buttons and controls over the bitmap to make it work the way I want. But tell me something. Why went you make a interface in a program like Photoshop, Paintshop Pro, etc... and then import it to the web, the buttons and controls on the interface work just like a application? So what I''m going to have to do is get me a interface that is meant for application building right?

Share this post


Link to post
Share on other sites
On webpages, the interface 'works' because they fundamentally define clickable regions, with java-script switching the bitmaps appropriately ( OnMouse‌Over ... ).

So yeah, basically, you need an interface geared towards application development. As I said, you can modify existing GUI components so that, say, they use the bitmaps you provide when drawn. But that will take some doing, and knowledge of your library (BCB comes with a GUI library called 'Visual Component Library' or VCL (just like Delphi, BTW)) and how to extend it.

Read the help files

Documents [ GDNet | MSDN | STL | OpenGL | Formats | RTFM | Asking Smart Questions ]
C++ Stuff [ MinGW | Loki | SDL | Boost. | STLport | FLTK | ACCU Recommended Books ]


[edited by - Fruny on June 3, 2002 8:32:06 PM]

[edited by - Fruny on June 3, 2002 8:32:59 PM]

Share this post


Link to post
Share on other sites
Thanks for your help. Hey let me ask u something else. Do you know of anybody that owns the SederGraphics Interface CD Volume 1? The website address is www.sedergraphics.com Because the CD has a 100 interfaces that is geared toward application development and if they have the CD I could ask them could I please have 1 or 2 that would make my application stand out know what I mean. Thanks!

Share this post


Link to post
Share on other sites