Print Page | Close Window

System Menu problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=7772
Printed Date: 13 November 2025 at 11:56am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: System Menu problem
Posted By: parithi_kasi
Subject: System Menu problem
Date 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



Replies:
Posted By: Oleg
Date 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


Posted By: parithi_kasi
Date 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


Posted By: Oleg
Date Posted: 14 August 2007 at 1:13am
Hello,
 
So do you use SkinFramework in your application?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: parithi_kasi
Date Posted: 14 August 2007 at 2:13am
Yes, I'm using skin frame work

-------------
Elamparuthi


Posted By: Oleg
Date 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


Posted By: parithi_kasi
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net