Click here to Skip to main content
16,006,531 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Passing a pointer to an array Pin
David Crow13-May-03 9:35
David Crow13-May-03 9:35 
GeneralRe: Passing a pointer to an array Pin
Renjith Ramachandran13-May-03 7:10
Renjith Ramachandran13-May-03 7:10 
GeneralPS or PDF display/print Pin
Bartosz Bien13-May-03 5:06
Bartosz Bien13-May-03 5:06 
GeneralRe: PS or PDF display/print Pin
imsniper13-May-03 23:38
imsniper13-May-03 23:38 
QuestionHow To Get Pointer to Main Menu in case of MDI Application Pin
Anonymous13-May-03 4:50
Anonymous13-May-03 4:50 
AnswerRe: How To Get Pointer to Main Menu in case of MDI Application Pin
Gary Kirkham13-May-03 7:23
Gary Kirkham13-May-03 7:23 
QuestionHow to get data from a password protected webpage Pin
NorbertBehrens13-May-03 4:45
NorbertBehrens13-May-03 4:45 
GeneralPut button in CListCtrl Pin
JensB13-May-03 4:14
JensB13-May-03 4:14 
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?

Hope someone knows how to get this done.
Just edited:
and i use VC5

Greetings
Jens
GeneralRe: Put button in CListCtrl Pin
basementman13-May-03 7:11
basementman13-May-03 7:11 
GeneralRe: Put button in CListCtrl Pin
Joan M13-May-03 21:52
professionalJoan M13-May-03 21:52 
GeneralCSpinButtonCtrl problem Pin
Trollslayer13-May-03 3:45
mentorTrollslayer13-May-03 3:45 
GeneralRe: CSpinButtonCtrl problem Pin
Rage13-May-03 4:07
professionalRage13-May-03 4:07 
GeneralOnly for the best ;o) Pin
MemLeak13-May-03 3:28
MemLeak13-May-03 3:28 
GeneralRe: Only for the best ;o) Pin
valikac13-May-03 8:41
valikac13-May-03 8:41 
GeneralRe: Only for the best ;o) Pin
MemLeak13-May-03 9:39
MemLeak13-May-03 9:39 
QuestionCan anyone help me please???? Pin
andreshs113-May-03 3:08
andreshs113-May-03 3:08 
GeneralMessages for dynamic created controls Pin
Frank Christensen13-May-03 3:00
Frank Christensen13-May-03 3:00 
GeneralRe: Messages for dynamic created controls Pin
Rage13-May-03 4:18
professionalRage13-May-03 4:18 
GeneralTrackPopupMenu(...) outside *this wnd. Pin
Michael Pauli13-May-03 2:49
Michael Pauli13-May-03 2:49 
GeneralRe: TrackPopupMenu(...) outside *this wnd. Pin
Miszou13-May-03 7:41
Miszou13-May-03 7:41 
GeneralRe: TrackPopupMenu(...) outside *this wnd. Pin
Michael Pauli13-May-03 12:21
Michael Pauli13-May-03 12:21 
GeneralDialog Pin
macmac3813-May-03 2:49
macmac3813-May-03 2:49 
GeneralRe: Dialog Pin
Martyn Pearson13-May-03 3:11
Martyn Pearson13-May-03 3:11 
GeneralRe: Dialog Pin
macmac3813-May-03 3:55
macmac3813-May-03 3:55 
GeneralRe: Dialog Pin
Martyn Pearson15-May-03 4:28
Martyn Pearson15-May-03 4:28 

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.