Groups | Search | Server Info | Login | Register
Groups > comp.databases.ms-access > #820
| From | "Phil" <phil@stantonfamily.co.uk> |
|---|---|
| Newsgroups | comp.databases.ms-access |
| Subject | Re: Dump a subform to paint |
| Date | 2011-04-05 18:00 +0100 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <infhs6$3hs$1@speranza.aioe.org> (permalink) |
| References | <inepcg$6ud$1@speranza.aioe.org> <f49cf356-68c7-4934-835a-938910b3f7e6@d12g2000vbz.googlegroups.com> |
On 05/04/2011 16:29:16, The Frog wrote: > 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 > Thanks for coming back. The subform contains up to 120 images which are generated using a program called imagemagick. The subform displays all the images after the OnCurrent event. The routine I described in the original posting saves the whole Access window to the Clipboard which I then paste to paint. As you suggest, I need the handle to the Subform as is, complete with images which I can save to the clipboard. I don't want the surrounding main form or Access window Phil
Back to comp.databases.ms-access | Previous | Next — Previous in thread | Next in thread | Find similar
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