Changeset 33 for trunk/MFCtooling
- Timestamp:
- 04/29/11 15:32:25 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MFCtooling/userlog/userlog.cpp
r32 r33 490 490 pos += swprintf_s(msgBuffer+pos,bufsize-pos,L"<param name=\"point.x\" value=\"%i\"/>", msg->pt.y); 491 491 } 492 493 if(msg->message == WM_LBUTTONUP) 494 { 495 //check the listBox selection, store it in "scrollPos" 496 //no selection = -1 497 retVal = GetClassName(msg->hwnd, buffer, 128); 498 if( retVal >= -1 && retVal < MAXINT && !lstrcmpi(buffer, L"ListBox") ) 499 { 500 scrollPos = (int)SendMessage(msg->hwnd, LB_GETCURSEL, 0, 0); 501 pos += swprintf_s(msgBuffer+pos,bufsize-pos,L"<param name=\"scrollPos\" value=\"%i\"/>", scrollPos); 502 } 503 } 492 504 } 493 505 if( msg->message==WM_MOUSEACTIVATE ) {
Note: See TracChangeset
for help on using the changeset viewer.