Click here to Skip to main content
15,174,232 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: what is the standard way to give file name in FtpOpenFile() Pin
vptech199-Feb-08 3:00
Membervptech199-Feb-08 3:00 
GeneralMCF ToolBar ( color tool bar , Vista Aero theme tool bar) help needed Pin
sarat7-Feb-08 1:01
Membersarat7-Feb-08 1:01 
GeneralRe: MCF ToolBar ( color tool bar , Vista Aero theme tool bar) help needed Pin
sarat8-Feb-08 1:19
Membersarat8-Feb-08 1:19 
GeneralBitmaps Pin
Gita.Bairavi7-Feb-08 0:58
MemberGita.Bairavi7-Feb-08 0:58 
GeneralRe: Bitmaps Pin
Waldermort7-Feb-08 2:12
MemberWaldermort7-Feb-08 2:12 
QuestionRe: Bitmaps Pin
David Crow7-Feb-08 3:34
MemberDavid Crow7-Feb-08 3:34 
GeneralRe: Bitmaps Pin
Waldermort7-Feb-08 3:40
MemberWaldermort7-Feb-08 3:40 
GeneralRe: Bitmaps Pin
Gita.Bairavi7-Feb-08 17:46
MemberGita.Bairavi7-Feb-08 17:46 
Hi Waldermors,
I ve given my followin snippet for ur' clarification..

CDC dcMemory;//Create a compatible memory device context
dcMemory.CreateCompatibleDC(pDC);

CBitmap bmImage;//Load and select bitmap
bmImage.LoadBitmap(IDB_BITMAP4);
CBitmap *pbmOriginal = dcMemory.SelectObject(&bmImage);

dcMemory.SetMapMode( pDC ->GetMapMode());

CRect rcClient;
GetClientRect(rcClient);

pDC ->StretchBlt(rcClient.left,rcClient.top,rcClient.Width(),
rcClient.Height(), &dcMemory,0,0,50,50,SRCCOPY);
pDC ->SelectObject (pbmOriginal);
pDC ->SetBkMode(TRANSPARENT);

wats' the prob r deficiency in my above snippet..
Roll eyes | :rolleyes:

Gita

QuestionCatch the scroll event? Pin
bosfan7-Feb-08 0:15
Memberbosfan7-Feb-08 0:15 
AnswerRe: Catch the scroll event? Pin
Waldermort7-Feb-08 2:14
MemberWaldermort7-Feb-08 2:14 
GeneralRe: Catch the scroll event? Pin
bosfan7-Feb-08 3:04
Memberbosfan7-Feb-08 3:04 
GeneralRe: Catch the scroll event? Pin
Iain Clarke, Warrior Programmer7-Feb-08 3:16
MemberIain Clarke, Warrior Programmer7-Feb-08 3:16 
GeneralRe: Catch the scroll event? Pin
Hamid_RT10-Feb-08 22:49
MemberHamid_RT10-Feb-08 22:49 
GeneralFile rights after SQLConfigDataSource Pin
S. Becker6-Feb-08 23:43
MemberS. Becker6-Feb-08 23:43 
QuestionRe: File rights after SQLConfigDataSource Pin
David Crow7-Feb-08 3:31
MemberDavid Crow7-Feb-08 3:31 
GeneralRe: File rights after SQLConfigDataSource Pin
S. Becker7-Feb-08 21:20
MemberS. Becker7-Feb-08 21:20 
QuestionRe: File rights after SQLConfigDataSource Pin
David Crow8-Feb-08 3:29
MemberDavid Crow8-Feb-08 3:29 
GeneralRe: File rights after SQLConfigDataSource [modified] Pin
S. Becker10-Feb-08 22:54
MemberS. Becker10-Feb-08 22:54 
GeneralCannot access the file while one is accessing Pin
sharanu6-Feb-08 23:08
Membersharanu6-Feb-08 23:08 
QuestionRe: Cannot access the file while one is accessing Pin
CPallini6-Feb-08 23:27
mveCPallini6-Feb-08 23:27 
GeneralRe: Cannot access the file while one is accessing Pin
Iain Clarke, Warrior Programmer6-Feb-08 23:27
MemberIain Clarke, Warrior Programmer6-Feb-08 23:27 
GeneralRe: Cannot access the file while one is accessing Pin
David Crow7-Feb-08 3:33
MemberDavid Crow7-Feb-08 3:33 
Generalinsert text into notepad Pin
<color>Aljechin 6-Feb-08 22:57
Member <color>Aljechin 6-Feb-08 22:57 
GeneralRe: insert text into notepad Pin
Iain Clarke, Warrior Programmer6-Feb-08 23:17
MemberIain Clarke, Warrior Programmer6-Feb-08 23:17 
GeneralRe: insert text into notepad Pin
CPallini6-Feb-08 23:20
mveCPallini6-Feb-08 23:20 

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.