Click here to Skip to main content
16,008,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How can I prevent application from responding to keyboard events? Pin
whelk19-Jul-02 22:25
whelk19-Jul-02 22:25 
GeneralLib. conflicts. Link Warnings! .. please advise Pin
a3gupta19-Jul-02 13:51
a3gupta19-Jul-02 13:51 
GeneralRe: Lib. conflicts. Link Warnings! .. please advise Pin
Chris Losinger19-Jul-02 18:57
professionalChris Losinger19-Jul-02 18:57 
GeneralDisable SaveFile in CEditView Pin
Anonymous19-Jul-02 13:33
Anonymous19-Jul-02 13:33 
GeneralApplication just terminates on pressing Enter Pin
a3gupta19-Jul-02 12:48
a3gupta19-Jul-02 12:48 
GeneralRe: Application just terminates on pressing Enter Pin
Michael Dunn19-Jul-02 16:36
sitebuilderMichael Dunn19-Jul-02 16:36 
GeneralRe: Application just terminates --- Thanks Mike. Pin
a3gupta19-Jul-02 16:41
a3gupta19-Jul-02 16:41 
Generallocal variable vs doc variable.....help! Pin
ns19-Jul-02 12:25
ns19-Jul-02 12:25 
Hi,

With a locally defined buffer, the following works fine: but I want to use doc variable to fill my list with, and it crashes:


if(NULL != m_list1.GetSafeHwnd())

{
CTrain1Doc* pDoc = (CTrain1Doc*) GetDocument();

char* pc;

CString string;
int nListIndex = 0;
for (pc = pDoc->m_buffer ; *pc ; pc = strchr(pc,0) + 1) //////crashes here in debug...
{
char* pc1 = strchr(pc,','); // search for a comma, returns a null pointer if not found
if (pc1) *pc1 = 0; // if we find a comma we replace it with a null character, if we didn't find a comma then the word is already null-terminated
string = pc;
int nItem = m_list1.InsertItem(nListIndex,string);

nListIndex ++;
}

}
GeneralRe: local variable vs doc variable.....help! Pin
Christian Graus19-Jul-02 12:47
protectorChristian Graus19-Jul-02 12:47 
GeneralBeyond Jeff Prosise :: MFC Pin
valikac19-Jul-02 11:50
valikac19-Jul-02 11:50 
GeneralRe: Beyond Jeff Prosise :: MFC Pin
Christian Graus19-Jul-02 12:03
protectorChristian Graus19-Jul-02 12:03 
GeneralRe: Beyond Jeff Prosise :: MFC Pin
Michael P Butler19-Jul-02 21:49
Michael P Butler19-Jul-02 21:49 
GeneralRe: Beyond Jeff Prosise :: MFC Pin
valikac20-Jul-02 4:54
valikac20-Jul-02 4:54 
Generalstrange behavior - GetClientRect Pin
ns19-Jul-02 11:31
ns19-Jul-02 11:31 
GeneralRe: strange behavior - GetClientRect Pin
Christian Graus19-Jul-02 12:04
protectorChristian Graus19-Jul-02 12:04 
GeneralRe: strange behavior - GetClientRect Pin
ns19-Jul-02 12:17
ns19-Jul-02 12:17 
GeneralRe: strange behavior - GetClientRect Pin
Christian Graus19-Jul-02 12:22
protectorChristian Graus19-Jul-02 12:22 
GeneralRe: strange behavior - GetClientRect Pin
ns19-Jul-02 12:27
ns19-Jul-02 12:27 
Questionhow do we get a pointer to an inactive view? Pin
ns19-Jul-02 11:28
ns19-Jul-02 11:28 
AnswerRe: how do we get a pointer to an inactive view? Pin
Chris Losinger19-Jul-02 12:12
professionalChris Losinger19-Jul-02 12:12 
GeneralThanks, - but what if I had 4 views? Pin
ns19-Jul-02 12:21
ns19-Jul-02 12:21 
GeneralRe: Thanks, - but what if I had 4 views? Pin
Chris Losinger19-Jul-02 13:00
professionalChris Losinger19-Jul-02 13:00 
Questionwhich class should run the onupdateUI menu handler? Pin
ns19-Jul-02 10:46
ns19-Jul-02 10:46 
AnswerRe: which class should run the onupdateUI menu handler? Pin
Ravi Bhavnani19-Jul-02 18:22
professionalRavi Bhavnani19-Jul-02 18:22 
Questionwhat i need? Pin
pnpfriend19-Jul-02 10:20
pnpfriend19-Jul-02 10:20 

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.