Click here to Skip to main content
15,909,437 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SendMessage Hangs Pin
SelvaKr9-Jul-08 20:57
SelvaKr9-Jul-08 20:57 
GeneralRe: SendMessage Hangs Pin
Cedric Moonen9-Jul-08 21:10
Cedric Moonen9-Jul-08 21:10 
GeneralRe: SendMessage Hangs Pin
SelvaKr9-Jul-08 21:37
SelvaKr9-Jul-08 21:37 
GeneralRe: SendMessage Hangs Pin
krmed10-Jul-08 1:58
krmed10-Jul-08 1:58 
QuestionWorking of Enter key on List Ctrl. Pin
Le@rner9-Jul-08 19:17
Le@rner9-Jul-08 19:17 
AnswerRe: Working of Enter key on List Ctrl. Pin
fantasy12159-Jul-08 22:43
fantasy12159-Jul-08 22:43 
GeneralRe: Working of Enter key on List Ctrl. Pin
Le@rner9-Jul-08 23:03
Le@rner9-Jul-08 23:03 
GeneralRe: Working of Enter key on List Ctrl. Pin
Le@rner10-Jul-08 18:12
Le@rner10-Jul-08 18:12 
LPNMLVKEYDOWN pLVKeyDow = reinterpret_cast<LPNMLVKEYDOWN>(pNMHDR);
NMLVKEYDOWN* nmkd = (NMLVKEYDOWN*)pNMHDR;

switch(nmkd->wVKey)
{
case VK_SPACE:

int nIndex= GetNextItem(-1, LVNI_SELECTED);
CString strItem = GetItemText(nIndex, 0);
AfxMessageBox(strItem );
}

*pResult = 0;


i m using thisfor keydown ,i m using key space if i m using VK_RETURN in place of VK_SPACE than its not working.(Means the message box not show)

and in case of VK_SPACE its working but after this Unhandeled exeception occur the message of exeception is "Unhandled exception at 0x5d0f0892 in Test.exe: 0xC0000094: Integer division by zero."

Please help me for this.

IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH

GeneralRe: Working of Enter key on List Ctrl. Pin
fantasy121525-Jul-08 15:08
fantasy121525-Jul-08 15:08 
GeneralRe: Working of Enter key on List Ctrl. Pin
Le@rner25-Jul-08 21:58
Le@rner25-Jul-08 21:58 
QuestionHow can I handle the 'Apply' button click individually for each property page ? Pin
SherTeks9-Jul-08 18:58
SherTeks9-Jul-08 18:58 
AnswerRe: How can I handle the 'Apply' button click individually for each property page ? Pin
Iain Clarke, Warrior Programmer9-Jul-08 23:55
Iain Clarke, Warrior Programmer9-Jul-08 23:55 
QuestionLsaEnumerateAccountRights Pin
vineeshV9-Jul-08 18:58
vineeshV9-Jul-08 18:58 
AnswerRe: LsaEnumerateAccountRights Pin
Iain Clarke, Warrior Programmer10-Jul-08 0:01
Iain Clarke, Warrior Programmer10-Jul-08 0:01 
Questionunicode to mbcs problem [Solved] Pin
followait9-Jul-08 18:18
followait9-Jul-08 18:18 
AnswerRe: unicode to mbcs problem Pin
Saurabh.Garg9-Jul-08 18:22
Saurabh.Garg9-Jul-08 18:22 
GeneralRe: unicode to mbcs problem Pin
followait9-Jul-08 19:03
followait9-Jul-08 19:03 
AnswerRe: unicode to mbcs problem Pin
Stephen Hewitt9-Jul-08 18:42
Stephen Hewitt9-Jul-08 18:42 
GeneralRe: unicode to mbcs problem Pin
followait9-Jul-08 19:26
followait9-Jul-08 19:26 
GeneralRe: unicode to mbcs problem Pin
Stephen Hewitt9-Jul-08 19:29
Stephen Hewitt9-Jul-08 19:29 
GeneralRe: unicode to mbcs problem Pin
followait9-Jul-08 20:09
followait9-Jul-08 20:09 
GeneralRe: unicode to mbcs problem Pin
Stephen Hewitt9-Jul-08 20:11
Stephen Hewitt9-Jul-08 20:11 
QuestionProblem of Print Preview. Pin
Le@rner9-Jul-08 18:13
Le@rner9-Jul-08 18:13 
AnswerRe: Problem of Print Preview. Pin
Iain Clarke, Warrior Programmer10-Jul-08 0:06
Iain Clarke, Warrior Programmer10-Jul-08 0:06 
NewsLook for a friend Pin
halibobo9-Jul-08 17:52
halibobo9-Jul-08 17:52 

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.