Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionmoving to express edition (afx.h windows.h afxwin.h,and afxdcdtel.h)) Pin
SimpleProgramer11-Mar-06 2:23
SimpleProgramer11-Mar-06 2:23 
AnswerRe: moving to express edition (afx.h windows.h afxwin.h,and afxdcdtel.h)) Pin
Saurabh.Garg12-Mar-06 2:42
Saurabh.Garg12-Mar-06 2:42 
Generaldo I need the full version for MFC? Pin
SimpleProgramer12-Mar-06 10:06
SimpleProgramer12-Mar-06 10:06 
GeneralRe: do I need the full version for MFC? Pin
Saurabh.Garg12-Mar-06 15:08
Saurabh.Garg12-Mar-06 15:08 
QuestionBluetooth software development in MFC / C++ Pin
sottos10-Mar-06 23:44
sottos10-Mar-06 23:44 
AnswerRe: Bluetooth software development in MFC / C++ Pin
Hamid_RT11-Mar-06 5:47
Hamid_RT11-Mar-06 5:47 
Questionsaving drawings Pin
_tasleem10-Mar-06 23:02
_tasleem10-Mar-06 23:02 
AnswerRe: saving drawings Pin
Hamid_RT10-Mar-06 23:14
Hamid_RT10-Mar-06 23:14 
Hi,
I think this code is helpful for you
#include <atlimage.h>
HDC hdc= CreateCompatibleDC(GetDC()->m_hDC);
HBITMAP hBitmap=CreateCompatibleBitmap(GetDC()->m_hDC,200,200);
SelectObject(hdc,hBitmap);

TextOut(hdc,100,100,"Hello",lstrlen("Hello"));

hBitmap=(HBITMAP)SelectObject(hdc,hBitmap);
CImage Image;
Image.Attach(hBitmap);
Image.Save("D:\\test.bmp");
Image.Detach();
DeleteDC(hdc);
DeleteObject(hBitmap);
AnswerRe: saving drawings Pin
Monty210-Mar-06 23:17
Monty210-Mar-06 23:17 
Questiondatabases Pin
pankajgarg1210-Mar-06 22:50
pankajgarg1210-Mar-06 22:50 
AnswerRe: databases Pin
Monty210-Mar-06 22:54
Monty210-Mar-06 22:54 
GeneralRe: databases Pin
pankajgarg1210-Mar-06 22:58
pankajgarg1210-Mar-06 22:58 
QuestionTreeView in vc++ 6.0 Pin
pankajgarg1210-Mar-06 22:16
pankajgarg1210-Mar-06 22:16 
AnswerRe: TreeView in vc++ 6.0 Pin
Monty210-Mar-06 22:49
Monty210-Mar-06 22:49 
GeneralRe: TreeView in vc++ 6.0 Pin
pankajgarg1210-Mar-06 22:55
pankajgarg1210-Mar-06 22:55 
AnswerRe: TreeView in vc++ 6.0 Pin
toxcct15-Mar-06 21:36
toxcct15-Mar-06 21:36 
QuestionWin32 equivalent of a .NET API Pin
Chintoo72310-Mar-06 21:51
Chintoo72310-Mar-06 21:51 
AnswerRe: Win32 equivalent of a .NET API Pin
oshah11-Mar-06 13:14
oshah11-Mar-06 13:14 
GeneralRe: Win32 equivalent of a .NET API Pin
Chintoo72311-Mar-06 17:29
Chintoo72311-Mar-06 17:29 
GeneralRe: Win32 equivalent of a .NET API Pin
oshah12-Mar-06 9:47
oshah12-Mar-06 9:47 
QuestionDisable Menu Item Pin
romuzu10-Mar-06 21:50
romuzu10-Mar-06 21:50 
AnswerRe: Disable Menu Item Pin
Hamid_RT10-Mar-06 22:50
Hamid_RT10-Mar-06 22:50 
GeneralRe: Disable Menu Item Pin
romuzu11-Mar-06 1:07
romuzu11-Mar-06 1:07 
GeneralRe: Disable Menu Item Pin
Hamid_RT11-Mar-06 1:26
Hamid_RT11-Mar-06 1:26 
QuestionDatabase connectivity code in vc++ Pin
pankajgarg1210-Mar-06 21:37
pankajgarg1210-Mar-06 21:37 

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.