News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Setfont in listview

Started by starzboy, December 24, 2008, 10:49:23 AM

Previous topic - Next topic

starzboy

Hello people,
I require your help once again.
I have a listview and it has many columns and rows in it, and they have data filled in it.
Now i want to change the font of a specific row and in a specific column, how can i do that.
With WM_SETFONT, i change font of the whole listview, but i want to chnage font of only the selection.
Please help

Damos

Think you're going to need to OWNER_DRAW to do that.
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction. - Albert Einstien

donkey

Owner draw is a bit of overkill for simply setting the font for individual cells, easier to just use the custom draw notifications, I have an example of a list view custom draw application on my website.
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable