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. Drawing Drag Rect\Selection Rects in GDI

Drawing Drag Rect\Selection Rects in GDI

Scheduled Pinned Locked Moved C / C++ / MFC
graphicstutorialregexarchitecturehelp
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.
  • J Offline
    J Offline
    Jared Allen
    wrote on last edited by
    #1

    Hi, An example of what i want to do - when you drag a splitter control, drag a window , drag a selection box etc a drag rect is drawn to show what you are selected. I want to know how to draw the rect? with GDI , it is some sort of line style , it is not a solid line, maybe a pattern? If any one knows how it is drawn it'd really help Thanks.

    C 1 Reply Last reply
    0
    • J Jared Allen

      Hi, An example of what i want to do - when you drag a splitter control, drag a window , drag a selection box etc a drag rect is drawn to show what you are selected. I want to know how to draw the rect? with GDI , it is some sort of line style , it is not a solid line, maybe a pattern? If any one knows how it is drawn it'd really help Thanks.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      DrawFocusRect Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. "I'm somewhat suspicious of STL though. My (test,experimental) program worked first time. Whats that all about??!?! - Jon Hulatt, 22/3/2002

      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