Click here to Skip to main content
15,884,472 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Reset to computer Pin
RomTibi7-Apr-10 5:29
RomTibi7-Apr-10 5:29 
AnswerShutdown -r Pin
gamefreak22916-Apr-10 11:07
gamefreak22916-Apr-10 11:07 
GeneralRe: Shutdown -r Pin
RomTibi7-Apr-10 5:30
RomTibi7-Apr-10 5:30 
QuestionVisual C++ Solution in GCC Pin
darc koder6-Apr-10 7:12
darc koder6-Apr-10 7:12 
AnswerRe: Visual C++ Solution in GCC Pin
Maximilien6-Apr-10 8:57
Maximilien6-Apr-10 8:57 
AnswerRe: Visual C++ Solution in GCC Pin
CPallini6-Apr-10 9:44
mveCPallini6-Apr-10 9:44 
AnswerRe: Visual C++ Solution in GCC Pin
David Crow6-Apr-10 10:07
David Crow6-Apr-10 10:07 
QuestionVertical/Horizontal scroll bar not coming in CListCtrl Pin
_T("No name")6-Apr-10 3:45
_T("No name")6-Apr-10 3:45 
hi,

i am trying to make a customized Clist control. i have written my Class derived from CListCtrl. The problem is in this Vertical scroll bar are not coming when i dynamically create this list control. if i create it in resource and use DDX_Control and take it as my class variable it works fine(scroll bar comes) but if i create control dynamically scroll bars dont come. This is the creation code



m_pList = new CCustomList(12);


    m_pList->Create(LVS_REPORT | LVS_SINGLESEL | LVS_EDITLABELS | WS_CHILD | WS_TABSTOP ,
                    CRect(0,0,620,100),this,IDC_LIST3);

    DWORD dwStyle = m_pList->GetExtendedStyle();
    dwStyle |= (LVS_EX_GRIDLINES | LVS_EX_FULLROWSELECT);
    m_pList->SetExtendedStyle(dwStyle);


please help if any one has any idea. i searched on net there are many ways to remove them but no solution how to show them.

Thanks
AnswerRe: Vertical/Horizontal scroll bar not coming in CListCtrl Pin
_T("No name")6-Apr-10 3:50
_T("No name")6-Apr-10 3:50 
Questionbm_setstate redraw not working Pin
Jach Mullan5-Apr-10 23:57
Jach Mullan5-Apr-10 23:57 
AnswerRe: bm_setstate redraw not working Pin
Eugen Podsypalnikov6-Apr-10 1:58
Eugen Podsypalnikov6-Apr-10 1:58 
Questionsyntax error [modified] Pin
rupeshkp7285-Apr-10 22:30
rupeshkp7285-Apr-10 22:30 
QuestionRe: syntax error Pin
CPallini5-Apr-10 22:33
mveCPallini5-Apr-10 22:33 
AnswerRe: syntax error Pin
rupeshkp7285-Apr-10 22:40
rupeshkp7285-Apr-10 22:40 
QuestionRe: syntax error Pin
CPallini5-Apr-10 22:47
mveCPallini5-Apr-10 22:47 
AnswerRe: syntax error Pin
rupeshkp7285-Apr-10 23:07
rupeshkp7285-Apr-10 23:07 
GeneralRe: syntax error Pin
CPallini5-Apr-10 23:20
mveCPallini5-Apr-10 23:20 
GeneralRe: syntax error Pin
rupeshkp7286-Apr-10 0:42
rupeshkp7286-Apr-10 0:42 
GeneralRe: syntax error Pin
CPallini6-Apr-10 0:50
mveCPallini6-Apr-10 0:50 
GeneralRe: syntax error Pin
rupeshkp7286-Apr-10 0:52
rupeshkp7286-Apr-10 0:52 
QuestionMultiple .cpp files Pin
gamefreak22915-Apr-10 21:45
gamefreak22915-Apr-10 21:45 
AnswerRe: Multiple .cpp files Pin
Cedric Moonen5-Apr-10 22:01
Cedric Moonen5-Apr-10 22:01 
GeneralRe: Multiple .cpp files Pin
gamefreak22915-Apr-10 22:14
gamefreak22915-Apr-10 22:14 
GeneralRe: Multiple .cpp files Pin
Cedric Moonen5-Apr-10 22:29
Cedric Moonen5-Apr-10 22:29 
GeneralRe: Multiple .cpp files Pin
gamefreak22915-Apr-10 22:31
gamefreak22915-Apr-10 22:31 

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.