Click here to Skip to main content
15,887,135 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Can I run .exe file such as explorer.exe or notepad.exe as child window of my CView? Pin
Michael Schubert16-Dec-09 22:10
Michael Schubert16-Dec-09 22:10 
AnswerRe: Can I run .exe file such as explorer.exe or notepad.exe as child window of my CView? Pin
Richard MacCutchan16-Dec-09 22:30
mveRichard MacCutchan16-Dec-09 22:30 
AnswerRe: Can I run .exe file such as explorer.exe or notepad.exe as child window of my CView? Pin
KingsGambit16-Dec-09 23:02
KingsGambit16-Dec-09 23:02 
AnswerRe: Can I run .exe file such as explorer.exe or notepad.exe as child window of my CView? Pin
David Crow17-Dec-09 2:15
David Crow17-Dec-09 2:15 
Questionclear image on screen vc++6.0 ????? Pin
aa_zz16-Dec-09 21:14
aa_zz16-Dec-09 21:14 
AnswerRe: clear image on screen vc++6.0 ????? Pin
Richard MacCutchan16-Dec-09 22:34
mveRichard MacCutchan16-Dec-09 22:34 
AnswerRe: clear image on screen vc++6.0 ????? Pin
vasu_sri18-Dec-09 1:30
vasu_sri18-Dec-09 1:30 
GeneralRe: clear image on screen vc++6.0 ????? Pin
aa_zz20-Dec-09 17:55
aa_zz20-Dec-09 17:55 
hi you. thanks for your help.this is functions i used:
sOldBltMode = SetStretchBltMode( hDC, STRETCH_DELETESCANS );
// Create the palette.
hPal = CreateDibPalette();
if ( hPal )
{
hOldPal = SelectPalette( hDC, hPal, FALSE );
if ( hOldPal ) RealizePalette(hDC);
}
StretchDibBlt( hDC, r.left, r.top, r.Width(), r.Height(),
hMem,
Source.left, Source.top, Source.Width(), Source.Height(),
SRCCOPY );

if ( hPal && hOldPal ) SelectPalette( hDC, hOldPal, FALSE );
if ( hPal ) DeleteObject( hPal );

// Reset the stretch mode.
SetStretchBltMode( hDC, sOldBltMode );

===> first.I show image 10x10inch from file image bitmap. after,i double lick into it, and i will show properties. i choice size 1x1inch. size 10x10inch not yet clear. have i must clear image 10x10inch ? wish your help

nothing

QuestionVC++ CListbox taking keyborad inputs Pin
Sakhalean16-Dec-09 20:25
Sakhalean16-Dec-09 20:25 
AnswerRe: VC++ CListbox taking keyborad inputs Pin
Code-o-mat16-Dec-09 20:42
Code-o-mat16-Dec-09 20:42 
GeneralRe: VC++ CListbox taking keyborad inputs Pin
Sakhalean17-Dec-09 0:24
Sakhalean17-Dec-09 0:24 
QuestionWindow has no title... conflicting window styles? Pin
Sauce!16-Dec-09 20:18
Sauce!16-Dec-09 20:18 
AnswerRe: Window has no title... conflicting window styles? Pin
Code-o-mat16-Dec-09 20:35
Code-o-mat16-Dec-09 20:35 
GeneralRe: Window has no title... conflicting window styles? Pin
Sauce!16-Dec-09 20:49
Sauce!16-Dec-09 20:49 
GeneralRe: Window has no title... conflicting window styles? Pin
Code-o-mat16-Dec-09 20:55
Code-o-mat16-Dec-09 20:55 
GeneralRe: Window has no title... conflicting window styles? Pin
Sauce!16-Dec-09 21:34
Sauce!16-Dec-09 21:34 
GeneralRe: Window has no title... conflicting window styles? Pin
Code-o-mat16-Dec-09 21:50
Code-o-mat16-Dec-09 21:50 
GeneralRe: Window has no title... conflicting window styles? Pin
Sauce!17-Dec-09 0:44
Sauce!17-Dec-09 0:44 
GeneralRe: Window has no title... conflicting window styles? Pin
David Crow17-Dec-09 2:30
David Crow17-Dec-09 2:30 
GeneralRe: Window has no title... conflicting window styles? Pin
Sauce!17-Dec-09 2:57
Sauce!17-Dec-09 2:57 
GeneralRe: Window has no title... conflicting window styles? Pin
Sauce!17-Dec-09 3:54
Sauce!17-Dec-09 3:54 
GeneralRe: Window has no title... conflicting window styles? Pin
Code-o-mat17-Dec-09 8:33
Code-o-mat17-Dec-09 8:33 
QuestionUdp broadcast failed in vista Pin
ganesh.dp16-Dec-09 20:04
ganesh.dp16-Dec-09 20:04 
AnswerRe: Udp broadcast failed in vista Pin
KarstenK16-Dec-09 21:09
mveKarstenK16-Dec-09 21:09 
GeneralRe: Udp broadcast failed in vista Pin
ganesh.dp16-Dec-09 22:31
ganesh.dp16-Dec-09 22:31 

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.