www.pudn.com > 智能内码识别,支持屏幕取词翻译的程序.zip > HINTWIN.CPP
// hintwin.cpp : implementation file
//
#include "stdafx.h"
#include "hintwin.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CHintWin
CHintWin::CHintWin( LPCSTR lpcsWndName )
{
CreateEx( WS_EX_TOPMOST ,
AfxRegisterWndClass( NULL ) ,
lpcsWndName ,
WS_POPUP ,
CW_USEDEFAULT , CW_USEDEFAULT ,
CW_USEDEFAULT , CW_USEDEFAULT ,
// hParentWnd , NULL ) ;
NULL , NULL ) ;
}
CHintWin::~CHintWin()
{
DestroyWindow() ;
}
/*BOOL CHintWin::PreCreateWindow( CREATESTRUCT& cs )
{
cs.style =WS_POPUP ;
cs.dwExStyle =WS_EX_TOPMOST ;
return 1 ;//CWnd::PreCreateWindow( cs ) ;
}
*/
BEGIN_MESSAGE_MAP(CHintWin, CWnd)
//{{AFX_MSG_MAP(CHintWin)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CHintWin message handlers