Click here to Skip to main content
16,005,697 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListBox scrollbar problem Pin
Ravi Bhavnani9-Aug-02 10:59
professionalRavi Bhavnani9-Aug-02 10:59 
GeneralRe: CListBox scrollbar problem Pin
Mushtaque Nizamani8-Aug-07 20:52
Mushtaque Nizamani8-Aug-07 20:52 
GeneralListbox drag and drop Pin
danag9-Aug-02 4:59
danag9-Aug-02 4:59 
GeneralRe: Listbox drag and drop Pin
Atlantys9-Aug-02 15:03
Atlantys9-Aug-02 15:03 
Questionhow to but newline character using instance of CString Pin
Birdy9-Aug-02 4:32
Birdy9-Aug-02 4:32 
AnswerRe: how to but newline character using instance of CString Pin
dazinith9-Aug-02 4:38
dazinith9-Aug-02 4:38 
AnswerRe: how to but newline character using instance of CString Pin
RuiSantiago9-Aug-02 4:45
RuiSantiago9-Aug-02 4:45 
GeneralNeed HELP on ListControl Header Column Pin
Anonymous9-Aug-02 4:25
Anonymous9-Aug-02 4:25 
Hi,

I am using Visual C++ 6.0, in my project I create a ListControl which has 3 Header columns as Column1, Column2,Column3 (very simple).

When program is running, I would like to detect which "Header" Column that the user is selecting (Column1, 2 or 3) to proceed one particular function for that column

For now I am using Event: OnColumnclick() and success to know the user click on Header Columns ... but I still do not know which Column?

Can someone help me on this?

Note: Please remember detect mouse position is not help in this case, because user can adjust the column width on run time and it is difficult to calculate update range on Run Time. Imagine there are more columns & some out of the screen, then the user move Horzontal scroll bar to see the last 10 then selecting one ...!

I appreciate any one can help in this case.

Anh Truong
GeneralRe: Need HELP on ListControl Header Column Pin
Tomasz Sowinski9-Aug-02 4:40
Tomasz Sowinski9-Aug-02 4:40 
GeneralRe: Need HELP on ListControl Header Column Pin
Anonymous9-Aug-02 8:24
Anonymous9-Aug-02 8:24 
GeneralRe: Need HELP on ListControl Header Column Pin
dazinith9-Aug-02 4:44
dazinith9-Aug-02 4:44 
GeneralRe: It is working! Thanks Pin
ATC9-Aug-02 6:29
ATC9-Aug-02 6:29 
GeneralDataBase variables Pin
RuiSantiago9-Aug-02 4:15
RuiSantiago9-Aug-02 4:15 
GeneralRe: DataBase variables Pin
nlecren9-Aug-02 5:32
nlecren9-Aug-02 5:32 
GeneralRe: DataBase variables Pin
RuiSantiago9-Aug-02 5:35
RuiSantiago9-Aug-02 5:35 
GeneralWindows and Programs Pin
Slayders9-Aug-02 4:07
Slayders9-Aug-02 4:07 
GeneralRe: Windows and Programs Pin
David Viggiano9-Aug-02 4:17
David Viggiano9-Aug-02 4:17 
GeneralRe: Windows and Programs Pin
Slayders9-Aug-02 4:27
Slayders9-Aug-02 4:27 
GeneralRe: Windows and Programs Pin
David Viggiano9-Aug-02 4:35
David Viggiano9-Aug-02 4:35 
GeneralRe: Windows and Programs Pin
Slayders9-Aug-02 5:16
Slayders9-Aug-02 5:16 
GeneralRe: Windows and Programs Pin
David Viggiano9-Aug-02 5:28
David Viggiano9-Aug-02 5:28 
GeneralRe: Windows and Programs Pin
Slayders9-Aug-02 5:38
Slayders9-Aug-02 5:38 
GeneralRe: Windows and Programs Pin
David Viggiano9-Aug-02 5:50
David Viggiano9-Aug-02 5:50 
GeneralRe: Windows and Programs Pin
Slayders9-Aug-02 6:03
Slayders9-Aug-02 6:03 
GeneralRe: Windows and Programs Pin
Slayders27-Aug-02 23:57
Slayders27-Aug-02 23:57 

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.