程序最小化后在屏幕上部留一小框,这是什么技术,如何实现? 有个API函数是专门干这个的,可设置最大化和最小化时窗口的位置。叫什么来着??忘啦! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 BOOL SetWindowPos( HWND hWnd, // handle of window HWND hWndInsertAfter, // placement-order handle int X, // horizontal position int Y, // vertical position int cx, // width int cy, // height UINT uFlags // window-positioning flags );嘻嘻,是它吗? 是不是说像FlashGet和网络蚂蚁哪样?我也想知道! flashGet他们就是Create一个没有Caption并且topmost的对话框CDialog dlg;//这个对话框的属性要编辑好呀...样子最好让人看不出是对话矿,上面放写控件遮盖..CRect rc;dlg.Create(ID_TOPDLG);dlg.GetWindowRect(&rc);dlg.ClientToScreen(&rc);dlg.SetWindowPos(&wndTopMost,rc.left,rc.top,rc.Width(),rc.Height(),SWP_NOACTIVATE);上面几行就创建出类似蚂蚁和flashget那样在顶端的小窗口了. DWORD dwExStyle = GetWindowLong(Application->Handle, GWL_EXSTYLE);dwExStyle |= WS_EX_TOOLWINDOW;SetWindowLong(Application->Handle, GWL_EXSTYLE, dwExStyle); NowCan说得对,111222文不对题。 oninitdialog()函数在启动程序时候执行几次 请教: MFC单文档画直线,出现的问题!!!!! 希望你们能给一位大二学生的建议 请教 PeekMessage 的 PM_NOREMOVE 在MFC中,能够把查询到的结果导出到EXCEL中去,哪位高手,给说说步骤。最好有例子,十分感谢。 如何设计UDP服务器啊 请教一个关于类的问题: 关于fopen(),up有分! VC中使用CEdit::ReplaceSel 会滚屏 大侠救命!我的机器无法通过局域网共享上网。怎么办?我很急呀。 关于NT下MFC鼠标资源问题,请教知道的! 一个格式转换问题
HWND hWndInsertAfter, // placement-order handle
int X, // horizontal position
int Y, // vertical position
int cx, // width
int cy, // height
UINT uFlags // window-positioning flags
);嘻嘻,是它吗?
CRect rc;
dlg.Create(ID_TOPDLG);
dlg.GetWindowRect(&rc);
dlg.ClientToScreen(&rc);
dlg.SetWindowPos(&wndTopMost,rc.left,rc.top,rc.Width(),rc.Height(),SWP_NOACTIVATE);上面几行就创建出类似蚂蚁和flashget那样在顶端的小窗口了.
dwExStyle |= WS_EX_TOOLWINDOW;
SetWindowLong(Application->Handle, GWL_EXSTYLE, dwExStyle);
111222文不对题。