Click here to Skip to main content
15,921,697 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionReport view list control drawing difference when manifest file used Pin
Keith Worden2-Aug-07 6:29
Keith Worden2-Aug-07 6:29 
I recently added a manifest file to the resource for a program to enable it to be drawn with WinXP themes. One thing I have noticed is that the data in a report view list control is being drawn 2 pixels higher and 2 pixels to the right. I have no objection with this, but I usually use custom draw facilities to set the background colour of a line and I paint the background myself the same colour as the first line's background colour. I now find I've got an ugly vertical white line 2 pixels wide to the left of the data. Anybody any idea how to get rid of it?


I've put sample images at good.jpg for the program before I added the manifest and
bad.jpg for after I added it.
QuestionMFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera2-Aug-07 5:15
Sternocera2-Aug-07 5:15 
QuestionRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
David Crow2-Aug-07 5:17
David Crow2-Aug-07 5:17 
AnswerRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera2-Aug-07 5:19
Sternocera2-Aug-07 5:19 
QuestionRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
David Crow2-Aug-07 5:27
David Crow2-Aug-07 5:27 
AnswerRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera2-Aug-07 5:29
Sternocera2-Aug-07 5:29 
AnswerRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
led mike2-Aug-07 7:15
led mike2-Aug-07 7:15 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera2-Aug-07 7:21
Sternocera2-Aug-07 7:21 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
led mike2-Aug-07 7:31
led mike2-Aug-07 7:31 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera2-Aug-07 7:35
Sternocera2-Aug-07 7:35 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
David Crow2-Aug-07 8:05
David Crow2-Aug-07 8:05 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera2-Aug-07 10:08
Sternocera2-Aug-07 10:08 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
David Crow2-Aug-07 10:44
David Crow2-Aug-07 10:44 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera2-Aug-07 22:13
Sternocera2-Aug-07 22:13 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
David Crow3-Aug-07 2:43
David Crow3-Aug-07 2:43 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera2-Aug-07 22:24
Sternocera2-Aug-07 22:24 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
David Crow3-Aug-07 2:45
David Crow3-Aug-07 2:45 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera3-Aug-07 2:46
Sternocera3-Aug-07 2:46 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Haroon Sarwar2-Aug-07 18:26
Haroon Sarwar2-Aug-07 18:26 
QuestionGet controlls of a dialog if handle is known? Pin
robshere2-Aug-07 4:52
robshere2-Aug-07 4:52 
AnswerRe: Get controlls of a dialog if handle is known? Pin
Hamid_RT2-Aug-07 5:05
Hamid_RT2-Aug-07 5:05 
QuestionRe: Get controlls of a dialog if handle is known? Pin
David Crow2-Aug-07 5:18
David Crow2-Aug-07 5:18 
QuestionDisplay detection Pin
Trollslayer2-Aug-07 3:55
mentorTrollslayer2-Aug-07 3:55 
AnswerRe: Display detection Pin
Randor 2-Aug-07 7:58
professional Randor 2-Aug-07 7:58 
Questionhow to write a program that would swap the left and right audio channel Pin
rajneshmalik2-Aug-07 3:45
rajneshmalik2-Aug-07 3:45 

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.