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.

Drucken in SDI Anwendung

Empfohlene Antworten

Ich habe eine SDI Anwendung gemacht.

An sich das das drucken ja dann ganz einfach. Funktioniert auch einwandfrei.

Doch nun habe ich einen Button der bestimmte sachen berechnet... und am schluß dieser OnClick Methode möchte ich, dass gleich die druckerauswahl kommt, wo mann dann drucken kann.

Ich weiß dass man das selber auch programmieren kann in dem man selber ein CPrintDialog objekt macht....

aber mir wärs lieber wenn ich nen click auf das MenüItem mit der ID

ID_FILE_PRINT

simulieren könnte...

Geht dass irgendwie? mit SendMessage vermultich aber ich finde die passenden parameter nicht :(.

hast das schon mal jemand gemacht?

wär super!

MFG SwordMaster

  • Autor

das gibts echt nicht...

da sucht man und sucht man, und kaum schreibt mans in ein Forum findet man die antwort selber

habs mit

GetParentFrame()->SendMessage(WM_COMMAND,MAKELONG(ID_FILE_PRINT, BN_CLICKED));

hinbekommen :)

Trotzdem danke!

Ciao SwordMaster

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.