Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
d636b8c0
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
d636b8c0
编写于
2月 17, 2009
作者:
D
dcherepanov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
6792023: Print suspends on Windows 2000 Pro since 6u12 b01
Reviewed-by: art, anthony
上级
f51976f7
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
25 addition
and
12 deletion
+25
-12
src/windows/native/sun/windows/awt_FileDialog.cpp
src/windows/native/sun/windows/awt_FileDialog.cpp
+8
-4
src/windows/native/sun/windows/awt_PrintDialog.cpp
src/windows/native/sun/windows/awt_PrintDialog.cpp
+8
-4
src/windows/native/sun/windows/awt_PrintJob.cpp
src/windows/native/sun/windows/awt_PrintJob.cpp
+8
-4
src/windows/native/sun/windows/awt_Window.h
src/windows/native/sun/windows/awt_Window.h
+1
-0
未找到文件。
src/windows/native/sun/windows/awt_FileDialog.cpp
浏览文件 @
d636b8c0
...
...
@@ -101,7 +101,8 @@ LRESULT CALLBACK FileDialogWndProc(HWND hWnd, UINT message,
}
}
return
ComCtl32Util
::
GetInstance
().
DefWindowProc
(
NULL
,
hWnd
,
message
,
wParam
,
lParam
);
WNDPROC
lpfnWndProc
=
(
WNDPROC
)(
::
GetProp
(
hWnd
,
NativeDialogWndProcProp
));
return
ComCtl32Util
::
GetInstance
().
DefWindowProc
(
lpfnWndProc
,
hWnd
,
message
,
wParam
,
lParam
);
}
static
UINT_PTR
CALLBACK
...
...
@@ -135,16 +136,19 @@ FileDialogHookProc(HWND hdlg, UINT uiMsg, WPARAM wParam, LPARAM lParam)
}
// subclass dialog's parent to receive additional messages
ComCtl32Util
::
GetInstance
().
SubclassHWND
(
parent
,
FileDialogWndProc
);
WNDPROC
lpfnWndProc
=
ComCtl32Util
::
GetInstance
().
SubclassHWND
(
parent
,
FileDialogWndProc
);
::
SetProp
(
parent
,
NativeDialogWndProcProp
,
reinterpret_cast
<
HANDLE
>
(
lpfnWndProc
));
break
;
}
case
WM_DESTROY
:
{
WNDPROC
lpfnWndProc
=
(
WNDPROC
)(
::
GetProp
(
parent
,
NativeDialogWndProcProp
));
ComCtl32Util
::
GetInstance
().
UnsubclassHWND
(
parent
,
FileDialogWndProc
,
NULL
);
lpfnWndProc
);
::
RemoveProp
(
parent
,
ModalDialogPeerProp
);
::
RemoveProp
(
parent
,
NativeDialogWndProcProp
);
break
;
}
case
WM_NOTIFY
:
{
...
...
src/windows/native/sun/windows/awt_PrintDialog.cpp
浏览文件 @
d636b8c0
...
...
@@ -65,7 +65,8 @@ LRESULT CALLBACK PrintDialogWndProc(HWND hWnd, UINT message,
}
}
return
ComCtl32Util
::
GetInstance
().
DefWindowProc
(
NULL
,
hWnd
,
message
,
wParam
,
lParam
);
WNDPROC
lpfnWndProc
=
(
WNDPROC
)(
::
GetProp
(
hWnd
,
NativeDialogWndProcProp
));
return
ComCtl32Util
::
GetInstance
().
DefWindowProc
(
lpfnWndProc
,
hWnd
,
message
,
wParam
,
lParam
);
}
static
UINT_PTR
CALLBACK
...
...
@@ -99,16 +100,19 @@ PrintDialogHookProc(HWND hdlg, UINT uiMsg, WPARAM wParam, LPARAM lParam)
}
// subclass dialog's parent to receive additional messages
ComCtl32Util
::
GetInstance
().
SubclassHWND
(
hdlg
,
PrintDialogWndProc
);
WNDPROC
lpfnWndProc
=
ComCtl32Util
::
GetInstance
().
SubclassHWND
(
hdlg
,
PrintDialogWndProc
);
::
SetProp
(
hdlg
,
NativeDialogWndProcProp
,
reinterpret_cast
<
HANDLE
>
(
lpfnWndProc
));
break
;
}
case
WM_DESTROY
:
{
WNDPROC
lpfnWndProc
=
(
WNDPROC
)(
::
GetProp
(
hdlg
,
NativeDialogWndProcProp
));
ComCtl32Util
::
GetInstance
().
UnsubclassHWND
(
hdlg
,
PrintDialogWndProc
,
NULL
);
lpfnWndProc
);
::
RemoveProp
(
hdlg
,
ModalDialogPeerProp
);
::
RemoveProp
(
hdlg
,
NativeDialogWndProcProp
);
break
;
}
}
...
...
src/windows/native/sun/windows/awt_PrintJob.cpp
浏览文件 @
d636b8c0
...
...
@@ -2885,7 +2885,8 @@ LRESULT CALLBACK PageDialogWndProc(HWND hWnd, UINT message,
}
}
return
ComCtl32Util
::
GetInstance
().
DefWindowProc
(
NULL
,
hWnd
,
message
,
wParam
,
lParam
);
WNDPROC
lpfnWndProc
=
(
WNDPROC
)(
::
GetProp
(
hWnd
,
NativeDialogWndProcProp
));
return
ComCtl32Util
::
GetInstance
().
DefWindowProc
(
lpfnWndProc
,
hWnd
,
message
,
wParam
,
lParam
);
}
/**
...
...
@@ -2919,16 +2920,19 @@ static UINT CALLBACK pageDlgHook(HWND hDlg, UINT msg,
}
// subclass dialog's parent to receive additional messages
ComCtl32Util
::
GetInstance
().
SubclassHWND
(
hDlg
,
PageDialogWndProc
);
WNDPROC
lpfnWndProc
=
ComCtl32Util
::
GetInstance
().
SubclassHWND
(
hDlg
,
PageDialogWndProc
);
::
SetProp
(
hDlg
,
NativeDialogWndProcProp
,
reinterpret_cast
<
HANDLE
>
(
lpfnWndProc
));
break
;
}
case
WM_DESTROY
:
{
WNDPROC
lpfnWndProc
=
(
WNDPROC
)(
::
GetProp
(
hDlg
,
NativeDialogWndProcProp
));
ComCtl32Util
::
GetInstance
().
UnsubclassHWND
(
hDlg
,
PageDialogWndProc
,
NULL
);
lpfnWndProc
);
::
RemoveProp
(
hDlg
,
ModalDialogPeerProp
);
::
RemoveProp
(
hDlg
,
NativeDialogWndProcProp
);
break
;
}
}
...
...
src/windows/native/sun/windows/awt_Window.h
浏览文件 @
d636b8c0
...
...
@@ -34,6 +34,7 @@
// property name tagging windows disabled by modality
static
LPCTSTR
ModalBlockerProp
=
TEXT
(
"SunAwtModalBlockerProp"
);
static
LPCTSTR
ModalDialogPeerProp
=
TEXT
(
"SunAwtModalDialogPeerProp"
);
static
LPCTSTR
NativeDialogWndProcProp
=
TEXT
(
"SunAwtNativeDialogWndProcProp"
);
#ifndef WH_MOUSE_LL
#define WH_MOUSE_LL 14
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录