Click here to Skip to main content
15,921,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Max array size? Pin
leppie3-Jul-03 17:37
leppie3-Jul-03 17:37 
GeneralRe: Max array size? Pin
John M. Drescher3-Jul-03 17:47
John M. Drescher3-Jul-03 17:47 
GeneralRe: Max array size? Pin
leppie3-Jul-03 18:03
leppie3-Jul-03 18:03 
GeneralRe: Max array size? Pin
John M. Drescher3-Jul-03 18:21
John M. Drescher3-Jul-03 18:21 
GeneralRe: Max array size? Pin
leppie3-Jul-03 18:27
leppie3-Jul-03 18:27 
AnswerRe: Max array size? Pin
Ryan Binns3-Jul-03 19:05
Ryan Binns3-Jul-03 19:05 
GeneralCListCtrl - lost sel on postmsg DBLCLK Pin
kyndestad3-Jul-03 17:09
kyndestad3-Jul-03 17:09 
GeneralRe: CListCtrl - lost sel on postmsg DBLCLK Pin
Ryan Binns3-Jul-03 17:15
Ryan Binns3-Jul-03 17:15 
Sending a WM_LBUTTONDBLCLK like that won't do anything. This is because you haven't specified the position where the mouse is double clicked (look at the documentation for the WM_LBUTTONDBLCLK message). It appears to work for a list box, because a list box never removes the selection. If a click doesn't hit anything, it doesn't change the selection. However, for a list-view control, if a click doesn't hit anything, then the selection is removed, hence GetNextItem(-1,LVNI_SELECTED) returns -1.

Hope this helps,



Ryan

Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)

Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

GeneralRe: CListCtrl - lost sel on postmsg DBLCLK Pin
kyndestad7-Jul-03 5:11
kyndestad7-Jul-03 5:11 
GeneralRe: CListCtrl - lost sel on postmsg DBLCLK Pin
Ryan Binns7-Jul-03 5:16
Ryan Binns7-Jul-03 5:16 
GeneralOffice Add-in Pin
Andrew Walker3-Jul-03 16:46
Andrew Walker3-Jul-03 16:46 
GeneralRe: Office Add-in Pin
Andrew Walker3-Jul-03 20:24
Andrew Walker3-Jul-03 20:24 
GeneralAdo Pin
Anthony98873-Jul-03 16:36
Anthony98873-Jul-03 16:36 
GeneralADO Pin
Anonymous3-Jul-03 16:34
Anonymous3-Jul-03 16:34 
GeneralRun in release mode Pin
Gagnon Claude3-Jul-03 16:34
Gagnon Claude3-Jul-03 16:34 
GeneralRe: Run in release mode Pin
John M. Drescher3-Jul-03 16:58
John M. Drescher3-Jul-03 16:58 
GeneralVersion Number Pin
Gagnon Claude3-Jul-03 16:28
Gagnon Claude3-Jul-03 16:28 
GeneralRe: Version Number Pin
Ryan Binns3-Jul-03 17:12
Ryan Binns3-Jul-03 17:12 
GeneralMultiple Doc Templates Pin
flip3-Jul-03 15:30
flip3-Jul-03 15:30 
GeneralRe: Multiple Doc Templates Pin
Ryan Binns3-Jul-03 15:50
Ryan Binns3-Jul-03 15:50 
GeneralRe: Multiple Doc Templates Pin
flip3-Jul-03 16:36
flip3-Jul-03 16:36 
GeneralRe: Multiple Doc Templates Pin
Ryan Binns3-Jul-03 16:40
Ryan Binns3-Jul-03 16:40 
GeneralWindows shell programming - Systray Pin
haritadala3-Jul-03 14:09
haritadala3-Jul-03 14:09 
GeneralRe: Windows shell programming - Systray Pin
Michael Dunn3-Jul-03 15:18
sitebuilderMichael Dunn3-Jul-03 15:18 
GeneralRe: Windows shell programming - Systray Pin
Ryan Binns3-Jul-03 15:19
Ryan Binns3-Jul-03 15:19 

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.