能否用BCB中编写程序使其始终浮动在最上方?(50分)

I

ine

Unregistered / Unconfirmed
GUEST, unregistred user!
就像evdict一样,还可以固定窗口位置!<br><br>谢谢来看的各位!!<br>E-mail :ine2@263.net(不是我抠实在是钱少!!)
 
1.顶级窗口(不过效果不好),就是把窗口的FormStyle设为fsAlwaysOnTop啦<br>2.作任务栏程序,详细的例程李维的那本《Delphi3从入门到精通》里面有
 
formstyle属性设为AlwaysOnTop
 
晚了一步,呵呵
 
1、窗口位于最上方可以设置FormStyle:=fsStayOnTop;<br>2、固定窗口位置可以截获WM_Moving和WM_Move消息,<br><br>--------------------------------------------------------<br>The WM_MOVING message is sent to a window that the user is moving. By processing this message, an application can monitor the size and position of the drag rectangle and, if needed, change its size or position.<br><br>fwSide = wParam; // edge of window to be moved &nbsp;<br>lprc = (LPRECT) lParam; // screen coordinates of drag rectangle<br><br>--------------------------------------------------------<br>The WM_MOVE message is sent after a window has been moved. <br><br>WM_MOVE &nbsp;<br>xPos = (int) LOWORD(lParam); &nbsp; &nbsp;// horizontal position <br>yPos = (int) HIWORD(lParam); &nbsp; &nbsp;// vertical position <br>
 
各位,再请问,能不能制作一个窗口,可改变大小,但没有标题栏?<br>已经没分了,学习雷锋好榜样!
 
各位,再请问,能不能制作一个窗口,可改变大小,但没有标题栏?<br>已经没分了,学习雷锋好榜样!
 
顶部