Click here to Skip to main content
15,921,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: IDispatch COM Object - returning BSTR incorrectly Pin
CPallini3-Jun-09 2:49
mveCPallini3-Jun-09 2:49 
AnswerRe: IDispatch COM Object - returning BSTR incorrectly Pin
Stuart Dootson3-Jun-09 2:51
professionalStuart Dootson3-Jun-09 2:51 
AnswerFound It ! - Thanks Pallini, Stuart Pin
Mike the Red3-Jun-09 5:09
Mike the Red3-Jun-09 5:09 
QuestionOK! Look this project Pin
agetina3-Jun-09 1:06
agetina3-Jun-09 1:06 
AnswerRe: OK! Look this project Pin
CPallini3-Jun-09 1:41
mveCPallini3-Jun-09 1:41 
QuestionSwitch Pin
navneet19853-Jun-09 0:41
navneet19853-Jun-09 0:41 
AnswerRe: Switch Pin
«_Superman_»3-Jun-09 0:53
professional«_Superman_»3-Jun-09 0:53 
QuestionCFormView with icon style CListCtrl works fine on debug build, but not on release Pin
Sternocera2-Jun-09 23:26
Sternocera2-Jun-09 23:26 
Hello,

I'm developing an MFC application - an outlook style splitter window app that displays various CFormViews in its right pane.

Recently, I changed the initial view (The AFX_IDW_PANE_FIRST view) to have an icon style CListCtrl, from a report style CListCtrl. The CListCtrl is populated in OnInitialUpdate. This was not the first view in this app to have an icon CListCtrl, so I imagined it wouldn't present any trouble. It doesn't present any trouble with the debug build. However, on the release build, no icons are initially visible in the CReportCtrl's icon style CListCtrl. I have to press a toolbar button that sends a message to the view, whose handler calls the same reloading utility function called from within OnInitialUpdate to have it populated. Then, it behaves correctly.

Why is my CFormView failing to be populated from within OnInitialUpdate? Control flow does reach OnInitialUpdate/the reloading utility function, so it really ought to work, but it doesn't.

Any help that can be offered is of course greatly appreciated,

Regards,
Sternocera
AnswerRe: CFormView with icon style CListCtrl works fine on debug build, but not on release Pin
Sternocera2-Jun-09 23:56
Sternocera2-Jun-09 23:56 
QuestionMy app crash with no apparent reason? Pin
josip cagalj2-Jun-09 22:53
josip cagalj2-Jun-09 22:53 
AnswerRe: My app crash with no apparent reason? Pin
_AnsHUMAN_ 3-Jun-09 0:25
_AnsHUMAN_ 3-Jun-09 0:25 
GeneralRe: My app crash with no apparent reason? Pin
josip cagalj3-Jun-09 0:53
josip cagalj3-Jun-09 0:53 
GeneralRe: My app crash with no apparent reason? Pin
David Crow3-Jun-09 2:54
David Crow3-Jun-09 2:54 
GeneralRe: My app crash with no apparent reason? Pin
josip cagalj3-Jun-09 3:10
josip cagalj3-Jun-09 3:10 
QuestionTwo main methods? Pin
agetina2-Jun-09 22:37
agetina2-Jun-09 22:37 
AnswerRe: Two main methods? Pin
Cedric Moonen2-Jun-09 22:43
Cedric Moonen2-Jun-09 22:43 
QuestionRe: Two main methods? Pin
CPallini2-Jun-09 22:47
mveCPallini2-Jun-09 22:47 
AnswerRe: Two main methods? Pin
KarstenK2-Jun-09 22:57
mveKarstenK2-Jun-09 22:57 
AnswerRe: Two main methods? Pin
Rajesh R Subramanian2-Jun-09 22:58
professionalRajesh R Subramanian2-Jun-09 22:58 
QuestionWindows.h? Pin
agetina2-Jun-09 22:23
agetina2-Jun-09 22:23 
AnswerRe: Windows.h Pin
Chandrasekharan P2-Jun-09 22:27
Chandrasekharan P2-Jun-09 22:27 
AnswerRe: Windows.h Pin
CPallini2-Jun-09 22:32
mveCPallini2-Jun-09 22:32 
AnswerRe: Windows.h? Pin
Stuart Dootson2-Jun-09 22:58
professionalStuart Dootson2-Jun-09 22:58 
QuestionUnresolved external symbol Pin
Pryabu2-Jun-09 21:30
Pryabu2-Jun-09 21:30 
AnswerRe: Unresolved external symbol Pin
Cedric Moonen2-Jun-09 21:33
Cedric Moonen2-Jun-09 21:33 

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.