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++ Widgets - General questions or Mixed problems » [SOLVED] Dual GlCtrl in one frame ?
[SOLVED] Dual GlCtrl in one frame ? [message #52872] Mon, 23 December 2019 04:11 Go to next message
Xemuth is currently offline  Xemuth
Messages: 387
Registered: August 2018
Location: France
Senior Member
Hello,

Today I tried to put 2 GlCtrl in one Frame. It's working but the second GlCtrl is not refreshing properly.
I have to perma-resize the Window to make refresh the second.

Here you can take a look of what I'm saying: https://imgur.com/a/D0tsFNV

Is it normal ? How Can I fix this ? (I don't think that overwriting Paint method could be the solution)

Thanks in advance

[Updated on: Tue, 14 January 2020 14:50]

Report message to a moderator

Re: Dual GlCtrl in one frame ? [message #52923 is a reply to message #52872] Mon, 13 January 2020 15:04 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Xemuth wrote on Mon, 23 December 2019 04:11
Hello,

Today I tried to put 2 GlCtrl in one Frame. It's working but the second GlCtrl is not refreshing properly.
I have to perma-resize the Window to make refresh the second.

Here you can take a look of what I'm saying: https://imgur.com/a/D0tsFNV

Is it normal ? How Can I fix this ? (I don't think that overwriting Paint method could be the solution)

Thanks in advance


Well, the fastest way to fix this is to provide a testcase Smile

I will check and either tell you what is wrong with your code, or (more likely) will fix GlCtrl.

Thanks,

Mirek
Re: Dual GlCtrl in one frame ? [message #52935 is a reply to message #52923] Tue, 14 January 2020 14:50 Go to previous message
Xemuth is currently offline  Xemuth
Messages: 387
Registered: August 2018
Location: France
Senior Member
mirek wrote on Mon, 13 January 2020 15:04

Well, the fastest way to fix this is to provide a testcase Smile

I will check and either tell you what is wrong with your code, or (more likely) will fix GlCtrl.

Thanks,

Mirek


While I was writing a simple test case It seems to work so I must have done bad code first time.
Sorry for the bad Call.
If some people wonder how I did the test, you can find the testcase below.

Thanks,

Have a good day

Xemuth
  • Attachment: DualGL.7z
    (Size: 1.21KB, Downloaded 147 times)
Previous Topic: Access to parent class
Next Topic: GLCtrl don't have Key() method wokring
Goto Forum:
  


Current Time: Thu Mar 28 20:00:07 CET 2024

Total time taken to generate the page: 0.01447 seconds