Click here to Skip to main content
16,004,901 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Printing the dialog box Pin
David Crow8-Oct-03 2:49
David Crow8-Oct-03 2:49 
QuestionHow to print from the Dialog Box? Pin
venkyhyd7-Oct-03 23:23
venkyhyd7-Oct-03 23:23 
GeneralCompiling errors Pin
FlyingDancer7-Oct-03 22:51
FlyingDancer7-Oct-03 22:51 
GeneralRe: Compiling errors Pin
Mike Dimmick7-Oct-03 23:11
Mike Dimmick7-Oct-03 23:11 
GeneralRe: Compiling errors Pin
FlyingDancer8-Oct-03 0:34
FlyingDancer8-Oct-03 0:34 
GeneralRe: Compiling errors Pin
Anand Paranjpe7-Oct-03 23:29
Anand Paranjpe7-Oct-03 23:29 
GeneralRe: Compiling errors Pin
FlyingDancer8-Oct-03 0:42
FlyingDancer8-Oct-03 0:42 
GeneralIExtractImage not working for Internet-Shortcuts (.url) Pin
ohadp7-Oct-03 22:41
ohadp7-Oct-03 22:41 
I'm trying to extract Thumbnail images of files.

I've used IExtractImage and it works great, except that when it gets to internet shortcuts, it hangs for a long time (10-20 seconds) and always fails.

<br />
TCHAR	path[MAX_PATH];<br />
DWORD	priority = 0; // IEI_PRIORITY_NORMAL is defined nowhere!<br />
DWORD	flags = IEIFLAG_ASPECT;// + IEIFLAG_OFFLINE;<br />
HBITMAP handle = NULL;<br />
CSize	requestedSize(75,56);<br />
<br />
if (S_OK == imageExt->GetLocation(path, MAX_PATH, &priority, &requestedSize, 32, &flags))<br />
{<br />
	hr = imageExt->Extract(&handle);<br />
<br />
	if (S_OK == hr)<br />
	{<br />
		item->thumbnail = new CMyBitmapFromHandle(handle);<br />
	}<br />
}<br />
<br />
imageExt->Release();<br />


I've tried various flags like with or without IEIFLAG_OFFLINE but nothing makes it work.

Does anybody spot the problem ?

Thanks
GeneralProblem with 'struct' in the same file as 'class'. Pin
WREY7-Oct-03 22:30
WREY7-Oct-03 22:30 
GeneralRe: Problem with 'struct' in the same file as 'class'. Pin
Mike Dimmick7-Oct-03 23:09
Mike Dimmick7-Oct-03 23:09 
GeneralRe: Problem with 'struct' in the same file as 'class'. Pin
WREY8-Oct-03 10:40
WREY8-Oct-03 10:40 
GeneralRe: Problem with 'struct' in the same file as 'class'. Pin
Mike Dimmick9-Oct-03 0:24
Mike Dimmick9-Oct-03 0:24 
GeneralFound it !! Pin
WREY9-Oct-03 6:58
WREY9-Oct-03 6:58 
GeneralRe: Problem with 'struct' in the same file as 'class'. Pin
WREY9-Oct-03 10:46
WREY9-Oct-03 10:46 
GeneralRe: Problem with 'struct' in the same file as 'class'. Pin
Mike Dimmick9-Oct-03 22:45
Mike Dimmick9-Oct-03 22:45 
GeneralRe: Problem with 'struct' in the same file as 'class'. Pin
WREY9-Oct-03 23:29
WREY9-Oct-03 23:29 
GeneralRe: Problem with 'struct' in the same file as 'class'. Pin
Mike Dimmick10-Oct-03 0:34
Mike Dimmick10-Oct-03 0:34 
GeneralRe: Problem with 'struct' in the same file as 'class'. Pin
Anthony_Yio8-Oct-03 1:23
Anthony_Yio8-Oct-03 1:23 
GeneralRe: Problem with 'struct' in the same file as 'class'. Pin
David Crow8-Oct-03 2:52
David Crow8-Oct-03 2:52 
GeneralRe: Problem with 'struct' in the same file as 'class'. Pin
Anthony_Yio8-Oct-03 16:48
Anthony_Yio8-Oct-03 16:48 
GeneralRe: Problem with 'struct' in the same file as 'class'. Pin
WREY8-Oct-03 9:50
WREY8-Oct-03 9:50 
GeneralRe: Problem with 'struct' in the same file as 'class'. Pin
Anthony_Yio8-Oct-03 16:26
Anthony_Yio8-Oct-03 16:26 
Generalstatic libraries &amp; templates Pin
Themis7-Oct-03 22:21
Themis7-Oct-03 22:21 
GeneralRe: static libraries & templates Pin
Anthony_Yio8-Oct-03 1:03
Anthony_Yio8-Oct-03 1:03 
GeneralRe: static libraries &amp; templates Pin
ZoogieZork8-Oct-03 5:18
ZoogieZork8-Oct-03 5:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.