Click here to Skip to main content
15,906,081 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Who can recommend some UI tools? Pin
Maximilien25-Feb-10 6:21
Maximilien25-Feb-10 6:21 
QuestionHandling A Scrollbar Vertical Scroll command Pin
maycockt24-Feb-10 23:25
maycockt24-Feb-10 23:25 
AnswerRe: Handling A Scrollbar Vertical Scroll command Pin
Nelek25-Feb-10 0:08
protectorNelek25-Feb-10 0:08 
GeneralRe: Handling A Scrollbar Vertical Scroll command Pin
maycockt25-Feb-10 0:42
maycockt25-Feb-10 0:42 
GeneralRe: Handling A Scrollbar Vertical Scroll command Pin
Nelek25-Feb-10 0:52
protectorNelek25-Feb-10 0:52 
GeneralRe: Handling A Scrollbar Vertical Scroll command Pin
maycockt25-Feb-10 1:11
maycockt25-Feb-10 1:11 
AnswerRe: Handling A Scrollbar Vertical Scroll command Pin
Nelek25-Feb-10 20:58
protectorNelek25-Feb-10 20:58 
GeneralRe: Handling A Scrollbar Vertical Scroll command [modified] Pin
maycockt25-Feb-10 22:59
maycockt25-Feb-10 22:59 
Hi Nelek,

Thanks for your help.

What I have found with problem 2 is that bringing the CListBox control to the front using BringWindowToTop() gives me the ability to drag the thumbtrack of the scrollbar.

And typically, with that working, the introduced issue is that the CListBox control doesn't draw itself, and it's not until you move the mouse over the scrollbar that the scrollbar becomes visible, and dragging the thumbtrack causes the CListBox to start drawing itself, but not of the style created, i.e. borderless.

Any ideas?

Update - moving BringWindowToTop to the OnNcLButtonDown handler doesnt force the CListBox to hide, and it means that I can handle the thumbtrack - but not until the second time of trying Confused | :confused:

Thanks again

Tony
modified on Friday, February 26, 2010 5:35 AM

GeneralRe: Handling A Scrollbar Vertical Scroll command Pin
Nelek26-Feb-10 1:30
protectorNelek26-Feb-10 1:30 
QuestionDrawing In MFC Pin
Jalpa M24-Feb-10 23:24
Jalpa M24-Feb-10 23:24 
AnswerRe: Drawing In MFC Pin
Adam Roderick J24-Feb-10 23:31
Adam Roderick J24-Feb-10 23:31 
AnswerRe: Drawing In MFC Pin
CPallini24-Feb-10 23:38
mveCPallini24-Feb-10 23:38 
QuestionHow to hide the excel file menu in the MFC application? Pin
machengzhi24-Feb-10 23:11
machengzhi24-Feb-10 23:11 
AnswerRe: How to hide the excel file menu in the MFC application? Pin
Adam Roderick J24-Feb-10 23:36
Adam Roderick J24-Feb-10 23:36 
GeneralRe: How to hide the excel file menu in the MFC application? Pin
machengzhi4-Mar-10 20:38
machengzhi4-Mar-10 20:38 
QuestionWhether a .lib build on VS 2008 be resuable on VC6.0 Pin
rajajay8224-Feb-10 23:02
rajajay8224-Feb-10 23:02 
AnswerRe: Whether a .lib build on VS 2008 be resuable on VC6.0 Pin
Stuart Dootson25-Feb-10 4:23
professionalStuart Dootson25-Feb-10 4:23 
AnswerRe: Whether a .lib build on VS 2008 be resuable on VC6.0 Pin
Chris Losinger25-Feb-10 4:27
professionalChris Losinger25-Feb-10 4:27 
QuestionRegarding writing Articles !! Pin
Mridula J24-Feb-10 22:29
Mridula J24-Feb-10 22:29 
AnswerRe: Regarding writing Articles !! Pin
Eugen Podsypalnikov24-Feb-10 22:35
Eugen Podsypalnikov24-Feb-10 22:35 
AnswerRe: Regarding writing Articles !! Pin
Rajesh R Subramanian24-Feb-10 22:36
professionalRajesh R Subramanian24-Feb-10 22:36 
Questioncoinitializesecurity returned error 80010119 Pin
Le@rner24-Feb-10 20:34
Le@rner24-Feb-10 20:34 
AnswerRe: coinitializesecurity returned error 80010119 Pin
Saurabh.Garg24-Feb-10 20:38
Saurabh.Garg24-Feb-10 20:38 
GeneralRe: coinitializesecurity returned error 80010119 Pin
Le@rner24-Feb-10 21:10
Le@rner24-Feb-10 21:10 
GeneralRe: coinitializesecurity returned error 80010119 Pin
Saurabh.Garg24-Feb-10 21:11
Saurabh.Garg24-Feb-10 21:11 

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.