   MFC stuff
  I''m writing a program using MFC, but have some problems in the process. How could I get the view assosiated with the document (I only use one of each for my program). I know i can use the GetDocument() from my view class to do the opposite, but can''t I get a view from the document? Is that logical? If anyone can help, I''d be in his debt. 
  You shouldn''t need to get the view from the document... but there are some circumstances where you might need to, like if you''re using a form view.  There are functions to do this.  I believe GetFirstViewPostion() and GetNextView() will do what you want.  It''s complicated because there can be more than one view per document.   --------------------You are not a real programmer until you end all your sentences with semicolons; (c) 2000 ROAD Programming You are unique.  Just like everybody else."Mechanical engineers design weapons; civil engineers design targets.""Sensitivity is adjustable, so you can set it to detect elephants and other small creatures." -- Product Description for a vibration sensorYanroy@usa.com ;  If you are creating a SDI you can call GetActiveView to get a pointer to the view.   "Absorb what is useful, reject what is useless, and add what is specifically your own." - Lee Jun Fan 