Re: How to save picturebox hdc or convert hdc to picture property
Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance
- From: touriste <touriste@xxxx>
- Date: Thu, 04 Oct 2007 17:43:23 +0200
thsman a écrit :
I once had a very useful bas module that had a function called
something like hdc2picture where whatever was in the hdc of the
picturebox was put into the picturebox.picture property and could thus
be saved or printed.
I can't find the thing any more and can't find it via Google. Anyone
know of a similar piece of code?
Hello,
Not a piece of code but a function:
getDIBits
.
Relevant Pages
- How to save picturebox hdc or convert hdc to picture property
... I once had a very useful bas module that had a function called ... something like hdc2picture where whatever was in the hdc of the ... picturebox was put into the picturebox.picture property and could thus ... (microsoft.public.vb.winapi.graphics) - Re: PictureBox Troubles Update
... a variable instead of using hDC property). ... AutoRedraw is True, VB creates a new DC when you make the PictureBox bigger, ... Dim hClientDC As Long ... Dim hWindowDC As Long ... (microsoft.public.vb.general.discussion) - Re: no Hdc.. yikes!
... The dotnet picturebox control is not the same as the VBClassic control. ... I would recommend that you create a bitmap and pass a hdc from it's graphics ... (microsoft.public.dotnet.framework.drawing) - Re: XP style forms from VB6
... but it does force you to place controls destined for a frame into a ... picturebox as an intermediary step to provide the system with a required ... colour swatches (again an hDc issue within the property editor). ... "mike" wrote in message ... (microsoft.public.vb.general.discussion) - Re: StretchBlt oddness
... Lindsay wrote: ... > SetStretchBltMode should work fine on any vb hDC, e.g, Form or ... > PictureBox. ... > StretchBlt. ... (microsoft.public.vb.winapi) |
|