Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Dialog ohne Resourcen

Empfohlene Antworten

Hallo Zusammen, ich möchte gerne einen kleinen Dialog (incl. TreeCtrl) erstellen.

Ein TreeCtrl kann ich schon auf einem dialog erstellen ohne den ResourcenPainter zu verwenden.

Jedoch habe ich es immernoch nicht geschafft einen Dialog ohne Resource Dynamisch zu erstellen.

Wie stellt man das am Besten an?

Weiß jemand evtl ein Beispielprojekt was einen Dialog (mit CDialog) ohne resourcen erstellt?

Ich habe schon bei Codeguru gesucht aber auch nichts entsprechendes gefunden .

Kann mir jemand helfen?

Ich würde also schon gerne eine klasse von CDialog ableiten. und Methoden wie WindowProc überschreiben um auf meine Events (des TreeCtrl) zu reagieren.

Viele Grüße

Stefan

Hallo SwordMaster.

Guck mal in meinen Thread rein: http://forum.fachinformatiker.de/c-compiler-ides-apis/112699-event-dynamisch-erzeugten-dialoges.html

Da hattest du mir auf meine Frage geantwortet. (danke dafür ^^)

In dem Thread steht mein Code wie ich einen Dialog Dynamisch in einer Win32-static library erzeuge. Meine Klasse "CTestClass" ist von "CDialog" abgeleitet. Den MFC header hab ich beim erstellen des Projektes vom Wizard einbinden lassen.

Wenn du noch Fragen hast dann schreib mir. :)

Gruß,

Yasin

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.