Click here to Skip to main content
15,893,814 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Exchange data between PropertyPages Pin
David Crow20-Apr-06 2:50
David Crow20-Apr-06 2:50 
AnswerRe: Exchange data between PropertyPages Pin
PJ Arends19-Oct-05 5:28
professionalPJ Arends19-Oct-05 5:28 
Questionproblem with _kbhit and i/o exception handling Pin
codeingit19-Oct-05 1:24
codeingit19-Oct-05 1:24 
AnswerRe: problem with _kbhit and i/o exception handling Pin
John R. Shaw19-Oct-05 10:05
John R. Shaw19-Oct-05 10:05 
Questionhow to add a new device and uninstall it in MFC? Pin
V.G19-Oct-05 0:59
V.G19-Oct-05 0:59 
QuestionPARALLEL CONTROL Pin
eriq19-Oct-05 0:50
eriq19-Oct-05 0:50 
AnswerRe: PARALLEL CONTROL Pin
vikas amin19-Oct-05 3:05
vikas amin19-Oct-05 3:05 
QuestionHow to map keyboard Event in a Dialogbar Pin
Manohar B. Srikanth19-Oct-05 0:35
Manohar B. Srikanth19-Oct-05 0:35 
Dear MFCExperts,


I have a dialog bar with icon moving on it. I use OnContextMenu Message to invoke a Menu for adding the icons. Now I want the delete some of icons.These icons are stored in a array. When I press key 'D', I want one of these icons to get deleted. I tried the OnChar message. But effect is not happening. The following the body of OnChar

Any suggestions Please,

void CTBMap::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags)
{
// TODO: Add your message handler code here and/or call default

switch(nChar)
{
case VK_DELETE:
m_pMarkers->m_ItemIndex--;
InvalidateRect(NULL,TRUE);
break;
default:
break;
}
CDialogBar::OnChar(nChar, nRepCnt, nFlags);
}

Thanks in advance




-- Manohar
Research Student.
IISc, Bangalore. India
http://ssl.serc.iisc.ernet.in/~manohar/
QuestionCan Someone Explain Error Message Pin
sweep12319-Oct-05 0:21
sweep12319-Oct-05 0:21 
AnswerRe: Can Someone Explain Error Message Pin
toxcct19-Oct-05 0:26
toxcct19-Oct-05 0:26 
GeneralRe: Can Someone Explain Error Message Pin
sweep12319-Oct-05 0:45
sweep12319-Oct-05 0:45 
GeneralRe: Can Someone Explain Error Message Pin
prasad_som19-Oct-05 2:11
prasad_som19-Oct-05 2:11 
GeneralRe: Can Someone Explain Error Message Pin
toxcct19-Oct-05 2:28
toxcct19-Oct-05 2:28 
GeneralRe: Can Someone Explain Error Message Pin
prasad_som19-Oct-05 2:42
prasad_som19-Oct-05 2:42 
GeneralRe: Can Someone Explain Error Message Pin
Rage19-Oct-05 3:16
professionalRage19-Oct-05 3:16 
GeneralRe: Can Someone Explain Error Message Pin
sweep12319-Oct-05 3:33
sweep12319-Oct-05 3:33 
GeneralRe: Can Someone Explain Error Message Pin
toxcct19-Oct-05 3:52
toxcct19-Oct-05 3:52 
GeneralRe: Can Someone Explain Error Message Pin
sweep12319-Oct-05 4:04
sweep12319-Oct-05 4:04 
GeneralRe: Can Someone Explain Error Message Pin
Roger Stoltz19-Oct-05 3:47
Roger Stoltz19-Oct-05 3:47 
GeneralRe: Can Someone Explain Error Message Pin
John R. Shaw19-Oct-05 10:23
John R. Shaw19-Oct-05 10:23 
AnswerRe: Can Someone Explain Error Message Pin
Tim Smith19-Oct-05 3:44
Tim Smith19-Oct-05 3:44 
Question. ???.???.??? Pin
Eytukan19-Oct-05 0:07
Eytukan19-Oct-05 0:07 
AnswerRe: . ???.???.??? Pin
toxcct19-Oct-05 0:20
toxcct19-Oct-05 0:20 
GeneralRe: . ???.???.??? Pin
Eytukan19-Oct-05 0:43
Eytukan19-Oct-05 0:43 
GeneralRe: . ???.???.??? Pin
Cedric Moonen19-Oct-05 1:01
Cedric Moonen19-Oct-05 1:01 

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.