<?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[Dem Prohekt hinzufügen -&gt; .net]]></title><description><![CDATA[<p>Hi!</p>
<p>Ich hab hier den VC7 (.net) und würde gerne das hier machen:</p>
<p>Projekt --&gt; Dem Projekt hinzufügen --&gt; Komponente --&gt; Splashscreen</p>
<p>Aber ich finde das nicht.<br />
Ich stell mich da zu doof an :o(</p>
<p>Alles was ich da habe ich Klassen <a href="http://developer.rothmichael.de/forum/mnu_projekt.jpg" rel="nofollow">hinzufügen</a><br />
etc...</p>
<p>Kann mir jemand bitte den Weg beschreiben den man beim .net gehen muss ?</p>
<p>thx<br />
Michael</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/5021/dem-prohekt-hinzufügen-net</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Apr 2026 15:33:52 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/5021.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 10 Mar 2003 21:27:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Dem Prohekt hinzufügen -&gt; .net on Mon, 10 Mar 2003 21:27:00 GMT]]></title><description><![CDATA[<p>Hi!</p>
<p>Ich hab hier den VC7 (.net) und würde gerne das hier machen:</p>
<p>Projekt --&gt; Dem Projekt hinzufügen --&gt; Komponente --&gt; Splashscreen</p>
<p>Aber ich finde das nicht.<br />
Ich stell mich da zu doof an :o(</p>
<p>Alles was ich da habe ich Klassen <a href="http://developer.rothmichael.de/forum/mnu_projekt.jpg" rel="nofollow">hinzufügen</a><br />
etc...</p>
<p>Kann mir jemand bitte den Weg beschreiben den man beim .net gehen muss ?</p>
<p>thx<br />
Michael</p>
]]></description><link>https://www.c-plusplus.net/forum/post/24358</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/24358</guid><dc:creator><![CDATA[Knuddlbaer]]></dc:creator><pubDate>Mon, 10 Mar 2003 21:27:00 GMT</pubDate></item><item><title><![CDATA[Reply to Dem Prohekt hinzufügen -&gt; .net on Tue, 11 Mar 2003 07:39:00 GMT]]></title><description><![CDATA[<p>Projekt --&gt; Dem Projekt hinzufügen --&gt; Komponente --&gt; Splashscreen</p>
<p>Komponente --&gt; Splashscreen ??</p>
<p>entweder ist ist eine dll dann über datei oder ist es eine klasse dann über project-&gt;klasse.</p>
<p>als activex über toolbox rechte maustaste tooolbox anpassen.</p>
<p>volker</p>
]]></description><link>https://www.c-plusplus.net/forum/post/24359</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/24359</guid><dc:creator><![CDATA[vdittrich]]></dc:creator><pubDate>Tue, 11 Mar 2003 07:39:00 GMT</pubDate></item><item><title><![CDATA[Reply to Dem Prohekt hinzufügen -&gt; .net on Tue, 11 Mar 2003 17:23:00 GMT]]></title><description><![CDATA[<p>Hi!</p>
<p>Ich finde das immer wieder in irgendwelchen FAQs oder sonstigen Artikeln.</p>
<p>Projekt -&gt; Dem Projekt hinzufügen -&gt; VC Controls und Komponenten.</p>
<p>Ich finds einfach nicht. Der Splashscreen war ein Beispiel dafür....<br />
*seufz* Ich seh den Wald vor lauter Bäumen nicht !!! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/24360</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/24360</guid><dc:creator><![CDATA[Knuddlbaer]]></dc:creator><pubDate>Tue, 11 Mar 2003 17:23:00 GMT</pubDate></item><item><title><![CDATA[Reply to Dem Prohekt hinzufügen -&gt; .net on Tue, 11 Mar 2003 18:30:00 GMT]]></title><description><![CDATA[<p>Den Splash hab ich auch nicht gefunden.<br />
Allerdings kann man andere ActiveX etc. mit Klasse hinzufügen auswählen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/24361</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/24361</guid><dc:creator><![CDATA[Unix-Tom]]></dc:creator><pubDate>Tue, 11 Mar 2003 18:30:00 GMT</pubDate></item><item><title><![CDATA[Reply to Dem Prohekt hinzufügen -&gt; .net on Wed, 12 Mar 2003 07:18:00 GMT]]></title><description><![CDATA[<p>geht es um diese FAQ ???</p>
<p>Wie kann ich einen Begrüßungsbildschirm anzeigen lassen so wie es bei z.B. Word oder Excel ist?<br />
Das Schild soll erst wieder weg gehen wenn die anwendung geladen ist.</p>
<p>Ich brauche das da meine Anwendung fast 6 SEkunden zum Start braucht</p>
<p>--------------------<br />
Ich hoffe ich konnte euch helfen...<br />
...oder ihr mir <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";-)"
      alt="😉"
    /><br />
<a href="mailto:JensMinor@T-Online.de" rel="nofollow">JensMinor@T-Online.de</a><br />
--&gt; <a href="http://jensminor.gu1.info" rel="nofollow">http://jensminor.gu1.info</a> &lt;--</p>
<p>--------------------------------------------------------------------------------<br />
Beiträge: 4489 | Registriert seit: Feb 2002 | IP: gespeichert<br />
Unix-Tom<br />
Moderator<br />
Mitglied # 275</p>
<p>erstellt 22.04.2002 20:33<br />
--------------------------------------------------------------------------------<br />
Nennt sich Splashscreen und geht nur in MDI,SDI<br />
Menü zum Project/dem Proj. hinzufügen/Komponenten und Steuerelem./<br />
Ordner Visual C++ Components/Begrüßungsbildschirm</p>
<p>--------------------<br />
Thomas<br />
Moderator für Linux und MFC</p>
]]></description><link>https://www.c-plusplus.net/forum/post/24362</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/24362</guid><dc:creator><![CDATA[vdittrich]]></dc:creator><pubDate>Wed, 12 Mar 2003 07:18:00 GMT</pubDate></item><item><title><![CDATA[Reply to Dem Prohekt hinzufügen -&gt; .net on Wed, 12 Mar 2003 07:39:00 GMT]]></title><description><![CDATA[<p>Es sieht wirklich so aus, als gäbs diese Hinzufüge-Assistenten bei VC .NET nicht mehr.<br />
Echt schade, haben ne Menge Arbeit abgenommen!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/24363</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/24363</guid><dc:creator><![CDATA[RenéG]]></dc:creator><pubDate>Wed, 12 Mar 2003 07:39:00 GMT</pubDate></item><item><title><![CDATA[Reply to Dem Prohekt hinzufügen -&gt; .net on Wed, 12 Mar 2003 08:02:00 GMT]]></title><description><![CDATA[<p>ich arbeite mit vc7 und habe dort schon gesucht, ohne ergebnis.</p>
<p>wie schaut der code aus der vom assis. hinzugefügt wird ?</p>
<p>volker</p>
]]></description><link>https://www.c-plusplus.net/forum/post/24364</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/24364</guid><dc:creator><![CDATA[vdittrich]]></dc:creator><pubDate>Wed, 12 Mar 2003 08:02:00 GMT</pubDate></item><item><title><![CDATA[Reply to Dem Prohekt hinzufügen -&gt; .net on Thu, 13 Mar 2003 22:27:00 GMT]]></title><description><![CDATA[<p>Würde mich auch Interessieren <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>thx schon mal für die Antworten <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/24365</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/24365</guid><dc:creator><![CDATA[Knuddlbaer]]></dc:creator><pubDate>Thu, 13 Mar 2003 22:27:00 GMT</pubDate></item><item><title><![CDATA[Reply to Dem Prohekt hinzufügen -&gt; .net on Thu, 13 Mar 2003 23:33:00 GMT]]></title><description><![CDATA[<p>Eine Möglichkeit wäre:</p>
<p>Singleton erstellen.<br />
Dialog erstellen mit einer Bitmap oder sonst was drauf.</p>
<p>Im SingleTon 2 Methoden anlegen:<br />
1 zum Anzeigen des Dialoges<br />
1. zum ausblenden des Dialoges.</p>
<p>In der &lt;MeinProject&gt;.cpp bei InitInstance() ruft man dann die Methode<br />
auf die den Dialog erzeugt.<br />
Beispiel:</p>
<pre><code class="language-cpp">void Singleton::ViewSplashScreen(void)
{
    Screen = new SplashScreen;
    Screen-&gt;Create(IDD_SPLASH);
    Screen-&gt;ShowWindow(SW_SHOW);
    Screen-&gt;UpdateWindow();  
}
</code></pre>
<p>Bei MainFrame::OnCreate macht man es wieder zu.</p>
<p>Hoffe das hilft irgendwie.... *verschlafen schau*</p>
]]></description><link>https://www.c-plusplus.net/forum/post/24366</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/24366</guid><dc:creator><![CDATA[Knuddlbaer]]></dc:creator><pubDate>Thu, 13 Mar 2003 23:33:00 GMT</pubDate></item><item><title><![CDATA[Reply to Dem Prohekt hinzufügen -&gt; .net on Fri, 14 Mar 2003 04:46:00 GMT]]></title><description><![CDATA[<p>header</p>
<pre><code class="language-cpp">// CG: This file was added by the Splash Screen component.

