Print Page | Close Window

Icon missing in Alt+Tab window

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=7512
Printed Date: 13 November 2025 at 8:11am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Icon missing in Alt+Tab window
Posted By: dubaoan
Subject: Icon missing in Alt+Tab window
Date Posted: 02 July 2007 at 9:08pm
Whenever a modal dialog box is popped up from a floating pane, application icon is not displayed in the Alt+Tab window.
 
Can anyone help me? Thanks!



Replies:
Posted By: Oleg
Date Posted: 03 July 2007 at 1:35am
Hi,
 
You can add
 AfxGetMainWnd()->SetFocus();
before popup modal dialog.


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


Posted By: dubaoan
Date Posted: 04 July 2007 at 10:08pm

It doesn't work.

1. Open a modal dialog.
 
2. Press alt+tab to switch to another application.
 
3. Press alt+tab to switch back.
 
4. Press alt+tab again, the application icon is missing.


Posted By: Oleg
Date Posted: 05 July 2007 at 12:57am
Hello,
 
Now I can't reproduce it.
 
Please try open GUI_VisualStudio sample and modify
 
void CPropertiesPane::OnPanePropertiesCategorized()
{
 AfxGetMainWnd()->SetFocus();
 CAboutDlg f;
 f.DoModal();
}
 
Do you see problem when click Categorized button in PropetyPane?


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


Posted By: dubaoan
Date Posted: 05 July 2007 at 5:54am

Thanks for your reply!!!

In my application, when a modal dialog is active, press 'alt+tab' to switch to another and then swich back.  No window gets focus, while in your suggested case, the about dialog gets the focus. I can't figure it out.
 
Could you help me?



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