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. How can I get the lpClassName?

How can I get the lpClassName?

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

    I Want to create a popup window at my dialog based program,could you tell me how? Could I register a new window class for it? If no necessary,how can I get the lpClassName which is used at the follow function ? HWND CreateWindowEx( DWORD dwExStyle, LPCTSTR lpClassName, LPCTSTR lpWindowName, DWORD dwStyle, int x, int y, int nWidth, int nHeight, HWND hWndParent, HMENU hMenu, HINSTANCE hInstance, LPVOID lpParam ); Thanks! free like a bird

    2 C 2 Replies Last reply
    0
    • G Guoguor

      I Want to create a popup window at my dialog based program,could you tell me how? Could I register a new window class for it? If no necessary,how can I get the lpClassName which is used at the follow function ? HWND CreateWindowEx( DWORD dwExStyle, LPCTSTR lpClassName, LPCTSTR lpWindowName, DWORD dwStyle, int x, int y, int nWidth, int nHeight, HWND hWndParent, HMENU hMenu, HINSTANCE hInstance, LPVOID lpParam ); Thanks! free like a bird

      2 Offline
      2 Offline
      224917
      wrote on last edited by
      #2

      CString sClassName = AfxRegisterWndClass (CS_HREDRAW|CS_VREDRAW); now use sClassName
      There is no spoon. mail

      1 Reply Last reply
      0
      • G Guoguor

        I Want to create a popup window at my dialog based program,could you tell me how? Could I register a new window class for it? If no necessary,how can I get the lpClassName which is used at the follow function ? HWND CreateWindowEx( DWORD dwExStyle, LPCTSTR lpClassName, LPCTSTR lpWindowName, DWORD dwStyle, int x, int y, int nWidth, int nHeight, HWND hWndParent, HMENU hMenu, HINSTANCE hInstance, LPVOID lpParam ); Thanks! free like a bird

        C Offline
        C Offline
        cmk
        wrote on last edited by
        #3

        lpClassName is either an existing class name e.g. Button, Edit, SysTreeView32, ... or a class that you registered via RegisterClassEx(). ...cmk Save the whales - collect the whole set

        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