Groups | Search | Server Info | Login | Register


Groups > comp.databases.ms-access > #817

Re: Dump a subform to paint

From The Frog <mr.frog.to.you@googlemail.com>
Newsgroups comp.databases.ms-access
Subject Re: Dump a subform to paint
Date 2011-04-05 08:29 -0700
Organization http://groups.google.com
Message-ID <f49cf356-68c7-4934-835a-938910b3f7e6@d12g2000vbz.googlegroups.com> (permalink)
References <inepcg$6ud$1@speranza.aioe.org>

Show all headers | View raw


Hi Phil,

When you say images, are you referring to pictures displayed on the
subform that you have previously stored in the database and are
dynamically retrieving on a per record basis (ie/ stored BLOB's)? Or
is this a fixed set of images like a company logo and such that doesnt
change? I am trying to work through the problem you are having and
thinking that if they are stored images then it might simply be easier
to copy the picture to an iPicture object and then just paste that
into MS Paint.

The way I see it, the only shortcut you might be able to find would be
if you can get the handle to the subform, figure out its position, and
grab screen from there. All API stuff but you seem OK handling that.
At the moment you are using the Access handle to generate your GDI
handle, which in theory would provide a window size that is the same
as whatever Access is currently using as screen real-estate. I havent
tried this but perhaps by acquiring the subforms handle it could be
done. So how do you get the subforms handle? I would have to have a
play with that and see as I have not tried it directly. GDI can be a
tricky little beast at times......

Cheers

The Frog

Back to comp.databases.ms-access | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Dump a subform to paint "Phil" <phil@stantonfamily.co.uk> - 2011-04-05 11:02 +0100
  Re: Dump a subform to paint "zuckermanf@gmail.com" <zuckermanf@gmail.com> - 2011-04-05 07:55 -0700
    Re: Dump a subform to paint "Phil" <phil@stantonfamily.co.uk> - 2011-04-05 18:04 +0100
  Re: Dump a subform to paint The Frog <mr.frog.to.you@googlemail.com> - 2011-04-05 08:29 -0700
    Re: Dump a subform to paint "Phil" <phil@stantonfamily.co.uk> - 2011-04-05 18:00 +0100
      Re: Dump a subform to paint The Frog <mr.frog.to.you@googlemail.com> - 2011-04-06 00:25 -0700
      Re: Dump a subform to paint imb <imb4u@onsmail.nl> - 2011-04-06 01:08 -0700
  Re: Dump a subform to paint "JHB" <jhb183@hotmail.com> - 2011-04-06 14:15 +0200
    Re: Dump a subform to paint "Phil" <phil@stantonfamily.co.uk> - 2011-04-06 15:00 +0100

csiph-web