Click here to Skip to main content
16,012,025 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CWnd to CView Pin
Morozov Alexey5-Mar-02 17:57
Morozov Alexey5-Mar-02 17:57 
QuestionHow to set access rights to folder through my program? Pin
Rohit  Sinha5-Mar-02 12:49
Rohit  Sinha5-Mar-02 12:49 
QuestionCWnd::OnNCPaint - how can i draw scrollbar myself ?? Pin
Wizard_015-Mar-02 11:16
Wizard_015-Mar-02 11:16 
AnswerRe: CWnd::OnNCPaint - how can i draw scrollbar myself ?? Pin
Joaquín M López Muñoz5-Mar-02 11:27
Joaquín M López Muñoz5-Mar-02 11:27 
GeneralRe: CWnd::OnNCPaint - how can i draw scrollbar myself ?? Pin
alex.barylski5-Mar-02 11:38
alex.barylski5-Mar-02 11:38 
GeneralRe: CWnd::OnNCPaint - how can i draw scrollbar myself ?? Pin
Tomasz Sowinski5-Mar-02 11:58
Tomasz Sowinski5-Mar-02 11:58 
GeneralRe: CWnd::OnNCPaint - how can i draw scrollbar myself ?? Pin
alex.barylski5-Mar-02 13:31
alex.barylski5-Mar-02 13:31 
GeneralRe: CWnd::OnNCPaint - how can i draw scrollbar myself ?? Pin
Jon Hulatt6-Mar-02 5:45
Jon Hulatt6-Mar-02 5:45 
The reason they flicker is that you're drawing the client area and then windows draws the scrollbars on top.

Theres an article somewhere on MSDN about why scrollbars are drawn internally and hence can't be customised.

when i did a sort of skinned app, the only way i could get scroll functionality with nice looking scroll bars was to bodge a CFormView onto my dialog, and then use a custom written control to be a scrollbar, and scroll the view window internally. it was messy but it worked.

jon

Sorry to dissapoint you all with my lack of a witty or poignant signature.
AnswerRe: CWnd::OnNCPaint - how can i draw scrollbar myself ?? Pin
alex.barylski5-Mar-02 11:32
alex.barylski5-Mar-02 11:32 
GeneralFunction Call Prob Pin
Peter Liddle5-Mar-02 11:11
Peter Liddle5-Mar-02 11:11 
GeneralRe: Function Call Prob Pin
Tomasz Sowinski5-Mar-02 11:23
Tomasz Sowinski5-Mar-02 11:23 
Generalanother quickie Pin
tbbooher5-Mar-02 9:43
tbbooher5-Mar-02 9:43 
GeneralRe: another quickie Pin
Tomasz Sowinski5-Mar-02 9:50
Tomasz Sowinski5-Mar-02 9:50 
GeneralRe: another quickie Pin
tbbooher5-Mar-02 9:50
tbbooher5-Mar-02 9:50 
GeneralRe: another quickie Pin
Tomasz Sowinski5-Mar-02 9:59
Tomasz Sowinski5-Mar-02 9:59 
GeneralRe: another quickie Pin
tbbooher5-Mar-02 10:16
tbbooher5-Mar-02 10:16 
GeneralRe: another quickie Pin
Tim Smith5-Mar-02 10:21
Tim Smith5-Mar-02 10:21 
GeneralALMOST THERE Pin
tbbooher5-Mar-02 10:30
tbbooher5-Mar-02 10:30 
GeneralRe: ALMOST THERE Pin
Joaquín M López Muñoz5-Mar-02 11:24
Joaquín M López Muñoz5-Mar-02 11:24 
GeneralRe: ALMOST THERE Pin
tbbooher5-Mar-02 12:53
tbbooher5-Mar-02 12:53 
GeneralHELP Pin
sardinka5-Mar-02 9:04
sardinka5-Mar-02 9:04 
GeneralRe: HELP Pin
Joaquín M López Muñoz5-Mar-02 9:18
Joaquín M López Muñoz5-Mar-02 9:18 
GeneralRe: HELP Pin
Mazdak5-Mar-02 9:15
Mazdak5-Mar-02 9:15 
GeneralRe: HELP Pin
Bill Wilson5-Mar-02 9:17
Bill Wilson5-Mar-02 9:17 
QuestionCookies in Winsock - How? Pin
5-Mar-02 8:35
suss5-Mar-02 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.