|
-
May 15th, 2012, 02:41 AM
#1
Raster operations. Exchange between windows.
Hi!
In my MFC doc/view programm I have two classes with their windows. The first one is view, the second is a dialog. The view is constantly displaying image form camera. I want the second window, dialog, to show the image that has been in view when some event happens, in picture control actually.
I know how to show picture from program resources or from disk, and my code does it fine.
And I have some functions in view. Some of them get picture from view and can save it at disk.
But when I try to pass somehow image from view to dialog, even if no errors occure - nothing happens, nothing is drawn. I tried to pass pointer of CBitmap of actual DC of the view. I tried to pass BITMAP structures. By the way every part of this structures like some information goes fine, but no image itself. It seems to me there are some problems with "passing" pixelsbits.
so, I'll be glad to any help: ideas, examples, concepts)
Thanks in advance!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|