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. Static Control Prob. Pls reply me

Static Control Prob. Pls reply me

Scheduled Pinned Locked Moved C / C++ / MFC
question
5 Posts 3 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.
  • T Offline
    T Offline
    TobetheWinner
    wrote on last edited by
    #1

    Im Create a static control inorder to use it as a label

    CStatic *temp = new CStatic();
    temp->Create("YYYYY" ,SS_SIMPLE ,CRect(0,0,25,25) ,this);

    My requirement is if my text which should display inside static control exceeds the rectangle limits it should take a new line automatically. It Must be multiline static control. so how can i do it. bhw

    R 1 Reply Last reply
    0
    • T TobetheWinner

      Im Create a static control inorder to use it as a label

      CStatic *temp = new CStatic();
      temp->Create("YYYYY" ,SS_SIMPLE ,CRect(0,0,25,25) ,this);

      My requirement is if my text which should display inside static control exceeds the rectangle limits it should take a new line automatically. It Must be multiline static control. so how can i do it. bhw

      R Offline
      R Offline
      Rajkumar R
      wrote on last edited by
      #2

      Use MultiLine Edit Control and make it readonly.

      T 1 Reply Last reply
      0
      • R Rajkumar R

        Use MultiLine Edit Control and make it readonly.

        T Offline
        T Offline
        TobetheWinner
        wrote on last edited by
        #3

        Thanks bhw

        T 1 Reply Last reply
        0
        • T TobetheWinner

          Thanks bhw

          T Offline
          T Offline
          TobetheWinner
          wrote on last edited by
          #4

          In the read only edit box how to stop the blinking |. bhw

          C 1 Reply Last reply
          0
          • T TobetheWinner

            In the read only edit box how to stop the blinking |. bhw

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

            Don't let it have the input focus.

            Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

            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