因为是接手别人的程序,再个自己基础薄弱,所以不太熟悉,不过好像不是onlbuttondown方式,而是先取字节状态,然后再domodal()一下
long CMainFrame::OnOutBarNotify(WPARAM wParam, LPARAM lParam)
{
switch(wParam)
{
case NM_OB_ITEMCLICK:
{
// Get the current folder.
int nFolder = m_wndOutlookBar.GetSelFolder();
// Get the current selection.
int nIndex = (int)lParam;
switch (nFolder)
{
case FOLDER_0:
{ int p = m_wndOutlookBar.GetSelFolder();
switch(nIndex)
{ case CMD_00: { if(p==curOfFolder)......