Click here to Skip to main content
15,897,891 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: flex.exe Pin
murali_utr1-Jan-04 20:57
murali_utr1-Jan-04 20:57 
Generalproblem in windows programming...please help Pin
sam_mou1-Jan-04 20:12
sam_mou1-Jan-04 20:12 
GeneralRe: problem in windows programming...please help Pin
Marek Grzenkowicz1-Jan-04 21:03
Marek Grzenkowicz1-Jan-04 21:03 
Generalselection of .lib as per the client Pin
utkarsharma1-Jan-04 18:31
utkarsharma1-Jan-04 18:31 
GeneralGetting two listboxes to track quicker Pin
shultas1-Jan-04 16:58
shultas1-Jan-04 16:58 
GeneralRe: Getting two listboxes to track quicker Pin
Gary R. Wheeler2-Jan-04 4:18
Gary R. Wheeler2-Jan-04 4:18 
GeneralRe: Getting two listboxes to track quicker Pin
shultas2-Jan-04 11:01
shultas2-Jan-04 11:01 
GeneralRe: Getting two listboxes to track quicker Pin
Gary R. Wheeler2-Jan-04 13:56
Gary R. Wheeler2-Jan-04 13:56 
shultas wrote:
Is there any way that I can make the listbox "onchange" happen on the press of the mouse button instead of the release?

Yes. Try handling the NM_CLICK notification sent by the list box.

You will have to do a little work to figure out which item has been clicked on, since the NM_CLICK notification does not identify the item within the list box that was clicked. You should be able to get the position of the mouse cursor within the list box and compute the item based upon the size of the items in the box and the number of the topmost visible item.


Software Zen: delete this;
Generalcolon operation Pin
FlyingDancer1-Jan-04 16:31
FlyingDancer1-Jan-04 16:31 
GeneralRe: colon operation Pin
Ted Ferenc1-Jan-04 21:57
Ted Ferenc1-Jan-04 21:57 
GeneralRe: colon operation Pin
FlyingDancer2-Jan-04 0:22
FlyingDancer2-Jan-04 0:22 
GeneralRe: colon operation Pin
Ted Ferenc2-Jan-04 0:32
Ted Ferenc2-Jan-04 0:32 
GeneralRe: colon operation Pin
FlyingDancer2-Jan-04 1:28
FlyingDancer2-Jan-04 1:28 
GeneralRe: colon operation Pin
FlyingDancer2-Jan-04 2:22
FlyingDancer2-Jan-04 2:22 
GeneralRe: colon operation Pin
Ted Ferenc2-Jan-04 2:53
Ted Ferenc2-Jan-04 2:53 
GeneralRe: colon operation Pin
FlyingDancer2-Jan-04 16:48
FlyingDancer2-Jan-04 16:48 
GeneralRe: colon operation Pin
Prakash Nadar1-Jan-04 22:14
Prakash Nadar1-Jan-04 22:14 
GeneralRe: colon operation Pin
FlyingDancer2-Jan-04 2:17
FlyingDancer2-Jan-04 2:17 
GeneralRe: colon operation Pin
Jörgen Sigvardsson2-Jan-04 8:45
Jörgen Sigvardsson2-Jan-04 8:45 
GeneralRe: colon operation Pin
Roger Wright2-Jan-04 12:44
professionalRoger Wright2-Jan-04 12:44 
GeneralRe: colon operation Pin
Jörgen Sigvardsson2-Jan-04 12:47
Jörgen Sigvardsson2-Jan-04 12:47 
GeneralZModem Pin
Nandiator1-Jan-04 15:45
Nandiator1-Jan-04 15:45 
GeneralRe: ZModem Pin
Gary R. Wheeler2-Jan-04 14:22
Gary R. Wheeler2-Jan-04 14:22 
QuestiondcPrint???? Pin
JKohm1-Jan-04 15:22
JKohm1-Jan-04 15:22 
AnswerRe: dcPrint???? Pin
dan o2-Jan-04 5:14
dan o2-Jan-04 5:14 

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.