<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[CRichEditCrtl() &amp;amp;&amp;amp; SetEventMask()]]></title><description><![CDATA[<p>hi @ all</p>
<p>ich möchte das was ich in meinem eingabefeld eintrage ein paar dialoge später in ner liste ausgeben.</p>
<p>ich habs erst mal so probiert:<br />
eingabefeld:</p>
<pre><code>void CErste_Abfrage::OnMonat() 
{
CDialog::OnInitDialog()

        CRichEditCtrl* a;
        a-&gt;SetEventMask(a-&gt;GetEventMask()|ENM_CHANGE);
}
</code></pre>
<p>und der dialog der liste:</p>
<pre><code>BOOL CAusgabe::OnInitDialog() 
{
    CDialog::OnInitDialog();

    CErste_Abfrage Abfrage;
    char* tag[]={Abfrage.m_Monat};
    char* fahrt[]={&quot;Naundorf - Freiberg&quot;};
    char* anfang[]={&quot;15356&quot;};
    char* strecke[]={&quot;9,3&quot;};
    char* end[]={&quot;15364,3&quot;};

    LV_ITEM item; 
    m_AusLis.InsertColumn(0,&quot;Tag&quot;,LVCFMT_LEFT,50,0);
    m_AusLis.InsertColumn(1,&quot;Fahrt&quot;,LVCFMT_RIGHT,150,1);
    m_AusLis.InsertColumn(2,&quot;Anfangs-Km&quot;,LVCFMT_RIGHT,100,2);
    m_AusLis.InsertColumn(3,&quot;Strecke&quot;,LVCFMT_RIGHT,100,3);
    m_AusLis.InsertColumn(4,&quot;End-Km&quot;,LVCFMT_RIGHT,100,4);
    item.mask=LVIF_TEXT;

      for(int j=0; j&lt;1; j++)
          {
          item.iItem=0;
          item.pszText=tag[j];
          item.iSubItem=0;
          int itemNr=m_AusLis.InsertItem(&amp;item);
          item.iItem=itemNr;
          item.iSubItem=1;
          item.pszText=fahrt[j];
          m_AusLis.SetItem(&amp;item);

          item.iSubItem=2;
          item.pszText=anfang[j];
          m_AusLis.SetItem(&amp;item);
          item.iSubItem=3;
          item.pszText=strecke[j];
          m_AusLis.SetItem(&amp;item);
          item.iSubItem=4;
          item.pszText=end[j];
          m_AusLis.SetItem(&amp;item);
          }
    return TRUE;  
}
</code></pre>
<p>und es funzt nich.könnt ihr mir helfen?</p>
<p>danke gruß wolfie</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/6499/cricheditcrtl-amp-amp-seteventmask</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 08:26:47 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/6499.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 07 Jul 2003 12:19:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CRichEditCrtl() &amp;amp;&amp;amp; SetEventMask() on Mon, 07 Jul 2003 12:19:00 GMT]]></title><description><![CDATA[<p>hi @ all</p>
<p>ich möchte das was ich in meinem eingabefeld eintrage ein paar dialoge später in ner liste ausgeben.</p>
<p>ich habs erst mal so probiert:<br />
eingabefeld:</p>
<pre><code>void CErste_Abfrage::OnMonat() 
{
CDialog::OnInitDialog()

        CRichEditCtrl* a;
        a-&gt;SetEventMask(a-&gt;GetEventMask()|ENM_CHANGE);
}
</code></pre>
<p>und der dialog der liste:</p>
<pre><code>BOOL CAusgabe::OnInitDialog() 
{
    CDialog::OnInitDialog();

    CErste_Abfrage Abfrage;
    char* tag[]={Abfrage.m_Monat};
    char* fahrt[]={&quot;Naundorf - Freiberg&quot;};
    char* anfang[]={&quot;15356&quot;};
    char* strecke[]={&quot;9,3&quot;};
    char* end[]={&quot;15364,3&quot;};

    LV_ITEM item; 
    m_AusLis.InsertColumn(0,&quot;Tag&quot;,LVCFMT_LEFT,50,0);
    m_AusLis.InsertColumn(1,&quot;Fahrt&quot;,LVCFMT_RIGHT,150,1);
    m_AusLis.InsertColumn(2,&quot;Anfangs-Km&quot;,LVCFMT_RIGHT,100,2);
    m_AusLis.InsertColumn(3,&quot;Strecke&quot;,LVCFMT_RIGHT,100,3);
    m_AusLis.InsertColumn(4,&quot;End-Km&quot;,LVCFMT_RIGHT,100,4);
    item.mask=LVIF_TEXT;

      for(int j=0; j&lt;1; j++)
          {
          item.iItem=0;
          item.pszText=tag[j];
          item.iSubItem=0;
          int itemNr=m_AusLis.InsertItem(&amp;item);
          item.iItem=itemNr;
          item.iSubItem=1;
          item.pszText=fahrt[j];
          m_AusLis.SetItem(&amp;item);

          item.iSubItem=2;
          item.pszText=anfang[j];
          m_AusLis.SetItem(&amp;item);
          item.iSubItem=3;
          item.pszText=strecke[j];
          m_AusLis.SetItem(&amp;item);
          item.iSubItem=4;
          item.pszText=end[j];
          m_AusLis.SetItem(&amp;item);
          }
    return TRUE;  
}
</code></pre>
<p>und es funzt nich.könnt ihr mir helfen?</p>
<p>danke gruß wolfie</p>
]]></description><link>https://www.c-plusplus.net/forum/post/31567</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/31567</guid><dc:creator><![CDATA[wolfie]]></dc:creator><pubDate>Mon, 07 Jul 2003 12:19:00 GMT</pubDate></item><item><title><![CDATA[Reply to CRichEditCrtl() &amp;amp;&amp;amp; SetEventMask() on Tue, 08 Jul 2003 05:58:00 GMT]]></title><description><![CDATA[<p>Wann hast Du eigentlich vor, dir mal ein Tutorial durchzulesen und zu versuchen, es zu verstehen?<br />
Jede Deiner bisher gestellten Fragen ist wunderschön in E.Henkes MFC-Einsteigertutorial erklärt bzw. geklärt.</p>
<p>Weiterhin sind Deine wunderschönen Fehlermeldungen <em>Es funzt nicht</em> hier mehr als fehl am Platz.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/31568</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/31568</guid><dc:creator><![CDATA[RenéG]]></dc:creator><pubDate>Tue, 08 Jul 2003 05:58:00 GMT</pubDate></item></channel></rss>