Click here to Skip to main content
15,898,893 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Multithreading in used sockets Pin
Mark Salsbery22-Nov-06 6:43
Mark Salsbery22-Nov-06 6:43 
QuestionVC8 release builds [modified] Pin
Waldermort21-Nov-06 20:43
Waldermort21-Nov-06 20:43 
QuestionSolved but another question Pin
Waldermort21-Nov-06 21:29
Waldermort21-Nov-06 21:29 
AnswerRe: Solved but another question Pin
Michael Dunn21-Nov-06 22:41
sitebuilderMichael Dunn21-Nov-06 22:41 
GeneralRe: Solved but another question Pin
Waldermort21-Nov-06 23:40
Waldermort21-Nov-06 23:40 
Questionreduce the size of bitmap Pin
_tasleem21-Nov-06 20:10
_tasleem21-Nov-06 20:10 
AnswerRe: reduce the size of bitmap Pin
Waldermort21-Nov-06 20:49
Waldermort21-Nov-06 20:49 
GeneralRe: reduce the size of bitmap Pin
_tasleem22-Nov-06 20:42
_tasleem22-Nov-06 20:42 
thanks for replay here is the code of its behind the button event,
<br />
int  nScreenWidth =:: GetSystemMetrics(SM_CXSCREEN);<br />
int  nScreenHeight =:: GetSystemMetrics(SM_CYSCREEN);<br />
HWND hDesktopWnd = ::GetDesktopWindow();<br />
HDC  hDesktopDC = ::GetDC(hDesktopWnd);<br />
HDC  hCaptureDC =:: CreateCompatibleDC(hDesktopDC);<br />
HBITMAP hCaptureBitmap=::CreateCompatibleBitmap(hDesktopDC, nScreenWidth, nScreenHeight);<br />
::SelectObject(hCaptureDC,hCaptureBitmap); <br />
StretchBlt(hCaptureDC,0,0,((nScreenWidth/2)+310),((nScreenHeight/2)+290),hDesktopDC,0,0,nScreenWidth,nScreenHeight,SRCCOPY);<br />
CImage file; <br />
char	str[15];<br />
DWORD filetime=::timeGetTime();<br />
itoa(filetime,str,10);<br />
strcat(str,".png");<br />
char strdrive[25]="C:\\";<br />
strcat(strdrive,str);<br />
file.Attach(hCaptureBitmap);<br />
file.Save(strdrive);<br />

hope it clears my question.

Tasleem Arif

QuestionTreeview problem in RegistryKey ? [modified] Pin
Sakthiu21-Nov-06 19:26
Sakthiu21-Nov-06 19:26 
AnswerRe: Treeview problem in RegistryKey ? [modified] Pin
Galatei21-Nov-06 22:32
Galatei21-Nov-06 22:32 
Question'KBDLLHOOKSTRUCT' : undeclared identifier Why? Pin
LaHaHa21-Nov-06 19:11
LaHaHa21-Nov-06 19:11 
QuestionRe: 'KBDLLHOOKSTRUCT' : undeclared identifier Why? Pin
Rajesh R Subramanian21-Nov-06 19:14
professionalRajesh R Subramanian21-Nov-06 19:14 
AnswerRe: 'KBDLLHOOKSTRUCT' : undeclared identifier Why? Pin
LaHaHa21-Nov-06 19:49
LaHaHa21-Nov-06 19:49 
GeneralRe: 'KBDLLHOOKSTRUCT' : undeclared identifier Why? Pin
Rajesh R Subramanian21-Nov-06 20:14
professionalRajesh R Subramanian21-Nov-06 20:14 
GeneralRe: 'KBDLLHOOKSTRUCT' : undeclared identifier Why? Pin
LaHaHa21-Nov-06 21:41
LaHaHa21-Nov-06 21:41 
GeneralRe: 'KBDLLHOOKSTRUCT' : undeclared identifier Why? Pin
R. S. Verma14-May-12 1:44
R. S. Verma14-May-12 1:44 
AnswerRe: 'KBDLLHOOKSTRUCT' : undeclared identifier Why? Pin
prasad_som21-Nov-06 20:29
prasad_som21-Nov-06 20:29 
GeneralRe: 'KBDLLHOOKSTRUCT' : undeclared identifier Why? Pin
LaHaHa21-Nov-06 20:50
LaHaHa21-Nov-06 20:50 
AnswerRe: 'KBDLLHOOKSTRUCT' : undeclared identifier Why? Pin
Michael Dunn21-Nov-06 22:42
sitebuilderMichael Dunn21-Nov-06 22:42 
QuestionDuplicate Processes in differnt sessions Pin
Programm3r21-Nov-06 18:59
Programm3r21-Nov-06 18:59 
AnswerRe: Duplicate Processes in differnt sessions Pin
Galatei21-Nov-06 22:23
Galatei21-Nov-06 22:23 
GeneralRe: Duplicate Processes in differnt sessions Pin
Programm3r22-Nov-06 1:38
Programm3r22-Nov-06 1:38 
GeneralRe: Duplicate Processes in differnt sessions Pin
Blake Miller22-Nov-06 3:45
Blake Miller22-Nov-06 3:45 
GeneralRe: Duplicate Processes in differnt sessions Pin
Galatei22-Nov-06 4:16
Galatei22-Nov-06 4:16 
GeneralRe: Duplicate Processes in differnt sessions Pin
Blake Miller22-Nov-06 4:25
Blake Miller22-Nov-06 4:25 

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.