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.

Empfohlene Antworten

Veröffentlicht

Hi,

also ich gestehe, dass ich

1. gerade erst mit Windows angefangen habe

2. lieber ressourcen bastle, als die Fenster direkt im C zu bauen

3. den Bloodshed - Compiler benutze, weil kostenlos

Nun zu meinem Problem.

Ich habe ein Listenfeld auf einem Dialogfenster

(CONROL "List", .., "StyleListView" ... LVS_REPORT..)

So weit so gut.

Nun ist eine Tabelle ohne Spalten ja irgendwie sinnlos.

also lege ich ein paar Spalten an..

ich fülle also eine Struktur vom Typ LV_COLUMN (Die Quelle ist ein array of char, der global mit den entsprechenden Werten gefüllt ist) und möchte sie dann mit folgendem in die ListView schreiben

(hLV ist das Handle der ListView,

iCol ist 0,

lvc ist die LC_COLUMN)

if (ListView_InsertColumn(hLV, iCol, &lvc) == -1) return FALSE;

Hier hab ich dann einen Ausnahmefehler (der Scheint direkt vom Kernel zu kommen.) Ich hab ein weißes Fenster mit zwei buttons "Schutzverletzung" und das Prog ist tot.

was mache ich falsch (kann dne Source leider nicht so rauspappen, weil er nicht auf diesem Rechner ist) ???

Habt ihr ne Idee, was da falsch läuft?

cYa

DjR

Also das Control ist ein LVS_REPORT und das Fensterhandle ist gültig (wurde mit GetDlgItem in der übergeordneten Funktion gesucht..

alle Werte von lvc sind gefüllt und mein Prog schmiert trotzdem ab :-(

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.