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

C / C++ / MFC

 
QuestionRe: Binary Predicate for Templated Class Pin
led mike21-Jan-09 10:31
led mike21-Jan-09 10:31 
AnswerRe: Binary Predicate for Templated Class Pin
Dan21-Jan-09 10:32
Dan21-Jan-09 10:32 
AnswerRe: Binary Predicate for Templated Class Pin
mjackson1121-Jan-09 11:14
mjackson1121-Jan-09 11:14 
AnswerRe: Binary Predicate for Templated Class Pin
Stephen Hewitt21-Jan-09 16:14
Stephen Hewitt21-Jan-09 16:14 
QuestionUser Defined Message to Windows Service Pin
pratap198021-Jan-09 7:51
pratap198021-Jan-09 7:51 
AnswerRe: User Defined Message to Windows Service Pin
Iain Clarke, Warrior Programmer21-Jan-09 9:23
Iain Clarke, Warrior Programmer21-Jan-09 9:23 
QuestionProblem while opening eml file with attachmenseml file with Pin
sandeepkgsmarty21-Jan-09 6:37
sandeepkgsmarty21-Jan-09 6:37 
QuestionOnMouseWheel Pin
sabapathy_8021-Jan-09 4:15
sabapathy_8021-Jan-09 4:15 
I have some richedit controls in form view.
When doing mouse wheel scroll, I am getting notification message to OnNotify() function by setting ENM_SCROLLEVENTS mask to the richedit control.
But I want the OnMouseWheel() function to be called as I want to do scrolling of Form view like this inside "OnMouseWheel()":
<br />
OnMouseWheel(UINT fFlags, short zDelta, CPoint point)<br />
{<br />
	// we don't handle anything but scrolling<br />
    if (fFlags & (MK_SHIFT | MK_CONTROL))<br />
        return FALSE;<br />
<br />
    // we can't get out of it--perform the scroll ourselves<br />
    return DoMouseWheel(fFlags, zDelta, point);<br />
}<br />

How to do this.

Or can I do scrolling by using OnNotify() itself?

Thanks & Regards,
Sabapathy
AnswerRe: OnMouseWheel Pin
Stuart Dootson21-Jan-09 4:23
professionalStuart Dootson21-Jan-09 4:23 
QuestionHow can enable child window's MenuBar Pin
Abhijit D. Babar21-Jan-09 3:48
Abhijit D. Babar21-Jan-09 3:48 
Questionhotkey for menu item not showing Pin
sabapathy_8021-Jan-09 2:57
sabapathy_8021-Jan-09 2:57 
AnswerRe: hotkey for menu item not showing Pin
Iain Clarke, Warrior Programmer21-Jan-09 3:34
Iain Clarke, Warrior Programmer21-Jan-09 3:34 
GeneralRe: hotkey for menu item not showing Pin
sabapathy_8021-Jan-09 4:07
sabapathy_8021-Jan-09 4:07 
GeneralRe: hotkey for menu item not showing Pin
Iain Clarke, Warrior Programmer21-Jan-09 4:19
Iain Clarke, Warrior Programmer21-Jan-09 4:19 
Questionnon dependent names in template base class Pin
f_jo21-Jan-09 2:45
f_jo21-Jan-09 2:45 
AnswerRe: non dependent names in template base class Pin
Sarath C21-Jan-09 3:18
Sarath C21-Jan-09 3:18 
AnswerRe: non dependent names in template base class Pin
Stuart Dootson21-Jan-09 3:45
professionalStuart Dootson21-Jan-09 3:45 
GeneralRe: non dependent names in template base class Pin
f_jo21-Jan-09 5:40
f_jo21-Jan-09 5:40 
GeneralRe: non dependent names in template base class Pin
f_jo21-Jan-09 6:43
f_jo21-Jan-09 6:43 
GeneralRe: non dependent names in template base class Pin
Stuart Dootson21-Jan-09 7:48
professionalStuart Dootson21-Jan-09 7:48 
QuestionHow to _properly_ pass a string from a DLL to the App? Pin
OwenBurnett21-Jan-09 2:43
OwenBurnett21-Jan-09 2:43 
AnswerRe: How to _properly_ pass a string from a DLL to the App? Pin
Stuart Dootson21-Jan-09 4:18
professionalStuart Dootson21-Jan-09 4:18 
QuestionConvert a text file into image (tiff file) Pin
Kiran Pinjala21-Jan-09 2:33
Kiran Pinjala21-Jan-09 2:33 
JokeRe: Convert a text file into image (tiff file) Pin
Sarath C21-Jan-09 2:50
Sarath C21-Jan-09 2:50 
JokeRe: Convert a text file into image (tiff file) Pin
Nishad S21-Jan-09 2:52
Nishad S21-Jan-09 2: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.