Changeset 39


Ignore:
Timestamp:
05/12/11 14:33:00 (13 years ago)
Author:
jhall
Message:

Extended WM_LBUTTONUP for tab handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MFCtooling/userlog/userlog.cpp

    r34 r39  
    502502                                pos += swprintf_s(msgBuffer+pos,bufsize-pos,L"<param name=\"scrollPos\" value=\"%i\"/>", scrollPos); 
    503503                        } 
     504 
     505 
     506                        //check the TabControl selection, store it in "scrollPos" 
     507                        //no selection = -1 
     508                        retVal = GetClassName(msg->hwnd, buffer, 128); 
     509                        if( retVal >= -1  && retVal < MAXINT && !lstrcmpi(buffer, L"SysTabControl32") ) 
     510                        { 
     511                                scrollPos = (int)SendMessage(msg->hwnd, (UINT)4875, 0, 0); 
     512                                pos += swprintf_s(msgBuffer+pos,bufsize-pos,L"<param name=\"scrollPos\" value=\"%i\"/>", scrollPos); 
     513                        } 
    504514                } 
    505515        } 
Note: See TracChangeset for help on using the changeset viewer.