![]() |
System Menu problem |
Post Reply
|
| Author | |
parithi_kasi
Newbie
Joined: 10 August 2007 Location: Indonesia Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Topic: System Menu problemPosted: 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
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
parithi_kasi
Newbie
Joined: 10 August 2007 Location: Indonesia Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 August 2007 at 1:13am |
|
Hello,
So do you use SkinFramework in your application?
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
parithi_kasi
Newbie
Joined: 10 August 2007 Location: Indonesia Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 August 2007 at 2:13am |
|
Yes, I'm using skin frame work
|
|
|
Elamparuthi
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
parithi_kasi
Newbie
Joined: 10 August 2007 Location: Indonesia Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |