Click here to Skip to main content
15,918,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Writing help Pin
imsniper13-May-03 23:09
imsniper13-May-03 23:09 
GeneralRe: Writing help Pin
lob14-May-03 3:31
lob14-May-03 3:31 
GeneralStoring data in a file with seperators Pin
Quakey13-May-03 22:19
Quakey13-May-03 22:19 
GeneralRe: Storing data in a file with seperators Pin
Neville Franks13-May-03 23:05
Neville Franks13-May-03 23:05 
GeneralRe: Storing data in a file with seperators Pin
jhaga14-May-03 2:09
professionaljhaga14-May-03 2:09 
GeneralRe: Storing data in a file with seperators Pin
David Crow14-May-03 3:25
David Crow14-May-03 3:25 
GeneralRe: Storing data in a file with seperators Pin
lob14-May-03 3:58
lob14-May-03 3:58 
Generalowner draw listview control Pin
JensB13-May-03 22:17
JensB13-May-03 22:17 
Hi
I've made a clistctrl + subclassed it to add more functions.
My list-view looks like this:
Employee Nr Name Age School
1 MyStupidName 15 SKL(BUTTON)
..

All fields are not editable + added some extended styles (gridlines, full row select).
If you click on the button, a dialog should appear with another listcontrol displaying all schools. After selecting a school + pressing ok, the name of the school should appear before the button.
The form is already made with all schools in the list, and when you press ok, it returns the name of the school. So that part is ok.

But how do i insert such a button into a listcontrol at the correct place of every line?
I think i have to owner-draw it, i checked a few examples at codeproject & codeguru but none seemed handling this problem.

Hope someone knows how to get this done.


and btw, i use VC5 for 'developping' Wink | ;)

Greetings
JensB
GeneralScheduling Program Pin
TPN13-May-03 21:55
TPN13-May-03 21:55 
GeneralRe: Scheduling Program Pin
David Crow14-May-03 3:27
David Crow14-May-03 3:27 
GeneralRe: Scheduling Program Pin
Neville Franks14-May-03 11:16
Neville Franks14-May-03 11:16 
GeneralRe: Scheduling Program Pin
TPN14-May-03 16:41
TPN14-May-03 16:41 
GeneralRe: Scheduling Program Pin
Neville Franks14-May-03 16:46
Neville Franks14-May-03 16:46 
GeneralRe: Scheduling Program Pin
TPN14-May-03 17:00
TPN14-May-03 17:00 
GeneralRe: Scheduling Program Pin
Neville Franks14-May-03 18:35
Neville Franks14-May-03 18:35 
GeneralRe: Scheduling Program Pin
Renjith Ramachandran15-May-03 6:57
Renjith Ramachandran15-May-03 6:57 
GeneralRe: Scheduling Program Pin
TPN16-May-03 17:37
TPN16-May-03 17:37 
QuestionPhotoshop plugin??? Pin
Alex Kremer13-May-03 21:50
Alex Kremer13-May-03 21:50 
GeneralDialog app and OnKeyDown() Pin
Steve Messer13-May-03 21:06
Steve Messer13-May-03 21:06 
GeneralRe: Dialog app and onkeydown() Pin
Neville Franks13-May-03 23:18
Neville Franks13-May-03 23:18 
QuestionCheck if file existe, get temporary file name? Pin
TPN13-May-03 20:44
TPN13-May-03 20:44 
AnswerRe: Check if file existe, get temporary file name? Pin
Hari Krishnan (Noida)13-May-03 20:57
Hari Krishnan (Noida)13-May-03 20:57 
GeneralRe: Check if file existe, get temporary file name? Pin
TPN13-May-03 21:08
TPN13-May-03 21:08 
AnswerRe: Check if file existe, get temporary file name? Pin
MAAK13-May-03 21:08
MAAK13-May-03 21:08 
GeneralRe: Check if file existe, get temporary file name? Pin
TPN13-May-03 21:13
TPN13-May-03 21:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.