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. question about setting cursor on Cstatic

question about setting cursor on Cstatic

Scheduled Pinned Locked Moved C / C++ / MFC
question
6 Posts 4 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.
  • A Offline
    A Offline
    abstar
    wrote on last edited by
    #1

    hi guys how do i set the cursor on Cstatic control thanks

    T S 2 Replies Last reply
    0
    • A abstar

      hi guys how do i set the cursor on Cstatic control thanks

      T Offline
      T Offline
      toxcct
      wrote on last edited by
      #2

      CStatic is not editable (by the user of the UI), so no cursor can be set on it


      Don't know where to start ?
      Refer the Forums Guidelines and ask a friend

      [VisualCalc 3.0][Flags Beginner's Guide]

      1 Reply Last reply
      0
      • A abstar

        hi guys how do i set the cursor on Cstatic control thanks

        S Offline
        S Offline
        Stephen Hewitt
        wrote on last edited by
        #3

        Use a read only edit control with no borders instead.

        Steve

        A 1 Reply Last reply
        0
        • S Stephen Hewitt

          Use a read only edit control with no borders instead.

          Steve

          A Offline
          A Offline
          abstar
          wrote on last edited by
          #4

          thanks, by the way how do i find cursor position outside of window? thanks

          S H 2 Replies Last reply
          0
          • A abstar

            thanks, by the way how do i find cursor position outside of window? thanks

            S Offline
            S Offline
            Stephen Hewitt
            wrote on last edited by
            #5

            I believe you use the CEdit::GetSel function(s).

            Steve

            1 Reply Last reply
            0
            • A abstar

              thanks, by the way how do i find cursor position outside of window? thanks

              H Offline
              H Offline
              Hamid Taebi
              wrote on last edited by
              #6

              Is your purpose GetCursorpos?


              WhiteSky


              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