Click here to Skip to main content
15,881,882 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Wrong behavior of __int64 [ edited ] Pin
Kristian Kratzenstein1-Jul-05 19:23
Kristian Kratzenstein1-Jul-05 19:23 
GeneralAccessing VB Com collection Item Pin
hulinning1-Jul-05 8:47
hulinning1-Jul-05 8:47 
GeneralRe: Accessing VB Com collection Item Pin
Jose Lamas Rios1-Jul-05 9:15
Jose Lamas Rios1-Jul-05 9:15 
GeneralRe: Accessing VB Com collection Item Pin
Anonymous5-Jul-05 15:39
Anonymous5-Jul-05 15:39 
GeneralRe: Accessing VB Com collection Item Pin
Anonymous5-Jul-05 15:39
Anonymous5-Jul-05 15:39 
GeneralRe: Accessing VB Com collection Item Pin
Jose Lamas Rios5-Jul-05 17:06
Jose Lamas Rios5-Jul-05 17:06 
GeneralRe: Accessing VB Com collection Item Pin
hulinning10-Jul-05 5:00
hulinning10-Jul-05 5:00 
QuestionHow to use CScrollBar from a template? Pin
IlanTal1-Jul-05 8:47
IlanTal1-Jul-05 8:47 
I want to have a scrollbar in a dialog box, so I drag it in at design time. Then I want to attach this to a control m_myScroll.
My problem is that I don't know what to do with the Create function.
The create function wants me to specify a CRect with the size of the scrollbar, but I've already fixed its size at design time (as well as its position).
The Create function asks me for a nID, which I give it from the dialog box value of the scrollbar I dragged onto the form.
Also the Create function talks about a ShowScrollBar, which is also not clear to me. After all, I've already defined it on my form.

I'm confused and what I've written doesn't work, so I'm doing something wrong. Can anyone help me?

Thanks,
Ilan
AnswerRe: How to use CScrollBar from a template? Pin
Cedric Moonen1-Jul-05 9:20
Cedric Moonen1-Jul-05 9:20 
GeneralRe: How to use CScrollBar from a template? Pin
IlanTal2-Jul-05 19:12
IlanTal2-Jul-05 19:12 
AnswerRe: How to use CScrollBar from a template? Pin
Jose Lamas Rios1-Jul-05 9:23
Jose Lamas Rios1-Jul-05 9:23 
Generalclipping child windows Pin
nt231-Jul-05 7:29
nt231-Jul-05 7:29 
GeneralRe: clipping child windows Pin
John R. Shaw2-Jul-05 19:05
John R. Shaw2-Jul-05 19:05 
Generaltheme Pin
Lampros Giampouras1-Jul-05 6:34
Lampros Giampouras1-Jul-05 6:34 
GeneralRe: theme Pin
Alexander M.,1-Jul-05 6:57
Alexander M.,1-Jul-05 6:57 
GeneralRe: theme Pin
Lampros Giampouras1-Jul-05 9:21
Lampros Giampouras1-Jul-05 9:21 
GeneralRe: theme Pin
Alexander M.,1-Jul-05 10:56
Alexander M.,1-Jul-05 10:56 
GeneralRe: theme Pin
badal_akr4-Jul-05 22:07
badal_akr4-Jul-05 22:07 
QuestionHow can I handle message of a class that drived from COleControl? Pin
Behzad Ebrahimi1-Jul-05 6:30
Behzad Ebrahimi1-Jul-05 6:30 
AnswerRe: How can I handle message of a class that drived from COleControl? Pin
Jose Lamas Rios1-Jul-05 8:37
Jose Lamas Rios1-Jul-05 8:37 
Generalscroll bar problem Pin
softtec1-Jul-05 6:22
softtec1-Jul-05 6:22 
GeneralRe: scroll bar problem Pin
David Crow1-Jul-05 7:02
David Crow1-Jul-05 7:02 
GeneraltioOnSize Question Pin
jerry1211a1-Jul-05 6:01
jerry1211a1-Jul-05 6:01 
GeneralRe: tioOnSize Question Pin
toxcct1-Jul-05 6:06
toxcct1-Jul-05 6:06 
GeneralRe: tioOnSize Question Pin
ThatsAlok1-Jul-05 19:06
ThatsAlok1-Jul-05 19:06 

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.