Click here to Skip to main content
15,911,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: [win32]ListView doesn't generate VK_RETURN Pin
Ryan Binns29-Jun-03 23:31
Ryan Binns29-Jun-03 23:31 
GeneralRe: [win32]ListView doesn't generate VK_RETURN Pin
Melekor30-Jun-03 7:08
Melekor30-Jun-03 7:08 
GeneralRe: [win32]ListView doesn't generate VK_RETURN Pin
Ryan Binns30-Jun-03 14:44
Ryan Binns30-Jun-03 14:44 
GeneralRe: [win32]ListView doesn't generate VK_RETURN Pin
JT Anderson1-Jul-03 12:20
JT Anderson1-Jul-03 12:20 
GeneralRe: [win32]ListView doesn't generate VK_RETURN Pin
Melekor1-Jul-03 13:06
Melekor1-Jul-03 13:06 
GeneralRe: [win32]ListView doesn't generate VK_RETURN Pin
JT Anderson1-Jul-03 13:41
JT Anderson1-Jul-03 13:41 
GeneralRe: [win32]ListView doesn't generate VK_RETURN Pin
Melekor2-Jul-03 8:06
Melekor2-Jul-03 8:06 
GeneralRe: [win32]ListView doesn't generate VK_RETURN Pin
JT Anderson2-Jul-03 8:19
JT Anderson2-Jul-03 8:19 
Well, you may not be able to use the code, but you can still use the concept. You can subclass (in the Windows sense, not the C++ sense) the ListView control and handle the WM_GETDLGCODE message.

There may be more (seemingly) expedient ways to work around your problem, such as peeking the message loop or playing games with the default button, but I don't know of any ways more correct than handling WM_GETDLGCODE as I suggested.


--------
There are 10 types of people in this world. Those who know binary and those who don't.
Generalusing StgOopenStorageEx.. to know type of the file Pin
pnpfriend29-Jun-03 11:08
pnpfriend29-Jun-03 11:08 
GeneralRe: using StgOopenStorageEx.. to know type of the file Pin
pnpfriend1-Jul-03 5:23
pnpfriend1-Jul-03 5:23 
GeneralDelete user EventLog file Pin
cmk29-Jun-03 10:50
cmk29-Jun-03 10:50 
GeneralCString problem Pin
Sunnygirl29-Jun-03 8:36
Sunnygirl29-Jun-03 8:36 
GeneralRe: CString problem Pin
Ravi Bhavnani29-Jun-03 8:40
professionalRavi Bhavnani29-Jun-03 8:40 
GeneralRe: CString problem Pin
Sunnygirl29-Jun-03 9:00
Sunnygirl29-Jun-03 9:00 
GeneralRe: CString problem Pin
Chris Losinger29-Jun-03 8:40
professionalChris Losinger29-Jun-03 8:40 
GeneralRe: CString problem Pin
Sunnygirl29-Jun-03 9:01
Sunnygirl29-Jun-03 9:01 
GeneralRe: CString problem Pin
FlyingDancer29-Jun-03 18:53
FlyingDancer29-Jun-03 18:53 
GeneralRe: CString problem Pin
FlyingDancer29-Jun-03 19:06
FlyingDancer29-Jun-03 19:06 
GeneralRe: CString problem Pin
Michael Dunn29-Jun-03 19:41
sitebuilderMichael Dunn29-Jun-03 19:41 
GeneralRe: CString problem Pin
FlyingDancer30-Jun-03 3:43
FlyingDancer30-Jun-03 3:43 
GeneralA general solution Pin
Trollslayer30-Jun-03 1:45
mentorTrollslayer30-Jun-03 1:45 
GeneralProblem using Flat Scroll Bars Pin
miguel.lopes@lsi.pt29-Jun-03 7:03
sussmiguel.lopes@lsi.pt29-Jun-03 7:03 
GeneralRepeating socket connection Pin
Anonymous29-Jun-03 3:20
Anonymous29-Jun-03 3:20 
GeneralRe: Repeating socket connection Pin
valikac29-Jun-03 6:24
valikac29-Jun-03 6:24 
GeneralComparing BOOL values Pin
Abin29-Jun-03 2:54
Abin29-Jun-03 2:54 

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.