Click here to Skip to main content
15,881,248 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Question about 'new' and 'delete' Pin
Richard Andrew x6412-Feb-06 13:00
professionalRichard Andrew x6412-Feb-06 13:00 
AnswerRe: Question about 'new' and 'delete' Pin
ThatsAlok14-Feb-06 17:30
ThatsAlok14-Feb-06 17:30 
Questionfopen error (due to string??) Pin
kittymew12-Feb-06 9:38
kittymew12-Feb-06 9:38 
AnswerRe: fopen error (due to string??) Pin
Spykraft13-Feb-06 2:03
Spykraft13-Feb-06 2:03 
QuestionNeed help with HugeInt class program Pin
mattherb18212-Feb-06 8:37
mattherb18212-Feb-06 8:37 
AnswerRe: Need help with HugeInt class program Pin
rspielmann12-Feb-06 12:18
rspielmann12-Feb-06 12:18 
GeneralRe: Need help with HugeInt class program Pin
mattherb18212-Feb-06 15:42
mattherb18212-Feb-06 15:42 
QuestionShell Namespace; Going Async Pin
__int6412-Feb-06 6:52
__int6412-Feb-06 6:52 
Hey all.
I'm working on a shell namespace extension that needs to provide access to files over the Internet.

My problem is that Explorer's UI freezes when the user attempts to drag files out of it. I've already implemented IAsyncOperation in my IDataObject, but that only seems to allow the drop *target* to run on a background thread.

I provide files through the CFSTR_FILEDESCRIPTOR/CFSTR_FILECONTENTS combo wrapped in IStream interfaces, and Explorer always calls IStream::Read() on the same thread as the rest of the UI, thus freezing everything. I'd love to either be able to return E_PENDING or something similar, or simply get called on a background thread.

For the record, I set SFGAO_ISSLOW for all items while in IShellFolder::GetAttributesOf(), but it doesn't help.

I'm slowly running out of ideas here. The interface is frozen solid while in IStream::Read(). It doesn't even redraw.

There's got to be a solution to this, that I'm just not seeing. I've been looking into async monikers, but all I managed to do was get my brain into a knot, since nowhere does the shell namespace documentation reference them, so I'm assuming there might be another way.

Any help/suggestion will be greatly appreciated.
QuestionHelp?? How to Fade out text using CStatic Pin
LivingThoughts12-Feb-06 6:45
LivingThoughts12-Feb-06 6:45 
AnswerRe: Help?? How to Fade out text using CStatic Pin
Iain Clarke, Warrior Programmer12-Feb-06 12:33
Iain Clarke, Warrior Programmer12-Feb-06 12:33 
GeneralRe: Help?? How to Fade out text using CStatic Pin
LivingThoughts12-Feb-06 16:24
LivingThoughts12-Feb-06 16:24 
QuestionScrollbar in CFormView does not work,why? Pin
lostangels12-Feb-06 4:46
lostangels12-Feb-06 4:46 
AnswerRe: Scrollbar in CFormView does not work,why? Pin
Optimus Chaos12-Feb-06 5:57
Optimus Chaos12-Feb-06 5:57 
QuestionScrollbar in CFormView does not work,why? Pin
lostangels12-Feb-06 4:42
lostangels12-Feb-06 4:42 
QuestionCalling .m files from C++ Pin
misugi12-Feb-06 2:49
misugi12-Feb-06 2:49 
AnswerRe: Calling .m files from C++ Pin
Nick_Kisialiou12-Feb-06 9:56
Nick_Kisialiou12-Feb-06 9:56 
GeneralRe: Calling .m files from C++ Pin
misugi13-Feb-06 22:23
misugi13-Feb-06 22:23 
Questionvisual studio 2003 MFC/SDI help drawing Pin
ALTF412-Feb-06 1:02
ALTF412-Feb-06 1:02 
AnswerRe: visual studio 2003 MFC/SDI help drawing Pin
try8812-Feb-06 6:28
try8812-Feb-06 6:28 
GeneralRe: visual studio 2003 MFC/SDI help drawing Pin
ALTF412-Feb-06 6:39
ALTF412-Feb-06 6:39 
Questionproblem with CSocket Pin
hamidreza_buddy12-Feb-06 1:00
hamidreza_buddy12-Feb-06 1:00 
AnswerRe: problem with CSocket Pin
ALTF412-Feb-06 1:06
ALTF412-Feb-06 1:06 
GeneralRe: problem with CSocket Pin
Jörgen Sigvardsson12-Feb-06 2:41
Jörgen Sigvardsson12-Feb-06 2:41 
AnswerRe: problem with CSocket Pin
Rob Caldecott12-Feb-06 2:18
Rob Caldecott12-Feb-06 2:18 
AnswerRe: problem with CSocket Pin
ScottMcP14-Feb-06 8:55
ScottMcP14-Feb-06 8:55 

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.