Type: Posts; User: rmirani
Search took 0.01 seconds; generated 15 minute(s) ago.
I'm more of a mathematician than a programmer, so please forgive my ignorance.
But how would I link in the MFC libraries in VS2010 (or VS2013)?
I have recently upgraded one of my programs to Visual Studio 2010.
Some users are now reporting an error "Can not find mfc100.dll" upon startup.
What is the best way to fix this?
April 14th, 2015, 04:41 AM
Can anyone explain to me how to get a list of the active processes on a computer?
What I need to do is check for a specific process to see if it's running on the system.
So ... I suppose...
October 10th, 2014, 06:32 AM
Well, the title pretty much says it all :)
When I have loaded a savefile with Serialize, is there some way of telling the name of the currently loaded savefile?
Thank you in advance!
March 12th, 2014, 09:13 AM
Wauw, thank you!
I was not aware it was possible to do that.
That's really great!
March 12th, 2014, 08:38 AM
I currently have a program where, by either pressing Ctrl+N or by going to "File->New" in the menu a new file is prompted.
However, there are cases in my program where I would also like the...
December 16th, 2013, 05:50 AM
Ok, I've tried that with
CButton* pButton = (CButton*)GetDlgItem(IDC_BUTTON1);
December 15th, 2013, 04:00 PM
I'm trying to create a dialog where some of the buttons have pictures on them, rather than plain text.
Is it possible to do that?
I notice that under the button's properties, under...
October 5th, 2013, 05:49 AM
My apologies for posting this here, but I can't think of another place to get independent advice.
I'm looking for a licensing system for my software.
Something that's easy to use...
It's working again!
Ok, I've figured out the cause of the problem ... but now the solution.
Because I need to know when my mouse is leaving the screen, in CMyProgramView I'm applying SetCapture() whenever the capture...
"Q", ID_SELECT_TOP, VIRTKEY, ALT, NOINVERT
"S", ID_FILE_SAVE, VIRTKEY, CONTROL, NOINVERT
"S", ID_DETERMINE_SIZE, ...
As of recently my software no longer recognizes the Ctrl+S command for saving a file anymore.
The ::Serialize part of the code is no longer reached.
Not only that, but not even the...
February 3rd, 2012, 04:02 PM
Ok, I've tried the AlphaBlend function, but it unfortunately does not allow me to paint semi-transparent bitmaps with the use of alpha channels. It can only make the whole bitmap transparent, but not...
February 2nd, 2012, 06:15 PM
I've just tried creating such a 32 bit bitmap with Adobe Illustrator and so far the alpha channel does not appear to be working for me.
I'm using pDC->BitBlt(x,y,width,height,memdc,0,0,SRCCOPY) to...
February 2nd, 2012, 12:29 PM
I need to draw pictures that are both semi-transparant and have shade and are drawn over different (changing) backgrounds.
Now, I cán paste bitmaps with masks and after that fill in...
January 19th, 2012, 07:55 PM
Is there any way of drawing text on a View using pDC->DrawText(CString,CRect,0) or some other text draw operation that ONLY draws the text but leaves the background?
Thanks in advance!
November 20th, 2011, 04:34 PM
And ... I just realized I read something about this a couple of years ago.
Funny how these things always come to me AFTER I ask.
Never mind :)
November 20th, 2011, 04:18 PM
I need to know when the mouse pointer has left the window.
The function ::OnMouseMove only works if the pointer is within it.
It unfortunately stops working once it's outside the confines of the...
November 20th, 2011, 04:05 PM
In a CView, is there some way of telling that the mouse has left the screen?
November 17th, 2011, 12:30 PM
CMenu* menu = GetMenu();
in CMainFrame::OnCreate does the trick!
November 14th, 2011, 05:27 AM
Is there some way of not showing a menu item?
So for example, in the pic below, let's say I want to remove Edit from the menu, without actually deleting it:
November 11th, 2011, 12:09 PM
Ah, never mind.
Sorry for the trouble.
Whether to draw the toolbar or not can be set in CMainFrame, which contains the toolbar.
It needs to be set in CMainFrame::OnCreate
November 11th, 2011, 09:10 AM
From the .rc file, where it says:
IDR_MAINFRAME TOOLBAR DISCARDABLE 18, 17
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!