![]() |
Icon missing in Alt+Tab window |
Post Reply
|
| Author | |
dubaoan
Groupie
Joined: 01 December 2005 Status: Offline Points: 20 |
Post Options
Thanks(0)
Quote Reply
Topic: Icon missing in Alt+Tab windowPosted: 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!
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 July 2007 at 1:35am |
|
Hi,
You can add
AfxGetMainWnd()->SetFocus();
before popup modal dialog. |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
dubaoan
Groupie
Joined: 01 December 2005 Status: Offline Points: 20 |
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
dubaoan
Groupie
Joined: 01 December 2005 Status: Offline Points: 20 |
Post Options
Thanks(0)
Quote Reply
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?
|
|
![]() |
|
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 |