rainbowzc

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: :: :: 管理 ::

2007年2月3日

摘要: IntroductionIt is bit tricky to use MSFlexGrid Control in ATL projects (I struggled lot with MSDN and net) because: MSFlexGrid Control is a Visual Basic control MSFlexGrid Control requires runtime control license. To check the problem you can do the following: Create ATL Server Dll A... 阅读全文
posted @ 2007-02-03 16:32 ct 阅读(477) 评论(0) 推荐(0) 编辑

摘要: BringWindowToTopSetWindowPos(&wndTopMost, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE)BOOL SetForegroundWindow( HWND hWnd // handle to window ); 阅读全文
posted @ 2007-02-03 10:08 ct 阅读(173) 评论(0) 推荐(0) 编辑

摘要: 第一讲 用Create()方法新建一个窗体应用程序 一般来讲,大多数Windows应用程序的界面都是由一个或数个窗体构成。而VC++中提供了丰富的类库,用于创建Windows窗体应用程序。 我们一般可以通过CFreameWnd类中的Create()方法来创建一个窗体,Create()函数的定义如下:BOOL Create(LPCTSTR lpszClassName,LPCTSTR lpszWindowName,DWORD dwStyle = WS_OVERLAPPEDWINDOW,const RECT& rect = rectDefault,CWnd* pParentWnd = NUL 阅读全文
posted @ 2007-02-03 10:06 ct 阅读(1154) 评论(0) 推荐(0) 编辑