Click here to Skip to main content
15,913,339 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: hot key questions Pin
User 58385230-Aug-04 21:09
User 58385230-Aug-04 21:09 
GeneralRe: hot key questions Pin
Ryan Binns30-Aug-04 21:22
Ryan Binns30-Aug-04 21:22 
GeneralRe: hot key questions Pin
User 58385230-Aug-04 23:57
User 58385230-Aug-04 23:57 
GeneralRe: hot key questions Pin
Ryan Binns31-Aug-04 0:09
Ryan Binns31-Aug-04 0:09 
GeneralRe: hot key questions Pin
David Crow31-Aug-04 3:50
David Crow31-Aug-04 3:50 
GeneralCertOpenStore problem Pin
agrafov30-Aug-04 12:41
agrafov30-Aug-04 12:41 
GeneralIE Toolbar multiline Pin
DARK_GARRY30-Aug-04 11:48
DARK_GARRY30-Aug-04 11:48 
Generaloverriding wndproc WM_NOTIFY Pin
prateekkathuria30-Aug-04 11:37
prateekkathuria30-Aug-04 11:37 
i am overriding wndproc an handling the wm_command and wm_notify message appropriately.
in the case statement of wm_notify this is what i have
case WM_NOTIFY:
nmhdr = (NMHDR*) lParam;
notificationId = nmhdr->code;

if(notificationId == NM_CLICK)
{
AfxMessageBox(_T("CLICKED"));
return FALSE;

}
else if(notificationId == NM_DBLCLK)
{
AfxMessageBox(_T("double CLICKED"));
return FALSE;

}
...
....
//more if else goes here
else
{
// call default
}

the flow does enter this switch statement but never invokes the appropriate handler. When i tried to get the value of the notificationId it shows some junk value though nmhdr is properly initialzed and the controlid that generated the message is correct. what am i missing?
thanks

Generalwordfind Pin
webmanc30-Aug-04 11:36
webmanc30-Aug-04 11:36 
Generalcin question from newbie Pin
StephenMcAllister30-Aug-04 11:35
StephenMcAllister30-Aug-04 11:35 
GeneralRe: cin question from newbie Pin
Christian Graus30-Aug-04 12:07
protectorChristian Graus30-Aug-04 12:07 
GeneralRe: cin question from newbie Pin
David Crow31-Aug-04 3:59
David Crow31-Aug-04 3:59 
GeneralClass of Classes! or #$@%#^#$@$@!!! Pin
CreepingFeature30-Aug-04 10:00
CreepingFeature30-Aug-04 10:00 
GeneralRe: Class of Classes! or #$@%#^#$@$@!!! Pin
Michael P Butler30-Aug-04 10:15
Michael P Butler30-Aug-04 10:15 
GeneralRe: Class of Classes! or #$@%#^#$@$@!!! Pin
Christian Graus30-Aug-04 12:12
protectorChristian Graus30-Aug-04 12:12 
GeneralRe: Class of Classes! or #$@%#^#$@$@!!! Pin
CreepingFeature30-Aug-04 21:07
CreepingFeature30-Aug-04 21:07 
GeneralGenerate/edit files Pin
Dody_DK30-Aug-04 9:25
Dody_DK30-Aug-04 9:25 
GeneralRe: Generate/edit files Pin
Christian Graus30-Aug-04 12:10
protectorChristian Graus30-Aug-04 12:10 
GeneralRe: Generate/edit files Pin
Dody_DK31-Aug-04 1:05
Dody_DK31-Aug-04 1:05 
GeneralRe: Generate/edit files Pin
David Crow31-Aug-04 4:02
David Crow31-Aug-04 4:02 
GeneralRe: Generate/edit files Pin
Christian Graus31-Aug-04 10:27
protectorChristian Graus31-Aug-04 10:27 
GeneralRunning .exe Pin
Naveed Shoaib30-Aug-04 8:57
Naveed Shoaib30-Aug-04 8:57 
GeneralRe: Running .exe Pin
Alexander M.,30-Aug-04 9:19
Alexander M.,30-Aug-04 9:19 
GeneralRe: Running .exe Pin
Archer28230-Aug-04 16:24
Archer28230-Aug-04 16:24 
GeneralRe: Running .exe Pin
User 21559730-Aug-04 19:55
User 21559730-Aug-04 19:55 

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.