发送alt+print screen,然后从剪贴板中得到图片
解决方案 »
- 请高手指正这段代码是否有问题(VB数组问题)
- 给我孩子求个名字
- 要做在窗体用鼠标点控件,周围放8个小图标,能用鼠标移动控件
- 如何将access中ole中的excel表格放到word中?急!!!
- 奇怪,怎么在SQL生成器里不能使用变量?
- 在线求救!!!!!VB如何在设计阶段设置"横向打印"??
- sql问题,变量值跟数据库表里的字段比较该怎么写
- excel报表显示问题 ,请帮帮忙
- 介绍一个提供教程、源代码下载,软件下载、发布的地方(来着有分)
- msador15.dll是作什么用的?
- 我书上列出的几个 api 函数在 VB 里面的 api 阅读器 和 msdn 里面都没有找到
- 请问如何找到无用的控件?
TO:jennyvenus(九阴白骨脱衣艳舞)
这种方法不行,效果相同,不信你试试TO:suntt(两条腿的狗)
如果是MDI子窗体,而且又比父窗体要大,那要如何隐藏呢?
const CAPTUREBLT = &h40000000
可以实现不被上层窗口覆盖的拷贝,但是我尝试了,没有成功,如果你感兴趣的话可以研究一下。
你说的那个常量在什么地方用?
PrintWindow
The PrintWindow function copies a visual window into the specified device context (DC), typically a printer DC.BOOL PrintWindow(
HWND hwnd, // Window to copy
HDC hdcBlt, // HDC to print into
UINT nFlags // Optional flags
);Parameters
hwnd
Handle to the window that will be copied.
hdcBlt
Handle to the device context.
nFlags
Specifies the drawing options. It can be one of the following values. Value Meaning
PW_CLIENTONLY Only the client area of the window is copied to hdcBlt. By default, the entire window is copied.
Return Values
If the function succeeds, it returns a nonzero value.If the function fails, it returns zero.Res
This function is similar to WM_PRINT. Before calling PrintWindow, first select a bitmap into hdcBlt. Requirements
Windows NT/2000/XP: Included in Windows XP and Windows .NET Server.
Windows 95/98/Me: Unsupported.
Header: Declared in Winspool.h; include Windows.h.
Library: Use Winspool.lib.
从最新的Platform SDK中拷贝过来的