Click here to Skip to main content
15,911,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Memory Allocation: new vs. malloc vs. ? Pin
Christian Graus12-Sep-06 14:05
protectorChristian Graus12-Sep-06 14:05 
AnswerRe: Memory Allocation: new vs. malloc vs. ? Pin
Joe Woodbury12-Sep-06 16:33
professionalJoe Woodbury12-Sep-06 16:33 
QuestionStill wrong with winuser.h... can not do any thing now Pin
bloodwinner12-Sep-06 12:56
bloodwinner12-Sep-06 12:56 
AnswerRe: Still wrong with winuser.h... can not do any thing now Pin
Waldermort12-Sep-06 15:07
Waldermort12-Sep-06 15:07 
AnswerRe: Still wrong with winuser.h... can not do any thing now Pin
Hamid_RT13-Sep-06 8:20
Hamid_RT13-Sep-06 8:20 
QuestionStatus Window in DLL Pin
mparent12-Sep-06 11:47
mparent12-Sep-06 11:47 
AnswerRe: Status Window in DLL Pin
Christian Graus12-Sep-06 12:10
protectorChristian Graus12-Sep-06 12:10 
QuestionScrollbar Pin
speedy471112-Sep-06 11:12
speedy471112-Sep-06 11:12 
Hi,

I have some problems using a scrollbar control (MFC), I have derived a class form CScrollbar and used it in my Dialog class.

m_scrollHor.Create(SBS_HORZ | WS_CHILD, CRect(100,400,300,430),this, 4712);<br />
m_scrollHor.ShowWindow(SW_SHOW);


the problem is, that the handler for HScroll Event is never called...
i just added the function and set a breakpoint there but nothing happens...

void CScrollBarGrid::OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar)<br />
{<br />
	// TODO: Add your message handler code here and/or call default<br />
<br />
	CScrollBar::OnHScroll(nSBCode, nPos, pScrollBar);<br />
}


i have also written a function to handle a mouse click and this works fine.

Any hints for me?

Thanks!
AnswerRe: Scrollbar Pin
cje12-Sep-06 11:56
cje12-Sep-06 11:56 
GeneralRe: Scrollbar Pin
speedy471112-Sep-06 12:11
speedy471112-Sep-06 12:11 
QuestionDesktop capture Pin
Waldermort12-Sep-06 10:50
Waldermort12-Sep-06 10:50 
AnswerRe: Desktop capture Pin
Christian Graus12-Sep-06 11:16
protectorChristian Graus12-Sep-06 11:16 
GeneralRe: Desktop capture Pin
Waldermort12-Sep-06 11:29
Waldermort12-Sep-06 11:29 
GeneralRe: Desktop capture Pin
PJ Arends12-Sep-06 15:37
professionalPJ Arends12-Sep-06 15:37 
QuestionHow to edit text directly on CView Pin
linjunhong12-Sep-06 9:34
linjunhong12-Sep-06 9:34 
AnswerRe: How to edit text directly on CView Pin
Chris Losinger12-Sep-06 9:41
professionalChris Losinger12-Sep-06 9:41 
QuestionDLL Injection Pin
_slave2master_12-Sep-06 9:13
_slave2master_12-Sep-06 9:13 
QuestionA tough API question!? help please Pin
Cy#12-Sep-06 9:11
Cy#12-Sep-06 9:11 
AnswerRe: A tough API question!? help please Pin
Waldermort12-Sep-06 11:07
Waldermort12-Sep-06 11:07 
QuestionWin32: PropertySheet Wizard97 with ownerdrawn buttons? Pin
virtualnik12-Sep-06 9:08
virtualnik12-Sep-06 9:08 
QuestionGetQueuedCompletionStatus returns ERROR_NOACCESS Pin
malgosia12-Sep-06 8:36
malgosia12-Sep-06 8:36 
AnswerRe: what happened? Did I edited some .h file accidently??? Pin
Chris Losinger12-Sep-06 8:23
professionalChris Losinger12-Sep-06 8:23 
GeneralRe: what happened? Did I edited some .h file accidently??? Pin
Maximilien12-Sep-06 8:25
Maximilien12-Sep-06 8:25 
GeneralI thought I ruined it, can I copy others to cover it? Pin
bloodwinner12-Sep-06 8:33
bloodwinner12-Sep-06 8:33 
GeneralRe: I thought I ruined it, can I copy others to cover it? Pin
Chris Losinger12-Sep-06 8:35
professionalChris Losinger12-Sep-06 8:35 

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.