Thread: How to rotate

  1. #1
    Registered User cfrost's Avatar
    Join Date
    Apr 2004
    Posts
    119

    Smile How?

    How can i make my window slide in MFC
    Last edited by cfrost; 07-11-2004 at 07:14 PM.

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    You mean the contents of the window? You can try the setting the world transformation. Look up SetGraphicsMode() and SetWorldTransform() in MSDN.
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

  3. #3
    Registered User cfrost's Avatar
    Join Date
    Apr 2004
    Posts
    119

    Wink

    How can i convert CDC to HDC

  4. #4
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    The m_hDC data member of a CDC object is declared as HDC.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  5. #5
    /*enjoy*/
    Join Date
    Apr 2004
    Posts
    159


    what's cdc ...hdc


  6. #6
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    CDC is the MFC class that wraps a device context, a DC. Generally, when you see something called hXXXXX it is a "handle" to an XXXXX, so hDC is a handle to a DC, a device context.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Camera rotate to function
    By VirtualAce in forum Game Programming
    Replies: 0
    Last Post: 11-15-2008, 12:22 PM
  2. How to rotate child objects in 3D
    By Arianiv in forum Game Programming
    Replies: 11
    Last Post: 04-03-2008, 05:09 AM
  3. how to rotate a scene in the correct way ?
    By jabka in forum Game Programming
    Replies: 2
    Last Post: 12-18-2007, 01:59 PM
  4. Utility to rotate text
    By Yasir_Malik in forum Linux Programming
    Replies: 2
    Last Post: 10-03-2004, 03:21 PM
  5. Silvercord: Rotate around an arbitrary axis
    By jdinger in forum Game Programming
    Replies: 10
    Last Post: 08-17-2003, 09:27 PM