Click here to Skip to main content
15,883,416 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Data from one dialog box into another dialog box Pin
Rinu_Raj20-Sep-06 22:53
Rinu_Raj20-Sep-06 22:53 
QuestionRe: Data from one dialog box into another dialog box Pin
David Crow21-Sep-06 3:40
David Crow21-Sep-06 3:40 
AnswerRe: Data from one dialog box into another dialog box Pin
vc++_fragrance22-Sep-06 22:53
vc++_fragrance22-Sep-06 22:53 
AnswerRe: Data from one dialog box into another dialog box Pin
Hamid_RT21-Sep-06 8:14
Hamid_RT21-Sep-06 8:14 
QuestionHow do you get a dialog to respond to a key down message? Pin
D_code_writer20-Sep-06 22:19
D_code_writer20-Sep-06 22:19 
AnswerRe: How do you get a dialog to respond to a key down message? Pin
Rinu_Raj20-Sep-06 22:36
Rinu_Raj20-Sep-06 22:36 
AnswerRe: How do you get a dialog to respond to a key down message? Pin
Hamid_RT21-Sep-06 8:15
Hamid_RT21-Sep-06 8:15 
QuestionWhat is the notification code that gets sent when a scrollbar event occurs? Pin
skyapie20-Sep-06 22:11
skyapie20-Sep-06 22:11 
Hi,

I'm using the OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult) method to find out when a user uses a scrollbar. Except I'm not sure what to be checking lParam against. I've casted lParam to be a NMHDR*, but when I check the value of pNMHDR->code, it's usually 0xFFFFFFF4.

Can anyone tell me what xxxxx should be in the following line?

BOOL CBaseFormView::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult) <br />
{<br />
	NMHDR* pNMHDR = (NMHDR*)lParam;<br />
	<br />
	if(pNMHDR->code == xxxxx)	<br />
	{<br />
		//Do stuff<br />
	}<br />
}


Or can someone tell me if I'm going about this the wrong way?

Thanks,
skyapie
AnswerRe: What is the notification code that gets sent when a scrollbar event occurs? Pin
Rinu_Raj20-Sep-06 22:40
Rinu_Raj20-Sep-06 22:40 
GeneralRe: What is the notification code that gets sent when a scrollbar event occurs? Pin
skyapie21-Sep-06 0:03
skyapie21-Sep-06 0:03 
AnswerRe: What is the notification code that gets sent when a scrollbar event occurs? Pin
prasad_som20-Sep-06 22:46
prasad_som20-Sep-06 22:46 
Questionwarning C4100 : how to get rid of it if issued by an included header ? Pin
Jerome Conus20-Sep-06 21:37
Jerome Conus20-Sep-06 21:37 
AnswerRe: warning C4100 : how to get rid of it if issued by an included header ? Pin
toxcct20-Sep-06 21:45
toxcct20-Sep-06 21:45 
AnswerRe: warning C4100 : how to get rid of it if issued by an included header ? Pin
Rinu_Raj20-Sep-06 21:45
Rinu_Raj20-Sep-06 21:45 
AnswerRe: warning C4100 : how to get rid of it if issued by an included header ? Pin
Cedric Moonen20-Sep-06 22:02
Cedric Moonen20-Sep-06 22:02 
GeneralRe: warning C4100 : how to get rid of it if issued by an included header ? Pin
toxcct20-Sep-06 22:09
toxcct20-Sep-06 22:09 
GeneralRe: warning C4100 : how to get rid of it if issued by an included header ? Pin
Cedric Moonen20-Sep-06 22:12
Cedric Moonen20-Sep-06 22:12 
QuestionChanging the default color of splitter bar? Pin
kiranin20-Sep-06 21:09
kiranin20-Sep-06 21:09 
AnswerRe: Changing the default color of splitter bar? Pin
Hamid_RT28-Sep-06 9:40
Hamid_RT28-Sep-06 9:40 
GeneralRe: Changing the default color of splitter bar? Pin
kiranin29-Sep-06 1:41
kiranin29-Sep-06 1:41 
QuestionWrite Formated Data to STL-String Pin
Mr.Brainley20-Sep-06 21:01
Mr.Brainley20-Sep-06 21:01 
AnswerRe: Write Formated Data to STL-String Pin
Mr.Brainley20-Sep-06 21:50
Mr.Brainley20-Sep-06 21:50 
AnswerRe: Write Formated Data to STL-String Pin
Rob Caldecott20-Sep-06 22:34
Rob Caldecott20-Sep-06 22:34 
Questionmouse click Pin
viliam20-Sep-06 20:23
viliam20-Sep-06 20:23 
AnswerRe: mouse click Pin
Christian Graus20-Sep-06 20:26
protectorChristian Graus20-Sep-06 20:26 

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.