Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. MoveWindow

MoveWindow

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kk tvm
    wrote on last edited by
    #1

    Hi Friends In my program i create a window which show irregular shape draw in OnPaint. While moving using MoveWindow, background is also moving with irregular shape. How to overcome this problem. Please help me!. Thanks in advance

    -RisKhan-

    P 1 Reply Last reply
    0
    • K kk tvm

      Hi Friends In my program i create a window which show irregular shape draw in OnPaint. While moving using MoveWindow, background is also moving with irregular shape. How to overcome this problem. Please help me!. Thanks in advance

      -RisKhan-

      P Offline
      P Offline
      Parthi_Appu
      wrote on last edited by
      #2

      RisKhan wrote:

      i create a window which show irregular shape draw in OnPaint

      If you paint irregular shapes in OnPaint, its not meaning that you are making the window shape irregular. The window will be rectangle. To make your window irregular in shape you have create a region of the shape you wanted and use

      SetWindowRgn(..)

      This will slove your problem.. Hope this'll help you..


      Do your Duty and Don't expect the Result

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups