Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Menu Shadow over OpenGL window
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Menu Shadow over OpenGL window

 Post Reply Post Reply
Author
Message
robosport View Drop Down
Groupie
Groupie


Joined: 20 June 2005
Location: United States
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote robosport Quote  Post ReplyReply Direct Link To This Post Topic: Menu Shadow over OpenGL window
    Posted: 29 August 2005 at 6:19pm

I'm using menus created in the command bar designer with the xtpThemeOffice2003 selected.

The menus look great except over any OpenGL rendering window. These windows are updated (redrawn) at a specific frequency (60FPS) because they are showing animated objects.

The problem is the menus have a shadow and whatever part of the shadow is over the OpenGL window flickers constantly as long as the menu is open.

Obviously the shadow is being drawn outside the rectangle that the menu window is reporting as its size which is why the shadow is being erased with every refresh but the menu window is not.

Is there a way to A) Remove the shadow from the menus?, or B) Fix the flickered drawing of the shadow?, or C) Include the shadow in the menu windows rect so it doesn't get erased? (I ask about option C only because I don't care if the shadow is re-blended with the updated OpenGL contents since the menu is a modal task)

Thanks!

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 30 August 2005 at 3:59am

Hello,

For next release it will be fixed using option B :)

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
robosport View Drop Down
Groupie
Groupie


Joined: 20 June 2005
Location: United States
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote robosport Quote  Post ReplyReply Direct Link To This Post Posted: 30 August 2005 at 9:58am

Oleg,

Thank you! I'm looking forward to it.

Would that be 9.71? Is there an ETA on the next verion?

Thanks again.

Back to Top
robosport View Drop Down
Groupie
Groupie


Joined: 20 June 2005
Location: United States
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote robosport Quote  Post ReplyReply Direct Link To This Post Posted: 01 October 2005 at 7:03pm

Hi Oleg,

I just installed and recompiled with 9.80 but the menu shadow still constantly flickers over the updated OpenGL windows. No change at all. Did this not make it into 9.80 as announced or is there a misunderstanding of the flicker problem?

In any event, can you suggest an easy way to disable the shadows on the menus until the flicker problem is properly fixed?

Thanks,
robo



Edited by robosport
Back to Top
robosport View Drop Down
Groupie
Groupie


Joined: 20 June 2005
Location: United States
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote robosport Quote  Post ReplyReply Direct Link To This Post Posted: 11 October 2005 at 9:59am
I'm just bumping this topic back up to the top, hoping for a response after 11 days of waiting.
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 11 October 2005 at 11:35pm

Hello, can you attach some easy OpenGL sample to check the problem?

for 9.80:

pCommandBars->GetPaintManager()->m_bShowShadow = FALSE;

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
robosport View Drop Down
Groupie
Groupie


Joined: 20 June 2005
Location: United States
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote robosport Quote  Post ReplyReply Direct Link To This Post Posted: 12 October 2005 at 1:17am

Oleg,

Thanks for the easy solution to turning off the shadows. I'll work on creating a simple OpenGL app to make the problem easily reproducible.

Thanks,
RO

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.