CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 45

Threaded View

  1. #38
    Join Date
    Jan 2009
    Posts
    399

    Re: Activate MDI window

    Quote Originally Posted by GCDEF View Post
    Code:
    void CMainFrame::On0Restore()
    {
    	// TODO: Add your command handler code here
    
    	ShowWindow(SW_RESTORE);
    	SetForegroundWindow();
    }
    The code from above is not working if the app NNN is started from Windows Explorer and is activated through left click on balloon (not on icon left click)
    Last edited by mesajflaviu; August 11th, 2020 at 04:53 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured