Hello Groups
---- See below for English text -------
---- DEUTSCH --------------------------
Ich sitze an einem Newsreader für PocketPCs. Ich möchte für die
Nachrichtenliste ein OwnerDraw-Element einsetzen (entweder Listview,
Treeview oder Listbox). Weil ich das in mehreren Dialogen brauche, würde
ich mir gern eine Klasse stricken, die das Zeichnen und Interaktionen (z.B.
Tippen auf einen Eintrag) behandeln. Der Rest soll dann vom Default handler
übernommen werden.
Ich kann im Netz immer nur Beispiele für MFC und Punktnet finden, aber ich
schreibe simples C++, das sich der WinAPI behilft. Deswegen hier meine
Frage nach Material diesbezüglich... Herangehensweisen (zum Bleistift, wie
ich es in die Nachrichtenschleife einbaue), Artikel im Netz, Codeschnipsel
ect.
Schonmal besten Dank im Voraus.
---- ENGLISH --------------------------
I'm working on a newsreader for PocketPCs. For the message list I want to
create an owner drawn listview to get the most out of the 240x268 pixel
client area. But because I'm gonna need that list it in a couple of the
app's dialogs, I thought about writing a class that wraps a
listview/treeview/listbox (haven't decided which of those yet) to take care
of the drawing and some user interaction (like tapping on an item). The
default handler should deal with the rest.
Because I can only find MFC- or .net-examples, whilst I write in plain C++
using the WinAPI, I'd like to ask you to give me a hint on how to manage
this problem.
Anything is apreciated - approaces (like how to integrate it into the
message loop), web resources, code samples ect.
Thanks in advance.
--
Gruß | Greetings | Qapla'
http://www.stud.tu-ilmenau.de/~frst-ii/