Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Fastest way to capture control as image
Re: Fastest way to capture control as image [message #60603 is a reply to message #60600] Fri, 31 May 2024 18:25 Go to previous messageGo to previous message
luoganda is currently offline  luoganda
Messages: 214
Registered: November 2016
Experienced Member
koldo, this probably works.

For GLCtrl, it seems glReadPixels must be called within GLPaint,
since at that time - gl stuff is probably set up rightly to call that func.
Previously i tried to call it within LeftUp and it of course did not work as expected.
This is probably the reason why control(as you proposed) must be selected - to work.

Anyway, but what about independently capturing whole screen
or specific part of the screen(something like ffmpeg), is this possible without using too much low level gl code in Upp?
Some kind of trick would be creating invisible child of TopWindow, eg childTopWindowCtrl and capturing from that,
altough it would be a workaround.
I don't know if this would work, altough if there is a better way - it would be prefered.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Horizontal Mouse Wheel support request
Next Topic: selection in ColumnList
Goto Forum:
  


Current Time: Tue May 13 20:25:00 CEST 2025

Total time taken to generate the page: 0.00814 seconds