GIDForums  

Go Back   GIDForums > Computer Programming Forums > CPP / C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 03-Apr-2007, 06:58
dedeco dedeco is offline
New Member
 
Join Date: Feb 2007
Posts: 10
dedeco is on a distinguished road

"virtual window-shot"?


Hello,

I am sorry for the bad title. I hope it will make some sense.

I have an application with a window, and inside this window I have a certain object. This object occupies a certain amount of my window. The object changes sizes when my window changes sizes, because it is anchored to the window (the properties in "Anchors" are true for all sides of it).

This object is a graphics plotter. It has a method of my interest, that exports the visualization to a bitmap file (.bmp) (no other options are given by this object).

The problem is that the exported image depends on my current window size. Id est, if my window is maximized I have one result. If my window is default size (in this case) the result is another one. The worse is that the result also depends on the current screen resolution, as you may have guessed.

I am trying to find a solution for the problem, but I don´t know exactly how I would implement it.

Create an invisible hugh window, put this object in it, and call the method to export the bitmap. But I don´t know how to put the same instance of an object child of two window (if it is possible); nor how to do it temporarily at runtime.

And can I set a window bigger than the screen?

Regards,

D
 

Recent GIDBlogLast Week of IA Training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Traditional Win32 programming vs. wxWidgets Zorachus CPP / C++ Forum 2 10-Feb-2007 17:54
need help with a console menu system BullBuchanan CPP / C++ Forum 6 20-Aug-2006 14:46
Win32 Window Shading behavior (like linux) WillyumYum CPP / C++ Forum 3 18-Apr-2005 14:36
#including resource file causing window procedure to be undeclared??? ubergeek CPP / C++ Forum 3 07-Feb-2005 14:39
Changing window start colour Rosdahale CPP / C++ Forum 5 19-Jan-2005 15:51

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 05:08.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.