April 20th, 2014, 06:08 AM
I wonder if the method ID2D1Factory1::CreateGdiMetafile exists in documentation only or in practice too. I am able to use succefully many methods of the same interface, let's say all of them, but...
March 28th, 2013, 09:57 AM
I have solved part of the problem. Thanks to those who have helped. It seems that HMETAFILE is not an handle or, more exactly, the Handle functions do not work with HMETAFILE. I can, instead, save...
March 27th, 2013, 03:05 PM
do you have an example project that I can open with Visual Studio 2012 and compare with mine?
March 27th, 2013, 01:18 PM
Here is the whole function:
void PerformPaste( Document *doc )
PageInfo *page = doc->page;
Layout *L = page->piece;
int ceiling =...
March 27th, 2013, 01:03 PM
what shall i do to get a valid handle from the METAFILEPICT structure?
March 27th, 2013, 12:50 PM
GetLastError() returns 6. I can't find the meaning of this code, however.
GlobalFlags( mfp->hMF ) returns GMEM_INVALID_HANDLE
March 27th, 2013, 10:28 AM
I want to paste a picture from Paint into my program. My code is:
HANDLE handle = GetClipboardData( CF_METAFILEPICT );
if ( handle )
METAFILEPICT *mfp = (METAFILEPICT*) GlobalLock( handle );...
August 30th, 2012, 05:47 AM
Thanks a lot, this is all I needed. :wave:
August 28th, 2012, 04:32 PM
The editor for dialog templates (in Visual Studio 11), shows an option into the "Properties" panel. The name of the option is "Help ID" and the explanation is: "Assigns a help ID based on the...
August 25th, 2012, 12:45 PM
Hello, I am rather new to Windows programming and I am writing a C application using the Win32 APIs.
My application should look more or less like the picture in this old (but not outdated) msdn...