Forum: C++ Nov 24th, 2008 |
| Replies: 10 Views: 1,939 Thanks for helping me out guys. You are both right which difference piece of code provided. It wasn't this piece of code that was not letting me accomplish the job. I finally figured out where was I... |
Forum: C++ Nov 23rd, 2008 |
| Replies: 10 Views: 1,939 The code that you provided here is not working. CMainFrame and pFrame is giving me errors and syntax errors too. Here is what I got right now and I still dont understand why is this not working
... |
Forum: C++ Nov 22nd, 2008 |
| Replies: 10 Views: 1,939 I tried it and it doesn't work for me. There must be a different set of code for that. First thing is I don't know the position of the Manager menu item. Second thing is I tried with the MF_BYCOMMAND... |
Forum: C++ Nov 22nd, 2008 |
| Replies: 10 Views: 1,939 Yes, that is correct. But I can disable Sort. The code for that is given below.
void CDept::DisableSort(void)
{
CWnd* pParent = GetParent(); // This is a point to the window
// This is a... |
Forum: C++ Nov 22nd, 2008 |
| Replies: 10 Views: 1,939 I think I have already done that part and still it would not work. Below is the code to ensure that we are talking about the same part.
void CDeptView::OnSortManager()
{
Selected = "MANAGER";... |
Forum: C++ Nov 21st, 2008 |
| Replies: 10 Views: 1,939 How do I disable and Enable Menu Items and Sub Items.
if(Selected == "drum" || Selected == "guitar" || Selected == "mic" || Selected == "computer" || Selected == "car" || Selected == "hockey" ||... |