Click here to Skip to main content
15,900,907 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Message Handling in Controls instead of Dialog Pin
bryce24-Mar-03 14:03
bryce24-Mar-03 14:03 
GeneralRe: Message Handling in Controls instead of Dialog Pin
Alin Negru24-Mar-03 22:02
Alin Negru24-Mar-03 22:02 
QuestionAdd Custom Controls To A Dialog??? Pin
brigham_young24-Mar-03 12:12
brigham_young24-Mar-03 12:12 
AnswerRe: Add Custom Controls To A Dialog??? Pin
Dave Bryant24-Mar-03 12:17
Dave Bryant24-Mar-03 12:17 
GeneralRe: Add Custom Controls To A Dialog??? Pin
brigham_young24-Mar-03 12:18
brigham_young24-Mar-03 12:18 
GeneralLearning to use an API Pin
trimtrom24-Mar-03 12:09
trimtrom24-Mar-03 12:09 
GeneralRe: Learning to use an API Pin
Dave Bryant24-Mar-03 12:15
Dave Bryant24-Mar-03 12:15 
QuestionWhen do I initialize a CListView? Pin
Jonah Bishop24-Mar-03 11:51
Jonah Bishop24-Mar-03 11:51 
I'm creating an SDI application using the CListView class as the base view, and I'm having a problem knowing when I should do things like InsertColumn(). If I use the OnInitialUpdate() method, columns get inserted every time that a new document gets created. When I try to use the OnCreate() method, I get an exception stating that the main frame has not yet been created (note that I'm getting a pointer to the main frame object to set some window "snap" settings).

Is there a method for a view that gets called only once upon program startup, but after all the windows have finished their creation state? I basically want to know where I should insert columns and do other, one-time initialization stuff.

Any ideas?

Thanks,

Jonah Bishop
Visit JGB Productions
AnswerRe: When do I initialize a CListView? Pin
Ravi Bhavnani24-Mar-03 12:04
professionalRavi Bhavnani24-Mar-03 12:04 
GeneralRe: When do I initialize a CListView? Pin
Jonah Bishop24-Mar-03 15:00
Jonah Bishop24-Mar-03 15:00 
Generalcolor palette Pin
mstacey24-Mar-03 11:43
mstacey24-Mar-03 11:43 
GeneralRe: color palette Pin
_Theo_24-Mar-03 22:25
_Theo_24-Mar-03 22:25 
GeneralString replace Pin
act_x24-Mar-03 11:42
act_x24-Mar-03 11:42 
GeneralRe: String replace Pin
Nick Parker24-Mar-03 12:09
protectorNick Parker24-Mar-03 12:09 
GeneralRe: String replace Pin
Dave Bryant24-Mar-03 12:13
Dave Bryant24-Mar-03 12:13 
GeneralRe: String replace Pin
act_x25-Mar-03 4:15
act_x25-Mar-03 4:15 
GeneralRe: String replace Pin
Dave Bryant25-Mar-03 9:04
Dave Bryant25-Mar-03 9:04 
GeneralCHTMLWebBrowser ActiveX is not appearing in a property page! Pin
Anonymous24-Mar-03 9:05
Anonymous24-Mar-03 9:05 
GeneralRe: CHTMLWebBrowser ActiveX is not appearing in a property page! Pin
Ravi Bhavnani24-Mar-03 9:25
professionalRavi Bhavnani24-Mar-03 9:25 
GeneralCComboBox and scrollbars. Pin
ns24-Mar-03 7:36
ns24-Mar-03 7:36 
GeneralRe: CComboBox and scrollbars. Pin
Ravi Bhavnani24-Mar-03 8:25
professionalRavi Bhavnani24-Mar-03 8:25 
Generalthanks Pin
ns24-Mar-03 8:31
ns24-Mar-03 8:31 
GeneralRe: CComboBox and scrollbars. Pin
PJ Arends24-Mar-03 10:35
professionalPJ Arends24-Mar-03 10:35 
GeneralDAO.... Pin
Anonymous24-Mar-03 7:07
Anonymous24-Mar-03 7:07 
GeneralMDI child windows Pin
Steven M Hunt24-Mar-03 6:56
Steven M Hunt24-Mar-03 6:56 

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.