Click here to Skip to main content
15,903,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Icon & bitmap ID's for "New folder" "Delete" Rename" etc Pin
zqueezy27-Jul-07 11:17
zqueezy27-Jul-07 11:17 
GeneralRe: Icon & bitmap ID's for "New folder" "Delete" Rename" etc Pin
codemunkeh27-Jul-07 16:16
codemunkeh27-Jul-07 16:16 
AnswerRe: Icon & bitmap ID's for "New folder" "Delete" Rename" etc Pin
Mark Salsbery27-Jul-07 12:16
Mark Salsbery27-Jul-07 12:16 
QuestionUuidCreate return status Pin
bob1697227-Jul-07 7:12
bob1697227-Jul-07 7:12 
AnswerRe: UuidCreate return status Pin
DevMentor.org27-Jul-07 8:10
DevMentor.org27-Jul-07 8:10 
AnswerRe: UuidCreate return status Pin
Mark Salsbery27-Jul-07 8:52
Mark Salsbery27-Jul-07 8:52 
AnswerRe: UuidCreate return status Pin
Michael Dunn27-Jul-07 10:00
sitebuilderMichael Dunn27-Jul-07 10:00 
QuestionAbout Key board Message [modified] Pin
Max++27-Jul-07 6:27
Max++27-Jul-07 6:27 
My project is about using keyboard for control the sound.
such as if the user key in "a", the program should talk to the user that he\she is pressing "a" button.I use KeyBoard hook for trap the message and send the message to main program, My code in main windows as
LRESULT CKeySoundDlg:rocesskey(WPARAM w, LPARAM l)
{
  if (w==(WPARAM)VK_ESCAPE)
   {
    strBuf = "C:\\KeySound by Hi-Speed2007\\Esc.wav";
    PlaySound();
  }

  if (w==(WPARAM)VK_F1)
  {
    strBuf = "C:\\KeySound by Hi-Speed2007\\F1.wav";
    PlaySound();
  }
return 0L;
}

void CKeySoundDlg::PlaySound()
{
  m_cSound.SetCommand("Close");
  m_cSound.SetFileName(strBuf);
  m_cSound.SetCommand("Open");
  m_cSound.SetCommand("Play");
}


But my keyboard have 2 language(English and Thai),So I need to check the key board mode, Is it in English or Thai mode.

My problem is that, how can I separate language of keyboard.
How to know, right now user key in English or Thai.

Thanks
Max


-- modified at 23:06 Friday 27th July, 2007
AnswerRe: About Key board Message Pin
Eytukan27-Jul-07 7:05
Eytukan27-Jul-07 7:05 
GeneralRe: About Key board Message Pin
Max++27-Jul-07 7:19
Max++27-Jul-07 7:19 
GeneralRe: About Key board Message Pin
codemunkeh27-Jul-07 16:20
codemunkeh27-Jul-07 16:20 
QuestionWifi And Winsock2 Pin
djin9427-Jul-07 4:46
djin9427-Jul-07 4:46 
AnswerRe: Wifi And Winsock2 Pin
Rage27-Jul-07 5:20
professionalRage27-Jul-07 5:20 
QuestionRe: Wifi And Winsock2 Pin
Mark Salsbery27-Jul-07 5:20
Mark Salsbery27-Jul-07 5:20 
AnswerRe: Wifi And Winsock2 Pin
led mike27-Jul-07 5:37
led mike27-Jul-07 5:37 
AnswerRe: Wifi And Winsock2 Pin
djin9429-Jul-07 23:30
djin9429-Jul-07 23:30 
AnswerRe: Wifi And Winsock2 Pin
Eytukan27-Jul-07 7:08
Eytukan27-Jul-07 7:08 
QuestionAnyone to help me? Pin
garfaoui27-Jul-07 4:42
garfaoui27-Jul-07 4:42 
AnswerRe: Anyone to help me? Pin
Cyrilix27-Jul-07 4:49
Cyrilix27-Jul-07 4:49 
GeneralRe: Anyone to help me? Pin
garfaoui27-Jul-07 4:50
garfaoui27-Jul-07 4:50 
GeneralRe: Anyone to help me? Pin
Rage27-Jul-07 5:22
professionalRage27-Jul-07 5:22 
AnswerRe: Anyone to help me? Pin
Rage27-Jul-07 5:40
professionalRage27-Jul-07 5:40 
GeneralRe: Anyone to help me? Pin
garfaoui29-Jul-07 22:40
garfaoui29-Jul-07 22:40 
AnswerRe: Anyone to help me? Pin
Eytukan27-Jul-07 7:14
Eytukan27-Jul-07 7:14 
QuestionRe: Anyone to help me? Pin
garfaoui29-Jul-07 22:39
garfaoui29-Jul-07 22:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.