Exemplo n.º 1
0
static void _GetMailCallback(HWND hwnd, MSG_Pane *pane, void *closure)
{
   if (pane != NULL)
   {
     ShowWindow(hwnd, SW_HIDE);
     MSG_Command( pane, MSG_GetNewMail, NULL, 0 );
   }
}
Exemplo n.º 2
0
void
XFE_MailDownloadView::startNewsDownload()
{
	XmString xmstr = XmStringCreate(XP_GetString(XFE_DOWNLOADING_NEW_MESSAGES), XmFONTLIST_DEFAULT_TAG);
    XtVaSetValues(m_label, XmNlabelString, xmstr, 0);
	XmStringFree(xmstr);

	XFE_MozillaApp::theApp()->notifyInterested(XFE_MNView::MNChromeNeedsUpdating);
	
	MSG_Command (m_pane, MSG_GetNextChunkMessages, NULL, 0);
}