Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: User Breakpoint called from code Pin
micutzu7-Jul-05 0:14
micutzu7-Jul-05 0:14 
GeneralRe: User Breakpoint called from code Pin
ThatsAlok7-Jul-05 0:17
ThatsAlok7-Jul-05 0:17 
GeneralRe: User Breakpoint called from code Pin
micutzu7-Jul-05 0:34
micutzu7-Jul-05 0:34 
GeneralRe: User Breakpoint called from code Pin
Ravi Bhavnani7-Jul-05 10:40
professionalRavi Bhavnani7-Jul-05 10:40 
GeneralRe: User Breakpoint called from code Pin
Blake V. Miller7-Jul-05 16:41
Blake V. Miller7-Jul-05 16:41 
GeneralRe: User Breakpoint called from code Pin
Anonimous010121-Sep-05 22:35
sussAnonimous010121-Sep-05 22:35 
GeneralRe: User Breakpoint called from code Pin
micutzu21-Sep-05 22:45
micutzu21-Sep-05 22:45 
GeneralScroll bars in CWnd derived classes Pin
lfrequency6-Jul-05 22:02
lfrequency6-Jul-05 22:02 
Hey all,

I've got an application running the XP Style interface where the scroll bars are nicely shaded, buttons are highlighted, etc. However, in any CWnd derived class, if I call ShowScrollBar(), the scroll bar will still look like the old pre-XP style scroll bar. However, this problem does not happen in common MFC classes like CScrollView or CListCtrl - only my own CWnd classes. It looks horrible when the rest of my app is in the XP style look. Any suggestions?

To reproduce the problem, I think all one needs to do is create a new CWnd somewhere and call ShowScrollBar(). It will sport the old look, rather than the new XP look.

EDIT: I solved this problem. If anyone is interested, such behavior occurs when ShowScrollBar() is called before SetScrollRange() or SetScrollInfo() is called to set up the non-client scrollers.
GeneralRe: Scroll bars in CWnd derived classes Pin
Budric B.7-Jul-05 4:00
Budric B.7-Jul-05 4:00 
GeneralCFileDiaolg:problem with order of files and folders Pin
kaifred6-Jul-05 21:35
kaifred6-Jul-05 21:35 
QuestionHow do you create a library.... Pin
Steve Messer6-Jul-05 21:32
Steve Messer6-Jul-05 21:32 
AnswerRe: How do you create a library.... Pin
Stlan6-Jul-05 22:47
Stlan6-Jul-05 22:47 
GeneralRe: How do you create a library.... Pin
Steve Messer7-Jul-05 6:45
Steve Messer7-Jul-05 6:45 
GeneralRe: How do you create a library.... Pin
Andy Moore7-Jul-05 7:20
Andy Moore7-Jul-05 7:20 
GeneralRe: How do you create a library.... Pin
Steve Messer7-Jul-05 11:58
Steve Messer7-Jul-05 11:58 
QuestionHow to power on a computer? Pin
dSolariuM6-Jul-05 21:28
dSolariuM6-Jul-05 21:28 
AnswerRe: How to power on a computer? Pin
ThatsAlok6-Jul-05 23:07
ThatsAlok6-Jul-05 23:07 
GeneralCTabCtrl and Scrolling Pin
Azghar Hussain6-Jul-05 21:17
professionalAzghar Hussain6-Jul-05 21:17 
GeneralRe: CTabCtrl and Scrolling Pin
ThatsAlok7-Jul-05 0:10
ThatsAlok7-Jul-05 0:10 
GeneralRe: CTabCtrl and Scrolling Pin
Azghar Hussain7-Jul-05 0:54
professionalAzghar Hussain7-Jul-05 0:54 
Questionapproach to develope gave server application ? Pin
manxx6-Jul-05 21:09
manxx6-Jul-05 21:09 
GeneralSource Code creating Static Control at RunTime Pin
a_david1236-Jul-05 21:08
a_david1236-Jul-05 21:08 
GeneralRe: Source Code creating Static Control at RunTime Pin
Stlan6-Jul-05 22:34
Stlan6-Jul-05 22:34 
GeneralPlease help me! Pin
dSolariuM6-Jul-05 21:08
dSolariuM6-Jul-05 21:08 
GeneralSource Code creating Static Control at RunTime Pin
a_david1236-Jul-05 21:05
a_david1236-Jul-05 21:05 

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.