Z
zdy0155
Unregistered / Unconfirmed
GUEST, unregistred user!
代码如下
Tflow = class(TForm)
{ with Paramsdo
begin
Style :=Style or WS_POPUP ;
params.WndParent :=GetDeskTopWindow ;
end}
SetWindowPos(handle,HWND_TOPMOST ,Left,Top,Width,Height,SWP_SHOWWINDOW);
ShowWindow( Handle, SW_HIDE );
SetWindowLong( Handle, GWL_EXSTYLE,
GetWindowLong(Application.Handle, GWL_EXSTYLE) or
WS_EX_TOOLWINDOW and not WS_EX_APPWINDOW);
ShowWindow( Handle, SW_SHOW );
1:我在主窗体调用 application.createform(tflow,flow);
flow.show;
以后,出现该窗体,当我在主窗体内按鼠标或干任何操作是,都提示‘非法操作’
什么原因呢(我想做浮动窗体)
2:有时该窗体出现后不出错,调用后任务列表中(ctrl+alt+del)出现的是flow窗体的标题文字,
怎样把 主窗体的标题重新显示出来啊
Tflow = class(TForm)
{ with Paramsdo
begin
Style :=Style or WS_POPUP ;
params.WndParent :=GetDeskTopWindow ;
end}
SetWindowPos(handle,HWND_TOPMOST ,Left,Top,Width,Height,SWP_SHOWWINDOW);
ShowWindow( Handle, SW_HIDE );
SetWindowLong( Handle, GWL_EXSTYLE,
GetWindowLong(Application.Handle, GWL_EXSTYLE) or
WS_EX_TOOLWINDOW and not WS_EX_APPWINDOW);
ShowWindow( Handle, SW_SHOW );
1:我在主窗体调用 application.createform(tflow,flow);
flow.show;
以后,出现该窗体,当我在主窗体内按鼠标或干任何操作是,都提示‘非法操作’
什么原因呢(我想做浮动窗体)
2:有时该窗体出现后不出错,调用后任务列表中(ctrl+alt+del)出现的是flow窗体的标题文字,
怎样把 主窗体的标题重新显示出来啊