Type: Posts; User: vcstarter
Search took 0.04 seconds.
December 6th, 2013, 11:34 AM
This can be done very easy, but I assume there is a better way to do it.
assume that I have a vector or a signal like
x=[1 1 1 1 1]
want to shift it by one unit to the right I have
October 30th, 2013, 12:10 PM
Take a look of the project to see the overlapping
October 28th, 2013, 01:20 PM
It means that when tab1 is visible, the form in tab2 does not show like any other tab application
October 28th, 2013, 12:57 PM
I tried to show one at a time. The idea is to show one tab at a time similar to C# winform
m_TabOne member variable first table
m_TabTow member variable second tab
October 28th, 2013, 10:22 AM
I tried to display a tab, but it looks like I make some mistake in the initialization; see the code below
afx_msg LRESULT CDisplayData::OnInitdialog(WPARAM wParam, LPARAM lParam)
October 25th, 2013, 02:23 PM
That was the problem. I realized that now. It was in the wrong place.
October 25th, 2013, 01:36 PM
I created the test project from the wizard. When I added the handler for the button, it looks like it choose the CDialog class, so that may be the problem. Maybe it should be in CView.
October 25th, 2013, 01:20 PM
ID_BUTTON2 is the ID of the button in the ribbon. I tried to zip the project and attached it, but it is too big after I zip it. It looks like the wirzard created a big SQL Compaq file.
October 25th, 2013, 12:49 PM
The following has been added to message map
and the function implementation here
MessageBox(L"my data", L"my...
October 25th, 2013, 10:07 AM
I haven't worked with MFC for a long time. I just tried a simple ribbon application. After adding a button to a group and add a handler for the button. I added a value in the string table for the...
February 16th, 2012, 03:07 PM
I am using the following code to add a menu to visual studio here is the complete function (see below)
it works fine; the problem is when i take it to a test station (I mean when I move the dll),...
I try to implement the code from this link to count the files downloaded from my site
It works fine only for a single...
February 10th, 2011, 06:53 PM
it works fine; the oly problem is that I wonder if it is possible to change the color of the menu item separator. I coulfn't find a way to change its color.
February 10th, 2011, 03:58 PM
It is possible to check the for the separator and change that color as well. Wile the bacground color of the menu changes, but it will be nice to identify the separator and change its color
February 10th, 2011, 03:55 PM
sorry, I did not copy it. I commetted the line out.
February 10th, 2011, 02:36 PM
Still crashed on the same spot event when commented out your suggestion
February 9th, 2011, 04:38 PM
comment this line out and remove the separator you can see it works fine
if (!item is ToolStripSeparator)
February 9th, 2011, 12:10 PM
it crashed somewhere here
foreach (ToolStripMenuItem item in items)
after interacting through the menu and encounter a menu separator
February 8th, 2011, 08:17 PM
I try to change the background color of a menu, but the program crashed when the menu item is a separator. I try to check to see if there is a separator before I make the change, but I cannot get...
January 25th, 2011, 10:03 AM
I try to write an add in for visual studio. Currently, I can only add one command at a time to the tools menu. I want to know how can I add a menu item with dropdown command to the tools menu or...
June 18th, 2009, 10:29 AM
Did you check the attribute to make sure the file is not protected? You may need do that or clear the attribute for the file first.
June 17th, 2009, 02:30 PM
There are other ways to do it, but you can do it this way by using the applicationdirectory class in
June 17th, 2009, 02:10 PM
I think you approach the problem the wrong way. You have to use the stream class to write the file line by line then read it line by line then delete specific line that you want. The way you have...
June 17th, 2009, 01:57 PM
I don't know if i answer your question, but you have to click on the property of the specified combobox column and populate it. For instance if your combobox is column3, then you select it by...
September 29th, 2008, 05:04 PM
OK I will do so, this is basically what I am working on now
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!