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. The Lounge
  3. an entry question

an entry question

Scheduled Pinned Locked Moved The Lounge
question
2 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.
  • S Offline
    S Offline
    Sean_Yang
    wrote on last edited by
    #1

    In my dialog function as following, the key_board input wouldn't get response, why? BOOL CALLBACK Parameter_Window_Exper(HWND hWnd, UINT Message, WPARAM wParam, LPARAM lParam) { switch (Message) { case WM_INITDIALOG: ..... return TRUE; case WM_CHAR: switch(wParam) { case '1': record_data_pair(1); break; case '2': record_data_pair(2); break; case '3': record_data_pair(3); break; default: break; } return TRUE; } default: return FALSE; } Thanks Sean

    A 1 Reply Last reply
    0
    • S Sean_Yang

      In my dialog function as following, the key_board input wouldn't get response, why? BOOL CALLBACK Parameter_Window_Exper(HWND hWnd, UINT Message, WPARAM wParam, LPARAM lParam) { switch (Message) { case WM_INITDIALOG: ..... return TRUE; case WM_CHAR: switch(wParam) { case '1': record_data_pair(1); break; case '2': record_data_pair(2); break; case '3': record_data_pair(3); break; default: break; } return TRUE; } default: return FALSE; } Thanks Sean

      A Offline
      A Offline
      Anders Molin
      wrote on last edited by
      #2

      Post this question in the C++ forum, then you might get an answar. The lounge is not for programming questions. - Anders Money talks, but all mine ever says is "Goodbye!"

      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