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. Popup edit control

Popup edit control

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

    Hi, Does anybody know why edit control cant be created as popup? Thank you.

    - NS -

    H 1 Reply Last reply
    0
    • N Nishad S

      Hi, Does anybody know why edit control cant be created as popup? Thank you.

      - NS -

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

      can you more explain about popup with editbox?

      N 1 Reply Last reply
      0
      • H Hamid Taebi

        can you more explain about popup with editbox?

        N Offline
        N Offline
        Nishad S
        wrote on last edited by
        #3

        OK... I did more study on that and I could locate the problem. The code was like this... HWND hWndEdit = CreateWindow( _T( "EDIT" ), _T( "" ), WS_POPUP | WS_VISIBLE, 0, 0, 100, 50, hWnd, (HMENU)1001, hInstance, 0 ); And the problem was with control ID given. For top level window it should be null or a valid menu handle. Let me say what I was trying for. I need to show an edit control inside a list control (similar to label edit), but its width can be more than list control's client area. So I tried to use a popup edit control. Any idea to implement the same?

        - NS -

        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