Small Challenge for all you experts
-
How to intercept a WM_LBUTTONDOWN on the drop-down list of a combo box? Without using sucky MFC. Bikram Singh
-
How to intercept a WM_LBUTTONDOWN on the drop-down list of a combo box? Without using sucky MFC. Bikram Singh
-
How to intercept a WM_LBUTTONDOWN on the drop-down list of a combo box? Without using sucky MFC. Bikram Singh
would have loved to answer, but i dont care to experiment with SDK-programming. SDK-programming sucks big time. Stop using it dude! Give MFC a try, and you'll never come back to SDK-programming for any of your UI-related tasks. Infact, the only reason SDK is good is: none... Thats it. From a professional programmers perspective. *laughter*
-
How to intercept a WM_LBUTTONDOWN on the drop-down list of a combo box? Without using sucky MFC. Bikram Singh
Will handling
CBN_DROPDOWN
help? /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com -
Will handling
CBN_DROPDOWN
help? /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.comYes, that would be the starting point I know, but i am unable to capture any mouse-events on the drop-down listbox itself... Bikram Singh
-
would have loved to answer, but i dont care to experiment with SDK-programming. SDK-programming sucks big time. Stop using it dude! Give MFC a try, and you'll never come back to SDK-programming for any of your UI-related tasks. Infact, the only reason SDK is good is: none... Thats it. From a professional programmers perspective. *laughter*
Good for you. I dont use SDK programming except for "lower-level" tasks such as this. I assure you, if you use C++ Builder once, you would probably know why I think MFC sucks. Bikram Singh
-
ah ah ah, there you need help. hem, let me see, yess, this is easy. oh s**t, you don't want to ear about "sucky MFC"... too bad for you... :zzz::zzz::zzz:
TOXCCT >>> GEII power
ha ha ! Bikram Singh
-
Good for you. I dont use SDK programming except for "lower-level" tasks such as this. I assure you, if you use C++ Builder once, you would probably know why I think MFC sucks. Bikram Singh
Well, you said "without using MFC". Do you think this is a C++ Builder forum? Now, as you don't seem very experienced, let me explain a few things: MFC is a framework. You can use MFC with MSCVC++, but also CodeWarrior and the old Borland C++. C++ Builder is a development environment. I don't know the name of the current underlying framework - in the pre-Builder days, it was OWL. VCL, perhaps? Comparing the development environments, C++ Builder (which I have not used) was loosely built on Delphi, (which I have used). Delphi is a RAD-tool, and if you have difficulties with other development tools, you might want to stay with C++ Builder, and ask questions in appropriate foras. I'm sure that there are newsgroups targetted specifically to C++ Builder. But of course, you are what is commonly called a troll, which I am - sad to say - currently feeding. To summarize, my suggestion is that you either get a life, or haunt foras where you will actually get some answers. I have used more development environment than you can comfortably shake a stick at, so I think I'll leave your puerile suggestion where it belongs :laugh:
-
Well, you said "without using MFC". Do you think this is a C++ Builder forum? Now, as you don't seem very experienced, let me explain a few things: MFC is a framework. You can use MFC with MSCVC++, but also CodeWarrior and the old Borland C++. C++ Builder is a development environment. I don't know the name of the current underlying framework - in the pre-Builder days, it was OWL. VCL, perhaps? Comparing the development environments, C++ Builder (which I have not used) was loosely built on Delphi, (which I have used). Delphi is a RAD-tool, and if you have difficulties with other development tools, you might want to stay with C++ Builder, and ask questions in appropriate foras. I'm sure that there are newsgroups targetted specifically to C++ Builder. But of course, you are what is commonly called a troll, which I am - sad to say - currently feeding. To summarize, my suggestion is that you either get a life, or haunt foras where you will actually get some answers. I have used more development environment than you can comfortably shake a stick at, so I think I'll leave your puerile suggestion where it belongs :laugh:
Johan Rosengren wrote: Do you think this is a C++ Builder forum? Does the board say "Visual C++" or does it say "MFC"? Or cant you read? Johan Rosengren wrote: But of course, you are what is commonly called a troll, which I am - sad to say - currently feeding. I guess you get your kicks out of abusing people. You obvisouly have a rigid mindset. I said "sucky MFC" not "sucky Mr. X so-and-so". You need to grow up. And finally, Stop Flaming. Stick with the program. Bikram Singh
-
Johan Rosengren wrote: Do you think this is a C++ Builder forum? Does the board say "Visual C++" or does it say "MFC"? Or cant you read? Johan Rosengren wrote: But of course, you are what is commonly called a troll, which I am - sad to say - currently feeding. I guess you get your kicks out of abusing people. You obvisouly have a rigid mindset. I said "sucky MFC" not "sucky Mr. X so-and-so". You need to grow up. And finally, Stop Flaming. Stick with the program. Bikram Singh
bikram singh wrote: Does the board say "Visual C++" or does it say "MFC"? Or cant you read? I explained the difference between MFC and C++ Builder - which you seem to have gotten mixed up. bikram singh wrote: I guess you get your kicks out of abusing people. Where did I abuse you? bikram singh wrote: You need to grow up. And finally, Stop Flaming. Stick with the program. I'll leave this speaking for itself :cool:
-
Yes, that would be the starting point I know, but i am unable to capture any mouse-events on the drop-down listbox itself... Bikram Singh
Would
CBN_SELCHANGE
help? That notifies you when the active selection in the dropdown list changes. You get another notification (CBN_SELENDOK
orCBN_SELENDCANCEL
, depending on whether the user made a selection or pressed Esc) when the listbox closes. /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com -
Would
CBN_SELCHANGE
help? That notifies you when the active selection in the dropdown list changes. You get another notification (CBN_SELENDOK
orCBN_SELENDCANCEL
, depending on whether the user made a selection or pressed Esc) when the listbox closes. /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.comThat doesnt work either :( The only notification I'm getting on the dropped-down listbox is WM_CTLCOLORLISTBOX, which I get each time I do a mouse-over on an item. Nothing else! I can "capture" a right-click on an item, using GetKeyState(VK_RBUTTON), but that only works bcos I change the item-selection while keeping the R button pressed, which causes a WM_CTLCOLORLISTBOX message , in which I call GetKeyState() as above. But this isnt a solution for me! :( :( Spy++ shows no messages except WM_CTLCOLORLISTBOX :( :( :( :( And thank you for helping out ! Bikram Singh
-
That doesnt work either :( The only notification I'm getting on the dropped-down listbox is WM_CTLCOLORLISTBOX, which I get each time I do a mouse-over on an item. Nothing else! I can "capture" a right-click on an item, using GetKeyState(VK_RBUTTON), but that only works bcos I change the item-selection while keeping the R button pressed, which causes a WM_CTLCOLORLISTBOX message , in which I call GetKeyState() as above. But this isnt a solution for me! :( :( Spy++ shows no messages except WM_CTLCOLORLISTBOX :( :( :( :( And thank you for helping out ! Bikram Singh
Ultimately, I had to subclass the combobox' listbox. Was wanting to avoid doing it though. But well, if you cant fight em join em i guess! Bikram Singh