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

System Menu problem

 Post Reply Post Reply
Author
Message
parithi_kasi View Drop Down
Newbie
Newbie
Avatar

Joined: 10 August 2007
Location: Indonesia
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote parithi_kasi Quote  Post ReplyReply Direct Link To This Post Topic: System Menu problem
    Posted: 10 August 2007 at 7:51am
I have developed a test application using CXTResizeDialog as MFC Dialog based application.
 
When I activate the system menu and select the Maximize or Minimze option using short cut key the system menu still appear  (Fully or partially)
 
Please give solution for this
 
Thanks In advace
Elamparuthi
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: 10 August 2007 at 8:52am
Hello,
Can you reproduce it with some our sample?
for example Samples\Controls\MaskEdit ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
parithi_kasi View Drop Down
Newbie
Newbie
Avatar

Joined: 10 August 2007
Location: Indonesia
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote parithi_kasi Quote  Post ReplyReply Direct Link To This Post Posted: 14 August 2007 at 12:13am
Hi
  To reproduce this please follow the following steps.
 
  Step0 :run bin\vc80\SkinControls.exe
  Step1: Press ALT+SPACE and press 'A'
  Verify: Now About dialog will display but the system menu will not disapper.
 
 
Thanks
parithi
 
 
Elamparuthi
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: 14 August 2007 at 1:13am
Hello,
 
So do you use SkinFramework in your application?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
parithi_kasi View Drop Down
Newbie
Newbie
Avatar

Joined: 10 August 2007
Location: Indonesia
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote parithi_kasi Quote  Post ReplyReply Direct Link To This Post Posted: 14 August 2007 at 2:13am
Yes, I'm using skin frame work
Elamparuthi
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: 14 August 2007 at 10:20am
Hello,
 
yes, agree skinframework is reasoon of this.
 
Please patch Source\SkinFramework\XTPSkinObjectMenu.cpp
 
replace CXTPSkinObjectMenu::OnChar method
 
LRESULT CXTPSkinObjectMenu::OnChar(WPARAM /*wParam*/, LPARAM /*lParam*/)
{
 LRESULT lResult = Default();
 if (IsWindow(m_hWnd))
 {
  Invalidate(FALSE);
 }
 return lResult;
}
 
and rebuild toolkit's dll.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
parithi_kasi View Drop Down
Newbie
Newbie
Avatar

Joined: 10 August 2007
Location: Indonesia
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote parithi_kasi Quote  Post ReplyReply Direct Link To This Post Posted: 16 August 2007 at 1:25am
Hi Oleg Chernyahovskii.
 
    Thank you for your fast reply and for the correct solution.
    Now the system menu works fine.
   
   Thanks lot.
  
 
Elamparuthi
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.