ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ImageenMView Area Hidden Behind Scrollbar(s)

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
john_siggy@yahoo.com Posted - Apr 17 2018 : 10:33:41
Writing a routine to allow dragging lower right corner of a thumbnail to resize thumbnails. Need to figure out area hidden behind Scroll Bar(s):

In this example, about half the thumbnail Image is Showing. How much is hidden is the question.

[<--------- ThumbNail Image -------->]
[<--------- ImageenMView] ---------->]

[<---- ?? Area ---->]


Cheers,

John
4   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Apr 22 2018 : 20:19:09
The algorithm would be (assumes ietxCenterThumbnailColumn is not being used):
rightSpace := ImageEnMView.ClientWidth - ImageEnMView.ThumbSizeInfo( itsCell ).X * ImageEnMView.CalcGridWidth();


Nigel
Xequte Software
www.imageen.com
john_siggy@yahoo.com Posted - Apr 20 2018 : 15:42:28
Attached please find a picture of an ImageenMView with 2 thumbnail images (sorry it's a bit confusing). Both thumbnails are partially hidden offscreen on the Y axis. Interested in the length of the Right side of the thumbnails ???

xequte Posted - Apr 18 2018 : 16:18:24
Hi John

Sorry, I didn't really understand your image. If you are looking for the width of the scrollbar, you can check if it is visible using CurrentScrollBars, and if so its width will be the standard scrollbar width:

https://www.imageen.com/help/TImageEnMView.CurrentScrollBars.html

If that's not what you mean, perhaps see:

https://www.imageen.com/help/TImageEnMView.ThumbSizeInfo.html

Nigel
Xequte Software
www.imageen.com
john_siggy@yahoo.com Posted - Apr 17 2018 : 10:38:49
Corrected Illustration of half hidden Thumbnail Image:

[<--------- ThumbNail Image -------->]
....................[<--------- ImageenMView] ---------->]

[<---- ?? Area ---->]