Click here to Skip to main content
15,908,906 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMBCS with Unicode Pin
Member 475657425-Feb-09 2:26
Member 475657425-Feb-09 2:26 
AnswerRe: MBCS with Unicode Pin
«_Superman_»25-Feb-09 2:28
professional«_Superman_»25-Feb-09 2:28 
GeneralRe: MBCS with Unicode Pin
Member 475657425-Feb-09 2:36
Member 475657425-Feb-09 2:36 
GeneralRe: MBCS with Unicode Pin
«_Superman_»25-Feb-09 2:41
professional«_Superman_»25-Feb-09 2:41 
AnswerRe: MBCS with Unicode Pin
Sarath C25-Feb-09 3:01
Sarath C25-Feb-09 3:01 
QuestionBuffer to HDC handle Pin
Elsie25-Feb-09 2:24
Elsie25-Feb-09 2:24 
QuestionRe: Buffer to HDC handle Pin
CPallini25-Feb-09 2:52
mveCPallini25-Feb-09 2:52 
AnswerRe: Buffer to HDC handle Pin
Elsie25-Feb-09 2:59
Elsie25-Feb-09 2:59 
This "pBuffer" i can save it as a Bitmap format like this.....

But i want to draw this pBuffer into a CStatic without converting to Bitmap...

CFile file;
CString strTemp;
char szTemp[MAX_PATH];
char *pDot;

GetModuleFileName(AfxGetInstanceHandle(),szTemp,sizeof(szTemp));
pDot = strrchr(szTemp,'.');
*(pDot+1) = 'B';
*(pDot+2) = 'M';
*(pDot+3) = 'P';
strTemp.Format(szTemp,GetTickCount());
file.Open(strTemp,CFile::modeCreate | CFile::modeWrite);
file.Write(pBuffer,dwSize);
file.Close();
AnswerRe: Buffer to HDC handle Pin
Code-o-mat25-Feb-09 4:10
Code-o-mat25-Feb-09 4:10 
QuestionWhere do we get MESSAGE ID s of registered activex controls? Pin
dschowta25-Feb-09 2:07
dschowta25-Feb-09 2:07 
AnswerRe: Where do we get MESSAGE ID s of registered activex controls? Pin
CPallini25-Feb-09 2:16
mveCPallini25-Feb-09 2:16 
GeneralRe: Where do we get MESSAGE ID s of registered activex controls? Pin
dschowta25-Feb-09 8:21
dschowta25-Feb-09 8:21 
GeneralRe: Where do we get MESSAGE ID s of registered activex controls? Pin
CPallini25-Feb-09 21:15
mveCPallini25-Feb-09 21:15 
QuestionWM_POWERBROADCAST on Vista. Pin
Comp_Users25-Feb-09 2:03
Comp_Users25-Feb-09 2:03 
AnswerRe: WM_POWERBROADCAST on Vista. Pin
«_Superman_»25-Feb-09 2:07
professional«_Superman_»25-Feb-09 2:07 
GeneralRe: WM_POWERBROADCAST on Vista. Pin
Comp_Users25-Feb-09 2:30
Comp_Users25-Feb-09 2:30 
GeneralRe: WM_POWERBROADCAST on Vista. Pin
«_Superman_»25-Feb-09 2:33
professional«_Superman_»25-Feb-09 2:33 
GeneralRe: WM_POWERBROADCAST on Vista. Pin
Comp_Users25-Feb-09 2:40
Comp_Users25-Feb-09 2:40 
Questionis there any fuction an get an object form window handle? Pin
tyr200025-Feb-09 1:43
tyr200025-Feb-09 1:43 
AnswerRe: is there any fuction an get an object form window handle? Pin
«_Superman_»25-Feb-09 1:54
professional«_Superman_»25-Feb-09 1:54 
GeneralRe: is there any fuction an get an object form window handle? Pin
tyr200025-Feb-09 2:11
tyr200025-Feb-09 2:11 
GeneralRe: is there any fuction an get an object form window handle? Pin
«_Superman_»25-Feb-09 2:14
professional«_Superman_»25-Feb-09 2:14 
GeneralRe: is there any fuction an get an object form window handle? Pin
tyr200025-Feb-09 2:29
tyr200025-Feb-09 2:29 
GeneralRe: is there any fuction an get an object form window handle? Pin
«_Superman_»25-Feb-09 2:31
professional«_Superman_»25-Feb-09 2:31 
GeneralRe: is there any fuction an get an object form window handle? Pin
tyr200025-Feb-09 2:46
tyr200025-Feb-09 2:46 

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.