Hello,
I have a menu which gets called like this:
void CCinitView::OnContextMenu(CWnd* pWnd, CPoint point)
{
CMenu menu;
menu.LoadMenu(IDR_POPUP_CRYPTO_MENU);
menu.GetSubMenu(0);
menu.TrackPopupMenu(TPM_RIGHTALIGN | TPM_RIGHTBUTTON, point.x, point.y, this);
}
Unfortunately...
Hello,
Totally weird problem!
I use the following notification message:
void CCinitView::OnRButtonUp(UINT nFlags, CPoint point)
{
//some code here
}
The function gets triggered ONLY on right button's DOUBLE click! what could be causing the problem?
I needed to show a floating pop-up menu...
Hi,
I just cant seem to find the way to populate columns in a list view.
That is, I CAN POPULATE THE FIRST COLUMN, but not second, third etc! How exactly is it done??
I have used code like this:
1. theCtrl.InsertItem(0, fd.cFileName , NULL);
and
2. theCtrl.InsertItem(LVIF_TEXT|LVIF_STATE...
Dear gednick,
I am pretty sure I shouldnt have made it work thru PostMessage()...but it's working :)
I struggled a bit, but the entire process of putting the question up to making it work took 35 mins!
Thanx a bunch...
Hello,
I am working on an app-wizard generated Explorer style application using MFC, on a 'windows explorer' replicate.
The left hand side is derived from CTreeView and shows the directory structure on the computer. I am able to populate the directories complete with the 'item expand' etc. (I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.