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.

Problem mit GetOpenFileName(...)

Empfohlene Antworten

hallo,

ich habe folgenden Code


OPENFILENAME ofn;
char szFile[MAX_PATH];

ZeroMemory(&ofn, sizeof(OPENFILENAME));
ofn.lStructSize = sizeof(OPENFILENAME);
ofn.hwndOwner = hWndParent;
ofn.lpstrFile = szFile;
ofn.nMaxFile = sizeof(szFile);
ofn.lpstrFilter = "Alle Dateien\0*.*\0"
"Joint Photographic Experts Group (JPEG)\0*.JPG;*.JPEG\0"
"Graphics Interchange Format (GIF)\0*.GIF;*.GIFF\0"
"Portable Network Graphics (PNG)\0*.PNG\0"
"Tag Image File Format (TIFF)\0*.TIFF;*.TIF\0";
ofn.nFilterIndex = 1;
ofn.lpstrFileTitle = NULL;
ofn.nMaxFileTitle = 0;
ofn.lpstrInitialDir = NULL;
ofn.Flags = OFN_PATHMUSTEXIST | OFN_FILEMUSTEXIST | OFN_EXPLORER;

if (GetOpenFileName(&ofn) == TRUE)
SendMessage(hWndParent, WM_OPENFILE, 0, (long)ofn.lpstrFile);
[/PHP]

Problem ist, das der Dialog nicht angezeigt wird. Frage: WARUM ??? Habe ich was vergessen ???

:( gemein das der ganze ****** wegen so einer kleinen kleinigkeit nicht läuft. jetzt klappt es aber. besten dank.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.