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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. Why does not Command Prompt window have WndProc ?

Why does not Command Prompt window have WndProc ?

Scheduled Pinned Locked Moved Visual Basic
questionc++
3 Posts 3 Posters 1 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.
  • K Offline
    K Offline
    Ky Nam
    wrote on last edited by
    #1

    Hi I need to subclass ( in C++ ) Command Prompt window but CP window's WndProc is Zero , therefore i can not call DefWndProc Thanks for your ideas

    C D 2 Replies Last reply
    0
    • K Ky Nam

      Hi I need to subclass ( in C++ ) Command Prompt window but CP window's WndProc is Zero , therefore i can not call DefWndProc Thanks for your ideas

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      Ky Nam wrote:

      I need to subclass ( in C++ ) Command Prompt window but CP window's WndProc is Zero , therefore i can not call DefWndProc Thanks for your ideas

      It might be an idea to post this in a C++ related forum. I don't think you'll get an answer in the VB forum.


      Upcoming events: * Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ... "I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless." My website

      1 Reply Last reply
      0
      • K Ky Nam

        Hi I need to subclass ( in C++ ) Command Prompt window but CP window's WndProc is Zero , therefore i can not call DefWndProc Thanks for your ideas

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        Ky Nam wrote:

        I need to subclass ( in C++ ) Command Prompt window but CP window's WndProc is Zero

        Of course! A console app doesn't have a message pump, so won't have a WndProc function.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007

        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