Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - ControlGallery Corrupt on Windows ME
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ControlGallery Corrupt on Windows ME

 Post Reply Post Reply
Author
Message
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Topic: ControlGallery Corrupt on Windows ME
    Posted: 21 September 2007 at 7:46pm
See at bottom of popup gallery control, it has corrupt menu options ??? (ignore colours as that is just due to compressed image):
 
Any ideas, cheers
 
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 22 September 2007 at 5:09am
Hmm... to me it looks like a window is missing the WS_CLIPCHILDREN | WS_CLIPSIBLINGS style. Common mistake :)
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: 24 September 2007 at 4:36am
Hi, Terry
If you run our RibbonSample, do you see same with Styles gallery  ? I can't reproduce it :( How do you draw items for your gallery ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Posted: 25 September 2007 at 8:42am
Hi, we do below to add those menu options to the gallery, this in turn produces the garbaged background behind the menu options
 

CMenu Menu;

Menu.LoadMenu( IDR_MENU_IMAGE );

CXTPPopupBar *pPopupBar = CXTPPopupBar::CreatePopupBar( m_pCommandBars );

pPopupBar->LoadMenu( Menu.GetSubMenu( 0 ) );

m_pImageGallery->SetCommandBar( pPopupBar );

pPopupBar->EnableAnimation();

pPopupBar->InternalRelease();

Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Posted: 25 September 2007 at 7:27pm
Ok we have now checked the Ribbon SDI sample and it does same, however only if control is resized to a larger size, see below screenshots, first works, 2nd does not, only slightly bigger
 
 
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
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: 26 September 2007 at 1:47am
:( Can't reproduce.
 
What steps you do ? Do you just resize and then see it ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Posted: 26 September 2007 at 7:53am
I just simply resize on a fresh install of Windows ME using Microsoft Virtual PC 2007 (with Virtualisation and 512mb of RAM for the Virtual Machine), very strange
 
How are you running on a Virtual PC ???
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
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.063 seconds.