Click here to Skip to main content
15,912,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListCtrl DeleteItem Pin
David Crow27-Oct-03 4:46
David Crow27-Oct-03 4:46 
GeneralRe: CListCtrl DeleteItem Pin
Jarek G27-Oct-03 7:59
Jarek G27-Oct-03 7:59 
GeneralRe: CListCtrl DeleteItem Pin
Abin27-Oct-03 14:09
Abin27-Oct-03 14:09 
GeneralCPP question Pin
alex.barylski26-Oct-03 12:22
alex.barylski26-Oct-03 12:22 
GeneralRe: CPP question Pin
Steve S27-Oct-03 1:46
Steve S27-Oct-03 1:46 
GeneralRe: CPP question Pin
alex.barylski27-Oct-03 6:53
alex.barylski27-Oct-03 6:53 
GeneralRe: CPP question Pin
Roger Allen27-Oct-03 2:32
Roger Allen27-Oct-03 2:32 
GeneralRe: CPP question Pin
Steve S27-Oct-03 3:20
Steve S27-Oct-03 3:20 
Generally, this will only work if you have actual MFC objects corresponding to the windows themselves, since left to it's own devices, GetDlgItem() will return back either the permanent object associated with an HWND, or a temporary CWnd object. You don't, for instance, get a CButton* back if you use

GetDlgItem(IDOK)

unless you've associated one with the dialog item.

In the scenario outlined, of course, it should be OK.

Steve S
GeneralRestore Window State; Pin
Bo Hunter26-Oct-03 11:46
Bo Hunter26-Oct-03 11:46 
GeneralRe: Restore Window State; Pin
Ravi Bhavnani26-Oct-03 12:25
professionalRavi Bhavnani26-Oct-03 12:25 
GeneralGetOpenFileName Pin
Anonymous26-Oct-03 11:45
Anonymous26-Oct-03 11:45 
GeneralRe: GetOpenFileName Pin
Ravi Bhavnani26-Oct-03 12:27
professionalRavi Bhavnani26-Oct-03 12:27 
GeneralRe: GetOpenFileName Pin
georgiek5026-Oct-03 13:33
georgiek5026-Oct-03 13:33 
GeneralRe: GetOpenFileName Pin
Ravi Bhavnani26-Oct-03 13:51
professionalRavi Bhavnani26-Oct-03 13:51 
GeneralRe: GetOpenFileName Pin
georgiek5026-Oct-03 14:02
georgiek5026-Oct-03 14:02 
GeneralRe: GetOpenFileName Pin
Ravi Bhavnani26-Oct-03 14:29
professionalRavi Bhavnani26-Oct-03 14:29 
QuestionHow do I increment a char? Pin
JasonKaiser26-Oct-03 11:43
JasonKaiser26-Oct-03 11:43 
AnswerRe: How do I increment a char? Pin
georgiek5026-Oct-03 12:09
georgiek5026-Oct-03 12:09 
GeneralRe: How do I increment a char? Pin
JasonKaiser26-Oct-03 12:51
JasonKaiser26-Oct-03 12:51 
GeneralRe: How do I increment a char? Pin
georgiek5026-Oct-03 14:07
georgiek5026-Oct-03 14:07 
GeneralCArray for GCC Pin
Sergei Yevseyev26-Oct-03 11:16
Sergei Yevseyev26-Oct-03 11:16 
GeneralRe: CArray for GCC Pin
Christian Graus26-Oct-03 13:02
protectorChristian Graus26-Oct-03 13:02 
Generalproblem with file scanning Pin
karteek26-Oct-03 6:09
karteek26-Oct-03 6:09 
GeneralRe: problem with file scanning Pin
Dominik Reichl26-Oct-03 6:59
Dominik Reichl26-Oct-03 6:59 
GeneralSize of exe file Pin
Anonymous26-Oct-03 4:55
Anonymous26-Oct-03 4:55 

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.