Esempio n. 1
0
int FBAPopupDisplay(int nFlags)
{
	HMODULE hRiched = NULL;
	
#if defined (_UNICODE)
	hRiched = LoadLibrary(L"RICHED20.DLL");
#else
	hRiched = LoadLibrary("RICHED20.DLL");
#endif

	nPopupFlags = nFlags;

	SplashDestroy(true);

	FBAPopupLog();

	if (!(nPopupFlags & PUF_TYPE_LOGONLY) && hRiched) {
		DialogBox(hAppInst, MAKEINTRESOURCE(IDD_POPUP), hScrnWnd, (DLGPROC)FBAPopupProc);
		FreeLibrary(hRiched);
		hRiched = NULL;
	}

	FBAPopupDestroyText();

	return 1;
}
Esempio n. 2
0
int FBAPopupDisplay(int nFlags)
{
	nPopupFlags = nFlags;
 
	FBAPopupLog();

	swprintf_s(msg,L"%S",pszBufferEnglish);

	FBAPopupDestroyText();

	return 1;
}