Status & Roadmap
Authors & License
Funding Ultimate++
Search on this site
Search in forums

SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » is it possible to attach a Ctrl to a freshly drawn item? (not even sure this is the correct forum tbh *shrugs*)
is it possible to attach a Ctrl to a freshly drawn item? [message #47824] Wed, 05 April 2017 04:27 Go to next message
germax is currently offline  germax
Messages: 20
Registered: March 2017
Location: germany
Promising Member
Salam my firends..
another likely basic question I cannot find the Answer to with std searchtools Laughing

Okay here it goes.. I'm playing around with upp and am currently trying to "emulate" an explorer window...
Obviously I haven't bothered caring about textclipping or keeping aspect ratios in images.
And frankly I'm not even sure my imagecaching method is up for the task at hand in the end,
but for the few files I load whilst testing it's okay Very Happy
(blazing fast tbh with just a simple thumbnail vector Wink and ommitting all "out of sight" content)

My question is this.. I need a click-ctrl on those information-icons (which atm is just a placeholder);
can it be added with a fresh drawn image (as you can see it is atm)
-and if so... how?--

or do I need to prepare a ctrl first load the icon to that
and pin it to it's destinct size and location afterwards?
--and if so, what would you suggest for doing so?--

Thank you

that other german guy
Re: is it possible to attach a Ctrl to a freshly drawn item? [message #47873 is a reply to message #47824] Sat, 15 April 2017 11:40 Go to previous message
mirek is currently offline  mirek
Messages: 13849
Registered: November 2005
Ultimate Member
If I understand the question, sure, you can. You just need to resolve position of your image in LeftDown and add some logic around it.

IMO, checking CtrlLib/ColumnList.cpp sources would be useful for you here.

Previous Topic: Painter Fill with Image MSC14x64 performance issue
Next Topic: Well another problem I'm facing
Goto Forum:

Current Time: Sat Mar 25 08:13:15 CET 2023

Total time taken to generate the page: 0.01619 seconds