liuc_xxx:有没有搞错这也叫文章,是个人都会。
(发表于2002-12-5 15:25:00)
zw84611:he he,我也没想要发文章,只是一个评论而已:
http://www.vckbase.com/document/viewdoc.asp?id=464
不知哪位帮我贴出来了。:)
(发表于2002-12-5 18:12:00)
songgh:这叫一句值千斤!
(发表于2002-12-23 10:57:00)
mengui:谢谢 我一直都不知道怎样实现
(发表于2003-5-25 22:34:00)
zbc:这个的确比较简单,不过实用,呵呵
(发表于2003-8-4 11:17:00)
jinbrave8106:有什么想法,应该往上帖,互相学习!
(发表于2003-9-16 10:32:00)
Host:这有什麽用啊?试了不懂
(发表于2004-2-12 16:32:00)
richone:我是菜鸟,问个很蠢的问题:这句话要加哪里啊?我把它加上去老出错!
(发表于2004-4-21 10:38:00)
lxstudent:请问怎样去掉对话框的标题栏??
0xF012代表什么??
(发表于2004-5-7 16:33:00)
lijianli:你好,我不明白你的0xF012是什么意思饿?
(发表于2005-5-13 10:38:00)
maolingjun:你们好啊。。我也是个菜鸟,对你们说的真的消化不了,你们解决问题的时候能不能详细点,象教程或功略一样,有步骤的教教。。谢谢了。。。
(发表于2005-7-5 9:41:00)
yjf_vc:#define SC_RESTORE 0xF120
(发表于2006-5-28 22:49:00)
yjf_vc:?
(发表于2006-5-28 22:55:00)
ycguo:只是解决了如何拖动对话框,但是发现有好多人的确不知道到底是怎么实现的。
我的代码,供参考:
void CLogonFrm::OnMouseMove(UINT nFlags, CPoint point)
{
//在WM_MOVE消息处理函数中通过向自己发送参数
//wParam为HTCAPTION
//lParam为鼠标位置的WM_NCLBUTTONDOWN消息
//实现窗口移动
//此时窗口移动过程的绘制由系统实现。
if(MK_LBUTTON & nFlags) //如果按下了鼠标左键
{
SendMessage(WM_NCLBUTTONDOWN,HTCAPTION,(LPARAM)(point.x|(point.y>>16)));
}
CDialog::OnMouseMove(nFlags, point);
}
(发表于2006-11-3 12:40:00)
ycguo:MSDN中关于SC_RESTORE消息的解释,参考:
WM_SYSCOMMAND
A window receives this message when the user chooses a command from the window menu (formerly known as the system or control menu) or when the user chooses the maximize button, minimize button, restore button, or close button.
WM_SYSCOMMAND
uCmdType = wParam; // type of system command requested
xPos = LOWORD(lParam); // horizontal position, in screen coordinates
yPos = HIWORD(lParam); // vertical position, in screen coordinates
(发表于2006-11-3 12:45:00)
ycguo:Parameters
uCmdType
Specifies the type of system command requested. This parameter can be one of the following values. Value Meaning
SC_CLOSE Closes the window.
SC_CONTEXTHELP Changes the cursor to a question mark with a pointer. If the user then clicks a control in the dialog box, the control receives a WM_HELP message.
(发表于2006-11-3 12:46:00)
ycguo:SC_DEFAULT Selects the default item; the user double-clicked the window menu.
SC_HOTKEY Activates the window associated with the application-specified hot key. The low-order word of lParam identifies the window to activate.
SC_HSCROLL Scrolls horizontally.
SC_KEYMENU Retrieves the window menu as a result of a keystroke.
SC_MAXIMIZE Maximizes the window.
SC_MINIMIZE Minimizes the window.
SC_MONITORPOWER Sets the state of the display. This command supports devices that have power-saving features, such as a battery-powered personal computer.
lParam can have the following values:
(发表于2006-11-3 12:46:00)
ycguo:1 means the display is going to low power.
2 means the display is being shut off.
SC_MOUSEMENU Retrieves the window menu as a result of a mouse click.
SC_MOVE Moves the window.
SC_NEXTWINDOW Moves to the next window.
SC_PREVWINDOW Moves to the previous window.
SC_RESTORE Restores the window to its normal position and size.
SC_SCREENSAVE Executes the screen saver application specified in the [boot] section of the SYSTEM.INI file.
SC_SIZE Sizes the window.
SC_TASKLIST Activates the Start menu.
SC_VSCROLL Scrolls vertically.
(发表于2006-11-3 12:46:00)
ycguo:xPos
Specifies the horizontal position of the cursor, in screen coordinates, if a window menu command is chosen with the mouse. Otherwise, the xPos parameter is not used.
yPos
Specifies the vertical position of the cursor, in screen coordinates, if a window menu command is chosen with the mouse. This parameter is –1 if the command is chosen using a system accelerator, or zero if using a mnenomic.
(发表于2006-11-3 12:46:00)
ycguo:Return Values
An application should return zero if it processes this message.
(发表于2006-11-3 12:47:00)
蓝颜知己:怎么样在标题栏上实现字体的运动
(发表于2007-9-4 9:53:00)
zhangzhongbao:
DDDDDDDDDDDD
顶顶
顶顶
顶顶
!!!!
好东西大家分享,
掌中技术论坛 里面包含了许多技术
性的文章(例如WEB的开发、数据库、软件工程管理、Borland技术…等等),大家
可以去免费下载相关资料,, 也可以把一些好的资源分享上去,大家共同交流、
学习。。。,独乐乐不如众乐乐嘛……~!! 呵呵
(发表于2008-7-7 12:04:00)
..........................................................................
--------------------next---------------------