Click here to Skip to main content
15,867,835 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
OnDraw is a CView member function. You probably mean some kind of custom / owner draw. But this won't work for the scroll bars of list controls because only the list control content can be changed by this method. The scroll bar is still drawn by the system when necessary and your drawing vanishes.

If handling WM_CTLCOLOR did not work (and I believe meanwhile that it does not work with list controls), the only solution is using a complety custom drawn control or another GUI framework like Qt.
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 
AnswerRe: C++ class initialization Pin
Jochen Arndt19-Jan-15 21:18
professionalJochen Arndt19-Jan-15 21:18 
GeneralRe: C++ class initialization Pin
David A. Gray8-Apr-15 20:25
David A. Gray8-Apr-15 20:25 

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.