#ifndef _SPLASH_SCRN_
#define _SPLASH_SCRN_

// Splash.h : header file
//

/////////////////////////////////////////////////////////////////////////////
//   Splash Screen class

class CSplashWnd : public CWnd
{
// Construction
protected:
    CSplashWnd();

// Attributes:
public:
    CBitmap m_bitmap;

// Operations
public:
    static void EnableSplashScreen(BOOL bEnable = TRUE);
    static void ShowSplashScreen(CWnd* pParentWnd = NULL);
    static void PreTranslateAppMessage(MSG* pMsg);

// Overrides
    // ClassWizard generated virtual function overrides
    //{{AFX_VIRTUAL(CSplashWnd)
    //}}AFX_VIRTUAL

// Implementation
public:
    ~CSplashWnd();
    virtual void PostNcDestroy();

protected:
    BOOL Create(CWnd* pParentWnd = NULL);
    void HideSplashScreen();
    static BOOL c_bShowSplashWnd;
    static CSplashWnd* c_pSplashWnd;

// Generated message map functions
protected:
    //{{AFX_MSG(CSplashWnd)
    afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
    afx_msg void OnPaint();
    afx_msg void OnTimer(UINT nIDEvent);
    //}}AFX_MSG
    DECLARE_MESSAGE_MAP()
};

