Click here to Skip to main content
15,918,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Hi,

Thanks for your post.

I currently have the following code:

CRect recOLEObject; //Set using GetWindowRect when I activate
//the OLE object temporarily

CRect recApp; //Set using GetWindowRect

CPoint ptDCShift;

ptDCShift.x = recOLEObject.left - recApp.left;
ptDCShift.y = recOLEObject.top - recApp.top;

pDC->SetViewportOrg(ptDCShift);

The wierd thing is, as I start and stop the animation the amount of shift changes (never being in the right place, I should point out), and 'steps' down the screen.

Paul.
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 
GeneralRe: MainFrame Bitmap Pin
Mazdak18-Feb-02 2:11
Mazdak18-Feb-02 2:11 
GeneralRe: MainFrame Bitmap Pin
Joaquín M López Muñoz18-Feb-02 2:27
Joaquín M López Muñoz18-Feb-02 2:27 

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.