Click here to Skip to main content
15,910,234 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMFC ListControl flicker in win7 Pin
yctsai15-Dec-09 8:08
yctsai15-Dec-09 8:08 
QuestionCIPAddressCtrl cannot create vc+= mfc Pin
saarfu15-Dec-09 5:08
saarfu15-Dec-09 5:08 
AnswerRe: CIPAddressCtrl cannot create vc+= mfc Pin
Abhi Lahare15-Dec-09 13:04
Abhi Lahare15-Dec-09 13:04 
QuestionVS2008 CMFCToolbar and inserting a combo box Pin
Jerry Evans15-Dec-09 4:29
Jerry Evans15-Dec-09 4:29 
QuestionUsing function from other class Pin
blackbolek15-Dec-09 2:41
blackbolek15-Dec-09 2:41 
QuestionRe: Using function from other class Pin
David Crow15-Dec-09 2:53
David Crow15-Dec-09 2:53 
AnswerRe: Using function from other class [modified] Pin
blackbolek15-Dec-09 4:16
blackbolek15-Dec-09 4:16 
GeneralRe: Using function from other class Pin
Cedric Moonen15-Dec-09 4:26
Cedric Moonen15-Dec-09 4:26 
blackbolek wrote:
It's not 'initialized' anywhere. How should I initialize it?


I think you should really learn a bit more about the concept of classes in C++. This is really basic C++ stuff.
You have to pass an instance of your dialog to the GroupStart class (but instead of the generic CDialog, use a pointer to a CMonitorDlg instead, this way you won't need to cast). This is typically done in the constructor: you add an additional parameter in the constructor of GroupStart (and when you conctruct it from CMonitorDlg, you simply pass the this pointer).

Cédric Moonen
Software developer

Charting control [v2.0]
OpenGL game tutorial in C++

GeneralRe: Using function from other class Pin
blackbolek15-Dec-09 4:50
blackbolek15-Dec-09 4:50 
AnswerRe: Using function from other class Pin
Cedric Moonen15-Dec-09 3:21
Cedric Moonen15-Dec-09 3:21 
QuestionSorting In A Virtual ListControl Pin
jannathali15-Dec-09 1:13
jannathali15-Dec-09 1:13 
AnswerRe: Sorting In A Virtual ListControl Pin
Code-o-mat15-Dec-09 2:21
Code-o-mat15-Dec-09 2:21 
QuestionAccelerators in VC++ Pin
VCsamir14-Dec-09 23:21
VCsamir14-Dec-09 23:21 
AnswerRe: Accelerators in VC++ Pin
Moak15-Dec-09 0:37
Moak15-Dec-09 0:37 
AnswerRe: Accelerators in VC++ Pin
KarstenK15-Dec-09 2:08
mveKarstenK15-Dec-09 2:08 
AnswerRe: Accelerators in VC++ Pin
Code-o-mat15-Dec-09 2:08
Code-o-mat15-Dec-09 2:08 
QuestionActiveX controls child window of another ActiveX control Pin
Miriama2514-Dec-09 22:41
Miriama2514-Dec-09 22:41 
AnswerRe: ActiveX controls child window of another ActiveX control Pin
KarstenK14-Dec-09 23:09
mveKarstenK14-Dec-09 23:09 
GeneralRe: ActiveX controls child window of another ActiveX control Pin
Miriama2514-Dec-09 23:16
Miriama2514-Dec-09 23:16 
GeneralRe: ActiveX controls child window of another ActiveX control Pin
KarstenK14-Dec-09 23:41
mveKarstenK14-Dec-09 23:41 
GeneralRe: ActiveX controls child window of another ActiveX control [modified] Pin
Miriama2515-Dec-09 1:35
Miriama2515-Dec-09 1:35 
GeneralRe: ActiveX controls child window of another ActiveX control Pin
KarstenK15-Dec-09 1:57
mveKarstenK15-Dec-09 1:57 
GeneralRe: ActiveX controls child window of another ActiveX control Pin
Miriama2515-Dec-09 21:43
Miriama2515-Dec-09 21:43 
QuestionHow to load OCX file in VC++ Project Pin
Pavan_Putra14-Dec-09 22:29
Pavan_Putra14-Dec-09 22:29 
AnswerRe: How to load OCX file in VC++ Project Pin
CPallini14-Dec-09 22:37
mveCPallini14-Dec-09 22:37 

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.