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

C / C++ / MFC

 
AnswerRe: Question on Dialog & ComboBox Pin
David Crow26-Feb-10 4:18
David Crow26-Feb-10 4:18 
QuestionUsing Flashvars in MFC C++ Pin
lesliecasas25-Feb-10 7:36
lesliecasas25-Feb-10 7:36 
QuestionProblem with owner-drawn list box Pin
sashoalm25-Feb-10 6:30
sashoalm25-Feb-10 6:30 
AnswerRe: Problem with owner-drawn list box Pin
Maximilien25-Feb-10 7:41
Maximilien25-Feb-10 7:41 
AnswerRe: Problem with owner-drawn list box Pin
Eugen Podsypalnikov25-Feb-10 20:09
Eugen Podsypalnikov25-Feb-10 20:09 
Questionaccounting for the scrollbar GetSystemMetrics(SM_CYBORDER) Pin
23_44425-Feb-10 6:08
23_44425-Feb-10 6:08 
AnswerRe: accounting for the scrollbar GetSystemMetrics(SM_CYBORDER) Pin
Gwenio25-Feb-10 16:26
Gwenio25-Feb-10 16:26 
GeneralRe: accounting for the scrollbar GetSystemMetrics(SM_CYBORDER) Pin
23_44426-Feb-10 3:20
23_44426-Feb-10 3:20 
Thanks for the response, I appreciate it.

The question is really this. When people/you/me account for scrollbars, do we also need to account for the border of the scrollbar with GetSystemMetrics(SM_CYBORDER)? The border I think you were talking about is the border of the client window which I realize I don't need to subtract.

(::GetSystemMetrics(SM_CYHSCROLL) Does this include the entire scrollbar (bar + borders of scrollbar)?
It appears to.

It's just that I saw some code in which the programmer subtracted the border (GetSystemMetrics(SM_CYBORDER))in addition to the scrollbar and so I'm wondering why they did it.

Thanks again.
GeneralRe: accounting for the scrollbar GetSystemMetrics(SM_CYBORDER) Pin
Gwenio26-Feb-10 3:59
Gwenio26-Feb-10 3:59 
GeneralRe: accounting for the scrollbar GetSystemMetrics(SM_CYBORDER) Pin
23_44426-Feb-10 4:36
23_44426-Feb-10 4:36 
GeneralRe: accounting for the scrollbar GetSystemMetrics(SM_CYBORDER) Pin
23_44426-Feb-10 7:48
23_44426-Feb-10 7:48 
QuestionWho can recommend some UI tools? Pin
Aric Wang25-Feb-10 5:48
Aric Wang25-Feb-10 5:48 
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 
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 

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.