Click here to Skip to main content
15,886,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: ""Object reference not set to an instance of an object" when creating new project with VS Pin
Richard MacCutchan23-Jan-15 0:57
mveRichard MacCutchan23-Jan-15 0:57 
GeneralRe: ""Object reference not set to an instance of an object" when creating new project with VS Pin
jeff623-Jan-15 1:16
jeff623-Jan-15 1:16 
GeneralRe: ""Object reference not set to an instance of an object" when creating new project with VS Pin
Richard MacCutchan23-Jan-15 1:31
mveRichard MacCutchan23-Jan-15 1:31 
QuestionGet CListCtrl scrollbar rectangle Pin
_Flaviu22-Jan-15 22:55
_Flaviu22-Jan-15 22:55 
AnswerRe: Get CListCtrl scrollbar rectangle Pin
Jochen Arndt22-Jan-15 23:10
professionalJochen Arndt22-Jan-15 23:10 
GeneralRe: Get CListCtrl scrollbar rectangle Pin
_Flaviu22-Jan-15 23:45
_Flaviu22-Jan-15 23:45 
GeneralRe: Get CListCtrl scrollbar rectangle Pin
Jochen Arndt22-Jan-15 23:59
professionalJochen Arndt22-Jan-15 23:59 
GeneralRe: Get CListCtrl scrollbar rectangle Pin
_Flaviu23-Jan-15 1:14
_Flaviu23-Jan-15 1:14 
"You may use a custom drawn scroll bar or handle WM_CTLCOLOR when you only need to change the background"

I already tried that ... if I override WM_CTLCOLOR I could color everything, except scrollbars ... Smile | :)

"Searching the web may give you some solutions. The article http://www.drdobbs.com/windows/developing-a-custom-windows-scrollbar-in/184416659[^] is rather old but contains a good introduction and shows how to implement a custom drawn scroll bar."

I saw that article, but is about replacing the original scrollbar with CScrollBarEx control ... well, in this case I will front with 2 issues: hiding the original scrollbar, and second, synchronize the listctrl with CScrollbarEx control ... I think that is the longest road ... and the hardest ...

I thought that trying to use DrawThemeBackground I could change the scrollbars colors ... Frown | :( I am working on that for weeks ... I have to dig in ...
GeneralRe: Get CListCtrl scrollbar rectangle Pin
_Flaviu23-Jan-15 1:38
_Flaviu23-Jan-15 1:38 
GeneralRe: Get CListCtrl scrollbar rectangle Pin
Jochen Arndt23-Jan-15 2:08
professionalJochen Arndt23-Jan-15 2:08 
GeneralRe: Get CListCtrl scrollbar rectangle Pin
_Flaviu23-Jan-15 2:26
_Flaviu23-Jan-15 2:26 
QuestionRetreive AFX_MODULE_STATE Pin
Member 1139405922-Jan-15 0:16
Member 1139405922-Jan-15 0:16 
QuestionDesiging in C Pin
Member 1138854120-Jan-15 3:00
Member 1138854120-Jan-15 3:00 
AnswerRe: Desiging in C Pin
CPallini20-Jan-15 3:49
mveCPallini20-Jan-15 3:49 
AnswerRe: Desiging in C Pin
Richard Andrew x6420-Jan-15 4:24
professionalRichard Andrew x6420-Jan-15 4:24 
GeneralRe: Desiging in C Pin
CPallini20-Jan-15 4:37
mveCPallini20-Jan-15 4:37 
GeneralRe: Desiging in C Pin
Richard Andrew x6420-Jan-15 4:46
professionalRichard Andrew x6420-Jan-15 4:46 
GeneralRe: Desiging in C Pin
CPallini20-Jan-15 5:09
mveCPallini20-Jan-15 5:09 
GeneralRe: Desiging in C Pin
Albert Holguin20-Jan-15 6:52
professionalAlbert Holguin20-Jan-15 6:52 
SuggestionRe: Desiging in C Pin
David Crow20-Jan-15 4:06
David Crow20-Jan-15 4:06 
AnswerRe: Desiging in C Pin
Richard MacCutchan20-Jan-15 5:42
mveRichard MacCutchan20-Jan-15 5:42 
QuestionAdding a second recent file list to the MFC ribbon bar Pin
Leif Simon Goodwin19-Jan-15 23:18
Leif Simon Goodwin19-Jan-15 23:18 
AnswerRe: Adding a second recent file list to the MFC ribbon bar Pin
Leif Simon Goodwin23-Jan-15 0:23
Leif Simon Goodwin23-Jan-15 0:23 
GeneralRe: Adding a second recent file list to the MFC ribbon bar Pin
Leif Simon Goodwin25-Jan-15 22:45
Leif Simon Goodwin25-Jan-15 22:45 
QuestionC++ class initialization Pin
Vaclav_19-Jan-15 14:32
Vaclav_19-Jan-15 14:32 

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.