Hi support,
I'm using IPXV_PagesPreviewCtl to create PDF preview.
I have some issue with rendering/refreshing of the scrollbars.
In the PreviewCtl demo - this issue can be seen when having at least two controls created and switching between tabs:
The arrow points to the scroll bar section that did not refresh.
After I move the mouse over that region it will be refreshed:
The same refreshing issue can be seen when moving the scroll bar up/down with the mouse:
In my actual application it is even worse:
The arrow points to where the scroll bar handle actually is, but note how the below area of the scroll bar is not rendered correctly.
This only happens with the vertical scroll bar, the horizontal one refreshes ok.
Can this be somehow fixed? Maybe send the wm_paint to the scroll bar somehow (need the handle)?
-ž
PreviewCtl demo - rendering/refreshing of scroll bars SOLVED
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
- User
- Posts: 1370
- Joined: Thu Sep 05, 2019 12:35 pm
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: PreviewCtl demo - rendering/refreshing of scroll bars
Hi zarkogajic,
Well if you need to redraw those, then you will need to get the parent scroll container object for the preview control object. It holds the scroll bars - probably you can try redrawing it or something.
Cheers,
Alex
Well if you need to redraw those, then you will need to get the parent scroll container object for the preview control object. It holds the scroll bars - probably you can try redrawing it or something.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 1370
- Joined: Thu Sep 05, 2019 12:35 pm
Re: PreviewCtl demo - rendering/refreshing of scroll bars
Hi Alex,
I can get to the IUIX_ScrollContainer. I've tried calling Update() - no luck.
I then tried with GetScrollBar::IUIX_ScrollBar from IUIX_ScrollContainer. I've tried SendRawEvent with e_Notify / UIX_Notify_Update - no luck.
So, I can get to the object(s) I need - but am not sure how to force their refresh - or if I'm calling the right methods / sending the correct notifications...
-žarko
I can get to the IUIX_ScrollContainer. I've tried calling Update() - no luck.
I then tried with GetScrollBar::IUIX_ScrollBar from IUIX_ScrollContainer. I've tried SendRawEvent with e_Notify / UIX_Notify_Update - no luck.
So, I can get to the object(s) I need - but am not sure how to force their refresh - or if I'm calling the right methods / sending the correct notifications...
-žarko
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: PreviewCtl demo - rendering/refreshing of scroll bars
Hello zarkogajic,
Forwarded this one to Vasyl - probably he can tell more.
Cheers,
Alex
Forwarded this one to Vasyl - probably he can tell more.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 1370
- Joined: Thu Sep 05, 2019 12:35 pm
Re: PreviewCtl demo - rendering/refreshing of scroll bars
Hi support,
Any ideas here?
-ž
Any ideas here?
-ž
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: PreviewCtl demo - rendering/refreshing of scroll bars
Hello zarkogajic,
Nope, he didn't have time to look at this one yet.
Cheers,
Alex
Nope, he didn't have time to look at this one yet.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 1370
- Joined: Thu Sep 05, 2019 12:35 pm
Re: PreviewCtl demo - rendering/refreshing of scroll bars
Hi Support,
Ping...
-ž
Ping...
-ž
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: PreviewCtl demo - rendering/refreshing of scroll bars SOLVED
Hello zarkogajic,
Sadly, no news yet...
Cheers,
Alex
Sadly, no news yet...
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