Click here to Skip to main content
15,916,378 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Window coords and toolbar buttons Pin
benjymous8-Nov-02 3:57
benjymous8-Nov-02 3:57 
GeneralRe: Window coords and toolbar buttons Pin
S O S8-Nov-02 5:32
S O S8-Nov-02 5:32 
GeneralRe: Window coords and toolbar buttons Pin
Iain Clarke, Warrior Programmer8-Nov-02 5:29
Iain Clarke, Warrior Programmer8-Nov-02 5:29 
GeneralRe: Window coords and toolbar buttons Pin
S O S8-Nov-02 5:33
S O S8-Nov-02 5:33 
GeneralRe: Window coords and toolbar buttons Pin
Anonymous8-Nov-02 5:34
Anonymous8-Nov-02 5:34 
GeneralRe: Window coords and toolbar buttons Pin
Anonymous8-Nov-02 5:36
Anonymous8-Nov-02 5:36 
General"keyboard layout changed" event Pin
alex148-Nov-02 2:09
alex148-Nov-02 2:09 
GeneralCreation of a combobox/editbox from a derived listctrl. Pin
Joan M8-Nov-02 1:47
professionalJoan M8-Nov-02 1:47 
- INTRODUCTION:
I have created a derived CListCtrl class.
That class have a CEdit and a CComboBox var.
I try to instantiate them using their Create function but the this pointer is still null in the constructor of the ListCtrl.

- QUESTIONS:
When do the ListCtrl this pointer won't be null?
Which message must I handle in order to be able to use the Create functions? I mean that as in a dialog there's the OnInitDialog function, could it be possible to have something similar in a control?

- CODE:
the header file:
<br />
CEdit m_cedParametritzacio;<br />


the constructor in the cpp file:
<br />
CRect rInicialitzacio;<br />
<br />
rInicialitzacio.left = 0;<br />
rInicialitzacio.top = 0;<br />
rInicialitzacio.right = 20;<br />
rInicialitzacio.bottom = 20;<br />
<br />
int iR = this->m_cedParametritzacio.Create(ES_AUTOHSCROLL, rInicialitzacio, this, IDC_ED_PARAMETRITZACIO_LCTRL);<br />


Due to the fact that this is still NULL the function fails.
GeneralRe: Creation of a combobox/editbox from a derived listctrl. Pin
includeh108-Nov-02 3:59
includeh108-Nov-02 3:59 
GeneralRe: Creation of a combobox/editbox from a derived listctrl. Pin
Joan M8-Nov-02 4:18
professionalJoan M8-Nov-02 4:18 
QuestionHow to close an MDI view? Pin
Alexinuk8-Nov-02 1:20
Alexinuk8-Nov-02 1:20 
Generalrestarting a program Pin
dennisV7-Nov-02 22:48
dennisV7-Nov-02 22:48 
GeneralRe: restarting a program Pin
benjymous7-Nov-02 22:57
benjymous7-Nov-02 22:57 
GeneralRe: restarting a program Pin
dennisV7-Nov-02 23:20
dennisV7-Nov-02 23:20 
GeneralRe: restarting a program Pin
benjymous7-Nov-02 23:25
benjymous7-Nov-02 23:25 
GeneralRich Edit OLE help!!! Pin
dennisV7-Nov-02 22:42
dennisV7-Nov-02 22:42 
Generalfinding out whether process is running Pin
mariuszpopiolek7-Nov-02 22:23
mariuszpopiolek7-Nov-02 22:23 
GeneralRe: finding out whether process is running Pin
Daniel Turini7-Nov-02 22:38
Daniel Turini7-Nov-02 22:38 
GeneralRe: finding out whether process is running Pin
mariuszpopiolek7-Nov-02 22:51
mariuszpopiolek7-Nov-02 22:51 
GeneralVS.NET GUID autogeneration trick Pin
Jörgen Sigvardsson7-Nov-02 22:10
Jörgen Sigvardsson7-Nov-02 22:10 
GeneralRe: VS.NET GUID autogeneration trick Pin
Daniel Turini7-Nov-02 22:34
Daniel Turini7-Nov-02 22:34 
GeneralRe: VS.NET GUID autogeneration trick Pin
Jörgen Sigvardsson7-Nov-02 22:40
Jörgen Sigvardsson7-Nov-02 22:40 
GeneralColumn width of a list view control Pin
Daniel Strigl7-Nov-02 22:07
Daniel Strigl7-Nov-02 22:07 
GeneralRe: Column width of a list view control Pin
Joan M7-Nov-02 23:33
professionalJoan M7-Nov-02 23:33 
GeneralRe: Column width of a list view control Pin
Daniel Strigl8-Nov-02 0:01
Daniel Strigl8-Nov-02 0:01 

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.