#endif
</code></pre>
<p>cpp</p>
<pre><code class="language-cpp">// CG: This file was added by the Splash Screen component.
// Splash.cpp : implementation file
//

#include &quot;stdafx.h&quot;  // e. g. stdafx.h
#include &quot;resource.h&quot;  // e.g. resource.h

#include &quot;Splash.h&quot;  // e.g. splash.h

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//   Splash Screen class

BOOL CSplashWnd::c_bShowSplashWnd;
CSplashWnd* CSplashWnd::c_pSplashWnd;
CSplashWnd::CSplashWnd()
{
}

CSplashWnd::~CSplashWnd()
{
    // Clear the static window pointer.
    ASSERT(c_pSplashWnd == this);
    c_pSplashWnd = NULL;
}

BEGIN_MESSAGE_MAP(CSplashWnd, CWnd)
    //{{AFX_MSG_MAP(CSplashWnd)
    ON_WM_CREATE()
    ON_WM_PAINT()
    ON_WM_TIMER()
    //}}AFX_MSG_MAP
END_MESSAGE_MAP()

void CSplashWnd::EnableSplashScreen(BOOL bEnable /*= TRUE*/)
{
    c_bShowSplashWnd = bEnable;
}

void CSplashWnd::ShowSplashScreen(CWnd* pParentWnd /*= NULL*/)
{
    if (!c_bShowSplashWnd || c_pSplashWnd != NULL)
        return;

    // Allocate a new splash screen, and create the window.
    c_pSplashWnd = new CSplashWnd;
    if (!c_pSplashWnd-&gt;Create(pParentWnd))
        delete c_pSplashWnd;
    else
        c_pSplashWnd-&gt;UpdateWindow();
}

void CSplashWnd::PreTranslateAppMessage(MSG* pMsg)
{
    if (c_pSplashWnd == NULL)
        return;

    // If we get a keyboard or mouse message, hide the splash screen.
    if (pMsg-&gt;message == WM_KEYDOWN ||
        pMsg-&gt;message == WM_SYSKEYDOWN ||
        pMsg-&gt;message == WM_LBUTTONDOWN ||
        pMsg-&gt;message == WM_RBUTTONDOWN ||
        pMsg-&gt;message == WM_MBUTTONDOWN ||
        pMsg-&gt;message == WM_NCLBUTTONDOWN ||
        pMsg-&gt;message == WM_NCRBUTTONDOWN ||
        pMsg-&gt;message == WM_NCMBUTTONDOWN)
    {
        c_pSplashWnd-&gt;HideSplashScreen();
    }
}

BOOL CSplashWnd::Create(CWnd* pParentWnd /*= NULL*/)
{
    if (!m_bitmap.LoadBitmap(IDB_SPLASH))
        return FALSE;

    BITMAP bm;
    m_bitmap.GetBitmap(&amp;bm);

    return CreateEx(0,
        AfxRegisterWndClass(0, AfxGetApp()-&gt;LoadStandardCursor(IDC_ARROW)),
        NULL, WS_POPUP | WS_VISIBLE, 0, 0, bm.bmWidth, bm.bmHeight, pParentWnd-&gt;GetSafeHwnd(), NULL);
}

