Click here to Skip to main content
15,899,313 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Is it possible to add check to for each tree items instead of all? Pin
eagle514-Sep-07 20:04
eagle514-Sep-07 20:04 
QuestionHow to stop Autorun Pin
VC_RYK29-Aug-07 4:10
VC_RYK29-Aug-07 4:10 
AnswerRe: How to stop Autorun Pin
_AnsHUMAN_ 29-Aug-07 4:11
_AnsHUMAN_ 29-Aug-07 4:11 
GeneralRe: How to stop Autorun Pin
VC_RYK29-Aug-07 4:25
VC_RYK29-Aug-07 4:25 
QuestionRe: How to stop Autorun Pin
David Crow29-Aug-07 4:44
David Crow29-Aug-07 4:44 
AnswerRe: How to stop Autorun [modified] Pin
Russell'29-Aug-07 5:47
Russell'29-Aug-07 5:47 
AnswerRe: How to stop Autorun Pin
Michael Dunn29-Aug-07 7:54
sitebuilderMichael Dunn29-Aug-07 7:54 
QuestionDirectDraw Question Pin
TheDelChop29-Aug-07 4:09
TheDelChop29-Aug-07 4:09 
Guys,

I have a question concerning blitting to a DirectDraw7 surface using Blt. My objective here is to take the source surface, lets call it XYSurface, and blit it back onto itself, simply rotating it during the blit. Can I do something like this?

<br />
LPDIRECTDRAWSURFACE7 pXYSurface;<br />
RECT                 rc;<br />
GetClintRect(hDlg, &rc);<br />
<br />
hRet = pXYSurface->Blt(&rc,pXYSurface,&rc,DDBLT_ROTATIONANGLE,&ddbltfx);<br />
<br />
if(hRet != DD_OK)<br />
{<br />
  HandleDDErrors(hRet, errorMessage);<br />
  MessageBox(NULL,errorMessage,"Error",MB_OK);<br />
  return -1;<br />
}   <br />


When I do this, hRet is DDERR_SURFACEBUSY. Which reveals that "Access to the surface is refused because the surface is locked by another thread." Is this because I am trying to Blit back on to the source?

Thanks,

Joe
QuestionHow to get Proccess ID Pin
GauranG Shah29-Aug-07 4:02
GauranG Shah29-Aug-07 4:02 
AnswerRe: How to get Proccess ID Pin
Russell'29-Aug-07 4:45
Russell'29-Aug-07 4:45 
AnswerRe: How to get Proccess ID Pin
David Crow29-Aug-07 4:45
David Crow29-Aug-07 4:45 
AnswerRe: How to get Proccess ID Pin
Waldermort29-Aug-07 5:14
Waldermort29-Aug-07 5:14 
QuestionQuestion about DirectShow Output Pin Pin
techratna29-Aug-07 3:59
techratna29-Aug-07 3:59 
QuestionCEdit max text size (MFC, VC++6, WinXP) Pin
im7929-Aug-07 3:12
im7929-Aug-07 3:12 
AnswerRe: CEdit max text size (MFC, VC++6, WinXP) Pin
David Crow29-Aug-07 3:35
David Crow29-Aug-07 3:35 
AnswerRe: CEdit max text size (MFC, VC++6, WinXP) Pin
Anurag Gandhi29-Aug-07 3:41
professionalAnurag Gandhi29-Aug-07 3:41 
AnswerRe: CEdit max text size (MFC, VC++6, WinXP) Pin
Stephen Hewitt29-Aug-07 16:41
Stephen Hewitt29-Aug-07 16:41 
QuestionDisable network connection? Pin
Larsson29-Aug-07 2:48
Larsson29-Aug-07 2:48 
AnswerRe: Disable network connection? Pin
Hamid_RT29-Aug-07 2:57
Hamid_RT29-Aug-07 2:57 
GeneralRe: Disable network connection? Pin
Larsson29-Aug-07 3:12
Larsson29-Aug-07 3:12 
GeneralRe: Disable network connection? Pin
David Crow29-Aug-07 3:36
David Crow29-Aug-07 3:36 
GeneralRe: Disable network connection? Pin
Larsson29-Aug-07 3:53
Larsson29-Aug-07 3:53 
GeneralRe: Disable network connection? Pin
Hamid_RT31-Aug-07 21:29
Hamid_RT31-Aug-07 21:29 
Questiononpaint() Problem Pin
Neo Andreson29-Aug-07 2:27
Neo Andreson29-Aug-07 2:27 
AnswerRe: onpaint() Problem Pin
_AnsHUMAN_ 29-Aug-07 2:34
_AnsHUMAN_ 29-Aug-07 2:34 

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.