Type: Posts; User: rmirani
Search took 0.01 seconds.
October 5th, 2013, 06: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, 05: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, 07: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, 01: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, 08: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, 05: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, 05: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, 05:05 PM
In a CView, is there some way of telling that the mouse has left the screen?
November 17th, 2011, 01:30 PM
CMenu* menu = GetMenu();
in CMainFrame::OnCreate does the trick!
November 14th, 2011, 06: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, 01: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, 10:10 AM
From the .rc file, where it says:
IDR_MAINFRAME TOOLBAR DISCARDABLE 18, 17
November 11th, 2011, 09:41 AM
Is there some way of removing the toolbar from your program after you've created it?
I added it when creating the software long ago but now I'd like to do without it.
September 27th, 2011, 10:04 AM
Problem is that I'm not passing such a directory at all.
Serialize is just the standard function that's used by visual C++, which, after having been added by the wizard looks like:
September 26th, 2011, 09:40 AM
Yes, but how do I, after I've read from the registry what directory was used last time, set the directory to that one?
And by the same logic, how do I know which directory is currently used so I can...
September 26th, 2011, 08:15 AM
Is it possible for my software to remember what directory was last used by Serialize?
Currently it keeps being reset to Documents.
I'd really like to for example store the directory or...
September 26th, 2011, 08:06 AM
Here's instructions on how to get flicker free drawing:
Works perfectly fine for me without any issues and is really easy to accomplish.
November 7th, 2010, 08:49 PM
Yes, naturally I've tried using google to find the answer.
There's a lot of code out there, but I haven't been able to find anything that actually
- allows uploading files to a website
November 7th, 2010, 05:52 PM
Do you have any sample code for that please?
November 7th, 2010, 04:50 PM
I'm looking for a way to make a program upload a text file to my website.
Is there some sort of function for that?
Thanks in advance!
November 3rd, 2010, 09:15 AM
Click Here to Expand Forum to Full Width