void CSplashWnd::HideSplashScreen()
{
    // Destroy the window, and update the mainframe.
    DestroyWindow();
    AfxGetMainWnd()-&gt;UpdateWindow();
}

void CSplashWnd::PostNcDestroy()
{
    // Free the C++ class.
    delete this;
}

int CSplashWnd::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
    if (CWnd::OnCreate(lpCreateStruct) == -1)
        return -1;

    // Center the window.
    CenterWindow();

    // Set a timer to destroy the splash screen.
    SetTimer(1, 3000, NULL);

    return 0;
}

void CSplashWnd::OnPaint()
{
    CPaintDC dc(this);

    CDC dcImage;
    if (!dcImage.CreateCompatibleDC(&amp;dc))
        return;

    BITMAP bm;
    m_bitmap.GetBitmap(&amp;bm);

    // Paint the image.
    CBitmap* pOldBitmap = dcImage.SelectObject(&amp;m_bitmap);
    dc.BitBlt(0, 0, bm.bmWidth, bm.bmHeight, &amp;dcImage, 0, 0, SRCCOPY);
    dcImage.SelectObject(pOldBitmap);
}

void CSplashWnd::OnTimer(UINT nIDEvent)
{
    // Destroy the splash screen window.
    HideSplashScreen();
}
</code></pre>
<p>in der Mainframe</p>
<pre><code class="language-cpp">#include &quot;Splash.h&quot;
</code></pre>
<p>bei OnCreate</p>
<pre><code class="language-cpp">// Hiers steht der andere Code  und zum Schluß

    CSplashWnd::ShowSplashScreen(this);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/24367</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/24367</guid><dc:creator><![CDATA[Unix-Tom]]></dc:creator><pubDate>Fri, 14 Mar 2003 04:46:00 GMT</pubDate></item><item><title><![CDATA[Reply to Dem Prohekt hinzufügen -&gt; .net on Fri, 14 Mar 2003 12:56:00 GMT]]></title><description><![CDATA[<p>Vielen Dank <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f921.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--clown_face"
      title=":clown:"
      alt="🤡"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/24368</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/24368</guid><dc:creator><![CDATA[Knuddlbaer]]></dc:creator><pubDate>Fri, 14 Mar 2003 12:56:00 GMT</pubDate></item><item><title><![CDATA[Reply to Dem Prohekt hinzufügen -&gt; .net on Fri, 14 Mar 2003 20:39:00 GMT]]></title><description><![CDATA[<p>Könnte man das o.g. von Unix in den Beitrag aus der FAQ hinzufügen ?</p>
<p>thx</p>
]]></description><link>https://www.c-plusplus.net/forum/post/24369</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/24369</guid><dc:creator><![CDATA[Knuddlbaer]]></dc:creator><pubDate>Fri, 14 Mar 2003 20:39:00 GMT</pubDate></item><item><title><![CDATA[Reply to Dem Prohekt hinzufügen -&gt; .net on Mon, 17 May 2004 07:51:35 GMT]]></title><description><![CDATA[<p>Hallo Unix-Tom,</p>
<p>ich bekomm die Daten nicht zum laufen.</p>
<p>Ich öffne eine MFC Anwendung in SDI und füge dann die Splash.cpp,<br />
Splash.h ein und die Include in die main und den rest da in die OnCreate, aber irdendwie funzt das nicht.</p>
<p>Kannst Du mir nen Tipp geben.</p>
<p>Danke</p>
<p>Test-User</p>
]]></description><link>https://www.c-plusplus.net/forum/post/521710</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/521710</guid><dc:creator><![CDATA[Test-User]]></dc:creator><pubDate>Mon, 17 May 2004 07:51:35 GMT</pubDate></item><item><title><![CDATA[Reply to Dem Prohekt hinzufügen -&gt; .net on Mon, 17 May 2004 07:52:12 GMT]]></title><description><![CDATA[<p>Hallo Unix-Tom,</p>
<p>ich bekomm die Daten nicht zum laufen.</p>
<p>Ich öffne eine MFC Anwendung in SDI und füge dann die Splash.cpp,<br />
Splash.h ein und die Include in die main und den rest da in die OnCreate, aber irdendwie funzt das nicht.</p>
<p>Kannst Du mir nen Tipp geben.</p>
<p>Danke</p>
<p>Test-User</p>
]]></description><link>https://www.c-plusplus.net/forum/post/521711</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/521711</guid><dc:creator><![CDATA[Test-User]]></dc:creator><pubDate>Mon, 17 May 2004 07:52:12 GMT</pubDate></item></channel></rss>