Click here to Skip to main content
15,925,528 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ vs. C# Pin
Hashim Saleem22-Jun-03 21:49
Hashim Saleem22-Jun-03 21:49 
GeneralRe: C++ vs. C# Pin
untwisted23-Jun-03 6:05
untwisted23-Jun-03 6:05 
GeneralRe: C++ vs. C# Pin
Rick Crone26-Jun-03 10:35
Rick Crone26-Jun-03 10:35 
GeneralRe: C++ vs. C# Pin
untwisted26-Jun-03 11:06
untwisted26-Jun-03 11:06 
Generalprogram Build (DeBUG) works Build with release does not work Pin
spinoza22-Jun-03 14:04
spinoza22-Jun-03 14:04 
GeneralRe: program Build (DeBUG) works Build with release does not work Pin
Michael Dunn22-Jun-03 15:45
sitebuilderMichael Dunn22-Jun-03 15:45 
GeneralRe: program Build (DeBUG) works Build with release does not work Pin
spinoza23-Jun-03 7:48
spinoza23-Jun-03 7:48 
GeneralRe: program Build (DeBUG) works Build with release does not work Pin
Ryan Binns22-Jun-03 18:57
Ryan Binns22-Jun-03 18:57 
GeneralRe: program Build (DeBUG) works Build with release does not work Pin
spinoza23-Jun-03 7:46
spinoza23-Jun-03 7:46 
GeneralWriting a replacement taskbar Pin
Reaper_Man2k22-Jun-03 12:01
Reaper_Man2k22-Jun-03 12:01 
GeneralRe: Writing a replacement taskbar Pin
Anonymous22-Jun-03 13:21
Anonymous22-Jun-03 13:21 
GeneralRe: Writing a replacement taskbar Pin
Reaper_Man2k25-Jun-03 10:07
Reaper_Man2k25-Jun-03 10:07 
QuestionHow to keep CComboBox list open Pin
PJ Arends22-Jun-03 9:51
professionalPJ Arends22-Jun-03 9:51 
AnswerRe: How to keep CComboBox list open Pin
Neville Franks22-Jun-03 13:21
Neville Franks22-Jun-03 13:21 
GeneralRe: How to keep CComboBox list open Pin
PJ Arends23-Jun-03 16:36
professionalPJ Arends23-Jun-03 16:36 
GeneralRe: How to keep CComboBox list open Pin
Neville Franks23-Jun-03 16:46
Neville Franks23-Jun-03 16:46 
GeneralRe: How to keep CComboBox list open Pin
PJ Arends23-Jun-03 17:11
professionalPJ Arends23-Jun-03 17:11 
GeneralRe: How to keep CComboBox list open Pin
Neville Franks23-Jun-03 18:20
Neville Franks23-Jun-03 18:20 
QuestionHow to create an OnBeforeFileDownload() method in CHtmlView ? Pin
bigK198122-Jun-03 8:56
bigK198122-Jun-03 8:56 
AnswerRe: How to create an OnBeforeFileDownload() method in CHtmlView ? Pin
bigK198123-Jun-03 6:26
bigK198123-Jun-03 6:26 
QuestionWhere in CMainFrame should I call GetDlgItem? Pin
kydfru22-Jun-03 7:31
kydfru22-Jun-03 7:31 
AnswerRe: Where in CMainFrame should I call GetDlgItem? Pin
Ryan Binns22-Jun-03 15:04
Ryan Binns22-Jun-03 15:04 
GeneralRe: Where in CMainFrame should I call GetDlgItem? Pin
kydfru22-Jun-03 21:42
kydfru22-Jun-03 21:42 
Yes I know that, but my first post wasn't clear enough.
Actually I need to get pointer to class object of class delivered from CComboBox.
[code]
// CDialogBar m_wndSearchBar;
// create m_wndSearchBar and pass to ReBar::AddBar ...
CHistoryCombo *m_pcomboSearchQuery = (CHistoryCombo *)m_wndSearchBar.GetDlgItem(IDC_COMBO_SEARCH_QUERY);
m_pcomboSearchQuery->LoadHistory("Settings", "SearchQueryHistory");
[/code]
The ChistoryCombo class is derived from CComboBox class.
The last string cause assertion in CString code.
So I think I acually get CComboBox pointer not CHistoryCombo.
Is there any way to get a CHistoryCombo pointer?
I know that I can constuct CHistoryCombo directly and then pass to CReBar::AddBar()
but is I think to build all toolbars from dialog resources is more good code style.
GeneralRe: Where in CMainFrame should I call GetDlgItem? Pin
Ryan Binns22-Jun-03 22:08
Ryan Binns22-Jun-03 22:08 
GeneralRe: Where in CMainFrame should I call GetDlgItem? Pin
kydfru22-Jun-03 22:27
kydfru22-Jun-03 22:27 

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.