Notification-Message ?
-
Hallo
Ich hab mir von CodeProject eine Grid-Klasse geholt (http://www.codeproject.net/miscctrl/virtgrid.asp).
Da steht folgendes dabei:
*Whoa! But they are empty! Non-fixed cells I mean. Don't worry, just use VGN_GETDISPINFO notification message. This allows you to to set cell text, cell text color, cell background color and cell image... the same way it implemented in standard CListCtrl (in virtual mode).
*Wie ist das gemeint ?
Was muss ich machen ?
Ich krieg da nämlich keinen Text rein.
Danke

-
du musst VBN_GETDISPINFO an dein Control schicken um Text, Icons usw zu setzen. Die Nachricht funktioniert genauso wie LBN_GETDISPINFO
NMLVDISPINFO Nvdi; //Struktur füllen //... ::SendMessage(hControl,VBN_GETDISPINFO,0,(LPARAM)&Nvdi);ungefähr so, denke ich mal.
-
Hab's geschafft, danke
