Double click action

You have suggestions to improve PopMan? Here is the right place to mention them.

Moderator: Christian

Post Reply
tefernc
Posts: 4
Joined: 11 Jan 2005, 13:18

Double click action

Post by tefernc »

I am a great fan of PopMan 1.2.2, one thing that has really annoyed me is when popman is iconised or hidden by another window double clicking on the task bar notification area icon does not bring popman to the foreground, so I modified the code as follows.

Can I suggest you add this to the next release? Assuming my mods don't break any of your code.

Code: Select all

void CPopManDoc::ExecuteAction(TRAYACTIONS Action)
{
   m_MailInfo.DestroyWindow();
   m_NewTip.DestroyWindow();

   switch(Action)
   {
   case TRAYACTIONS::ShowWindow:
      AfxGetMainWnd()->SendMessage(WM_COMMAND, ID_TRAY_SHOW, 0);
         // Ted Ferenc New Alterations
      AfxGetMainWnd()->SetForegroundWindow();
      AfxGetMainWnd()->ShowWindow(SW_SHOWNORMAL);
      break;
User avatar
Christian
Site Admin
Posts: 387
Joined: 11 Jan 2004, 13:04
Location: Magdeburg, Germany
Contact:

Post by Christian »

Hi Ted,

Thank you for the fix. I will add your modification to the next release...
Christian Hübner
Guest

Post by Guest »

Christian,

You are welcome, please feel free to remove my name from the comment, it was just there to show what I did.

Ted
Post Reply