Click here to Skip to main content
15,917,731 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: COM wrapper, __cdecl and __stdcall Pin
Paul M Watt19-Feb-02 13:39
mentorPaul M Watt19-Feb-02 13:39 
GeneralVisual C++ & OpenGL Pin
Rajveer18-Feb-02 7:10
Rajveer18-Feb-02 7:10 
GeneralRe: Visual C++ & OpenGL Pin
Michael A. Barnhart19-Feb-02 7:12
Michael A. Barnhart19-Feb-02 7:12 
GeneralTroubles when trying to load an inserted ActiveX that was inserted in an automated instance of Word Pin
Braulio Dez18-Feb-02 5:34
Braulio Dez18-Feb-02 5:34 
GeneralCListCtrl and CComboBox Pin
18-Feb-02 5:20
suss18-Feb-02 5:20 
GeneralRe: CListCtrl and CComboBox Pin
alex.barylski18-Feb-02 5:21
alex.barylski18-Feb-02 5:21 
GeneralRe: CListCtrl and CComboBox Pin
Mazdak18-Feb-02 5:27
Mazdak18-Feb-02 5:27 
GeneralMoving DCs about! Pin
paulccc18-Feb-02 5:01
paulccc18-Feb-02 5:01 
Hi All,

I have a parent window that contains an OLE object. I want the OLE object to draw on its parent's DC (for animation). This isn't too much of a problem, as I can get the parent CWnd and associated DC.

The problem is however - I have pre-written code to do the drawing that expects to start drawing at 0,0. This means the graphic is always at the top left of my parent window. What I want to do is shift the graphic to the right and down so it's above the object.

I *think* what I want to do is shift the whole parent DC to the right and down, but I'm not sure how to go about this.

Any help greatly appreciated.

Paul.

GeneralRe: Moving DCs about! Pin
Joaquín M López Muñoz18-Feb-02 5:15
Joaquín M López Muñoz18-Feb-02 5:15 
GeneralRe: Moving DCs about! Pin
paulccc18-Feb-02 5:23
paulccc18-Feb-02 5:23 
GeneralRe: Moving DCs about! Pin
Shog918-Feb-02 5:57
sitebuilderShog918-Feb-02 5:57 
GeneralIActiveDesktop::SetWallpaper problem Pin
Rickard Andersson2018-Feb-02 4:02
Rickard Andersson2018-Feb-02 4:02 
GeneralRe: IActiveDesktop::SetWallpaper problem Pin
Joaquín M López Muñoz18-Feb-02 4:49
Joaquín M López Muñoz18-Feb-02 4:49 
GeneralRe: IActiveDesktop::SetWallpaper problem Pin
Rickard Andersson2018-Feb-02 8:13
Rickard Andersson2018-Feb-02 8:13 
GeneralAccessing variables across functions Pin
18-Feb-02 3:55
suss18-Feb-02 3:55 
GeneralRe: Accessing variables across functions Pin
Jon Hulatt18-Feb-02 4:06
Jon Hulatt18-Feb-02 4:06 
GeneralCurrent user entry in Registry Pin
sanskypotov18-Feb-02 2:41
sanskypotov18-Feb-02 2:41 
GeneralRe: Current user entry in Registry Pin
567890123418-Feb-02 3:29
567890123418-Feb-02 3:29 
GeneralRe: Current user entry in Registry Pin
Nish Nishant18-Feb-02 3:28
sitebuilderNish Nishant18-Feb-02 3:28 
GeneralRe: Current user entry in Registry Pin
Joaquín M López Muñoz18-Feb-02 3:36
Joaquín M López Muñoz18-Feb-02 3:36 
GeneralRe: Current user entry in Registry Pin
Nish Nishant18-Feb-02 3:50
sitebuilderNish Nishant18-Feb-02 3:50 
GeneralVC++ Editor Pin
18-Feb-02 1:33
suss18-Feb-02 1:33 
GeneralRe: VC++ Editor Pin
Christian Graus18-Feb-02 10:43
protectorChristian Graus18-Feb-02 10:43 
GeneralSelection.InlineShapes.AddOLEObject Pin
Braulio Dez18-Feb-02 1:05
Braulio Dez18-Feb-02 1:05 
GeneralMainFrame Bitmap Pin
Igor Kondrasovas18-Feb-02 1:01
professionalIgor Kondrasovas18-Feb-02 1:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.