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

C / C++ / MFC

 
QuestionShowing virtual list/CListCtrl for CMyComboBox ? How to pass LVN_GETDISPINFO to form view ? Pin
anand_study4-Dec-06 20:13
anand_study4-Dec-06 20:13 
AnswerRe: Showing virtual list/CListCtrl for CMyComboBox ? How to pass LVN_GETDISPINFO to form view ? Pin
Naveen4-Dec-06 21:01
Naveen4-Dec-06 21:01 
GeneralUnable to pass-on LVS_GETDISPINFO - please help...(Urgent) Pin
anand_study6-Dec-06 17:04
anand_study6-Dec-06 17:04 
GeneralRe: Unable to pass-on LVS_GETDISPINFO - please help...(Urgent) Pin
Naveen6-Dec-06 20:31
Naveen6-Dec-06 20:31 
GeneralRe: Unable to pass-on LVS_GETDISPINFO - please help...(Urgent) Pin
anand_study7-Dec-06 3:25
anand_study7-Dec-06 3:25 
GeneralRe: Unable to pass-on LVS_GETDISPINFO - please help...(Urgent) Pin
Naveen7-Dec-06 16:21
Naveen7-Dec-06 16:21 
GeneralRe: Unable to pass-on LVS_GETDISPINFO - please help...(Urgent) Pin
Naveen7-Dec-06 19:40
Naveen7-Dec-06 19:40 
GeneralRe: Got LVS_GETDISPINFO...with id of ListCtrl Pin
anand_study8-Dec-06 1:35
anand_study8-Dec-06 1:35 
Thanks Naveen for taking me into right direction.

I did forget to set count for list with SetItemCountEx()
I did it and now I am able to show 100000+ items in the virtual list of CMultiColumnComboBox.

Thanks a lot for helping me.

One Question..?

I have custom control IDC_CUSTOM1 in dialog resource of my view.
I have subclassed IDC_CUSTOM1 to CMultiColumnComboBox

In my project value for IDC_CUSTOM1 is 1005
In MultiColumnComboBox.h value for IDLISTCTRL is 0x3E8 (i.e. 1000)

View gets LVN_GETDISPINFO message directly from IDLISTCTRL
(i.e. with control-id == IDLISTCTRL)

But I need LVN_GETDISPINFO with id of custom control IDC_CUSTOM1
(i.e. with control-id == IDC_CUSTOM1)

How to modify CMultiColumnComboBox::ParentWndProc or MultiColumnComboBox::ListCtrlWndProc so that I get LVN_GETDISPINFO with ID of parent custom control and not of ListCtrl ?

So I can distinguish LVN_GETDISPINFO message in case of multiple combos. Because I need to use multiple combos IDC_CUSTOM1 , IDC_CUSTOM2, IDC_CUSTOM3 etc. and each of them in virtual mode.

Thank You.
Anand
GeneralRe: Got LVS_GETDISPINFO...with id of ListCtrl Pin
Naveen8-Dec-06 1:55
Naveen8-Dec-06 1:55 
GeneralRe: Got LVS_GETDISPINFO...with id of ListCtrl Pin
anand_study8-Dec-06 3:32
anand_study8-Dec-06 3:32 
GeneralRe: Got LVS_GETDISPINFO...with id of ListCtrl Pin
Naveen10-Dec-06 16:18
Naveen10-Dec-06 16:18 
GeneralRe: Got LVS_GETDISPINFO...with id of ListCtrl Pin
anand_study11-Dec-06 1:57
anand_study11-Dec-06 1:57 
GeneralRe: Got LVS_GETDISPINFO...with id of ListCtrl Pin
Naveen11-Dec-06 2:07
Naveen11-Dec-06 2:07 
GeneralRe: Got LVS_GETDISPINFO...with id of ListCtrl Pin
anand_study11-Dec-06 2:19
anand_study11-Dec-06 2:19 
QuestionHtmlHelp not working Pin
Ramu.e4-Dec-06 18:43
Ramu.e4-Dec-06 18:43 
AnswerRe: HtmlHelp not working Pin
S Douglas4-Dec-06 19:47
professionalS Douglas4-Dec-06 19:47 
AnswerRe: HtmlHelp not working Pin
KarstenK4-Dec-06 23:32
mveKarstenK4-Dec-06 23:32 
QuestionPost method fails when Kerberos Authentication is enabled Pin
_AnsHUMAN_ 4-Dec-06 17:58
_AnsHUMAN_ 4-Dec-06 17:58 
QuestionQuestion about finding harddisk partitions ? Pin
Sakthiu4-Dec-06 17:20
Sakthiu4-Dec-06 17:20 
AnswerRe: Question about finding harddisk partitions ? Pin
Nibu babu thomas4-Dec-06 17:30
Nibu babu thomas4-Dec-06 17:30 
AnswerRe: Question about finding harddisk partitions ? Pin
ThatsAlok4-Dec-06 23:53
ThatsAlok4-Dec-06 23:53 
Questionmemory & handle increase problem IXMLDOMDocument::load() Pin
neerajkchauhan4-Dec-06 17:19
neerajkchauhan4-Dec-06 17:19 
AnswerRe: memory & handle increase problem IXMLDOMDocument::load() Pin
KarstenK4-Dec-06 23:34
mveKarstenK4-Dec-06 23:34 
Questionmultiple monitor coordinates Pin
Jeremy Falcon4-Dec-06 16:32
professionalJeremy Falcon4-Dec-06 16:32 
AnswerRe: multiple monitor coordinates Pin
Mark Salsbery4-Dec-06 17:21
Mark Salsbery4-Dec-06 17:21 

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.