Article View: comp.os.ms-windows.programmer.tools
Article #893Re: VB 2.0 - using the clipboard?
From: EE U780935
Date: Sun, 10 Jan 1993 06:10
Date: Sun, 10 Jan 1993 06:10
22 lines
1502 bytes
1502 bytes
The data you put in the Windows clipboard is only the hDC of pictures.
The MDI child in your picturebox is not owned by the picturebox.
If you want to put picturebox and the MDI icons into clipboard, get the
Desktop hWnd, then copy the area of your picture box on your screen to
clipboard....
Here are some API call needed here...
GetDesktopWindow
GetDC, ReleaseDC, CreateCompatibleDC ,.... etc (I forget)
BitBlt
The clipboard instuction in VB are not allowed here. So you must use
clipboard API function.
--
===============================================================================
Yu-Fu Wu National Tsing-Hua University
e-mail: yfwu@uz.nthu.edu.tw Dept. of Electric Engineering
Hsin-Chu City, 300
Like MS Visual Basic most! Taiwan, ROC
===============================================================================
Technical Details
Message-ID:
<1993Jan10.061010.5570%yfwu@Uz.nthu.edu.tw>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!newsserver.jvnc.net!news.edu.tw!news!Net.nthu.edu.tw!Uz.nthu.edu.tw!yfwuReferences:
<54540005@hpgrla.gr.hp.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.tools Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!newsserver.jvnc.net!news.edu.tw!news!Net.nthu.edu.tw!Uz.nthu.edu.tw!yfwu From: yfwu@Uz.nthu.edu.tw (EE U780935) Subject: Re: VB 2.0 - using the clipboard? Message-ID: <1993Jan10.061010.5570%yfwu@Uz.nthu.edu.tw> Organization: National Tsing Hua University (HsinChu) References: <54540005@hpgrla.gr.hp.com> Date: Sun, 10 Jan 1993 06:10:10 GMT Lines: 22