Click here to Skip to main content
15,923,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Intercepting the TerminateProcess event Pin
Covean11-Nov-09 21:19
Covean11-Nov-09 21:19 
GeneralRe: Intercepting the TerminateProcess event Pin
Krischu11-Nov-09 22:02
Krischu11-Nov-09 22:02 
QuestionDetection of USB device connect and discoonect in vc++ DLL Pin
draxayani11-Nov-09 3:40
draxayani11-Nov-09 3:40 
QuestionRe: Detection of USB device connect and discoonect in vc++ DLL Pin
David Crow11-Nov-09 3:58
David Crow11-Nov-09 3:58 
AnswerRe: Detection of USB device connect and discoonect in vc++ DLL Pin
Covean11-Nov-09 4:11
Covean11-Nov-09 4:11 
AnswerRe: Detection of USB device connect and discoonect in vc++ DLL Pin
David Crow11-Nov-09 4:14
David Crow11-Nov-09 4:14 
GeneralRe: Detection of USB device connect and discoonect in vc++ DLL Pin
Covean11-Nov-09 4:16
Covean11-Nov-09 4:16 
GeneralRe: Detection of USB device connect and discoonect in vc++ DLL Pin
draxayani12-Nov-09 1:55
draxayani12-Nov-09 1:55 
GeneralRe: Detection of USB device connect and discoonect in vc++ DLL Pin
Covean12-Nov-09 2:29
Covean12-Nov-09 2:29 
GeneralRe: Detection of USB device connect and discoonect in vc++ DLL Pin
draxayani12-Nov-09 2:41
draxayani12-Nov-09 2:41 
QuestionHow to know which version of WTL i am having in my machine. [modified] Pin
pandit8411-Nov-09 3:40
pandit8411-Nov-09 3:40 
AnswerRe: How to know which version of WTL i am having in my machine. Pin
Randor 11-Nov-09 9:23
professional Randor 11-Nov-09 9:23 
Questionprogram Pin
singh.niraj40@yahoo.com11-Nov-09 2:40
singh.niraj40@yahoo.com11-Nov-09 2:40 
QuestionRe: program Pin
Maximilien11-Nov-09 3:12
Maximilien11-Nov-09 3:12 
AnswerRe: program Pin
Krischu11-Nov-09 3:21
Krischu11-Nov-09 3:21 
AnswerRe: program Pin
MindCoder7912-Nov-09 19:45
MindCoder7912-Nov-09 19:45 
Questionhow to using the bmp pic of the resource to fill a rectangle? Pin
kk_Kevin11-Nov-09 2:31
kk_Kevin11-Nov-09 2:31 
I write some code, but can't get result.

 Bitmap* pBitmap = new Bitmap(L"bitmap1.bmp");<br />
<br />
    TextureBrush* pTextureBrush = new TextureBrush(pBitmap);<br />
<br />
    graphics.FillRectangle(pTextureBrush, 50,300,200,80);


or

CString str = _T("N00.bmp");

    int strLen = 0;

    strLen =str.GetLength();

    WCHAR* ch = new WCHAR[strLen];

    wcscpy(ch, CT2CW(str)); 

    Bitmap* pBitmap = new Bitmap(ch);

    TextureBrush* pTextureBrush = new TextureBrush(pBitmap);

    graphics.FillRectangle(pTextureBrush, 50,300,200,80);

QuestionRe: how to using the bmp pic of the resource to fill a rectangle? Pin
David Crow11-Nov-09 3:25
David Crow11-Nov-09 3:25 
AnswerRe: how to using the bmp pic of the resource to fill a rectangle? Pin
kk_Kevin11-Nov-09 19:47
kk_Kevin11-Nov-09 19:47 
QuestionRe: how to using the bmp pic of the resource to fill a rectangle? Pin
David Crow12-Nov-09 3:07
David Crow12-Nov-09 3:07 
AnswerRe: how to using the bmp pic of the resource to fill a rectangle? [modified] Pin
kk_Kevin11-Nov-09 21:00
kk_Kevin11-Nov-09 21:00 
QuestionRe: how to using the bmp pic of the resource to fill a rectangle? Pin
David Crow12-Nov-09 3:09
David Crow12-Nov-09 3:09 
AnswerRe: how to using the bmp pic of the resource to fill a rectangle? Pin
Covean11-Nov-09 3:31
Covean11-Nov-09 3:31 
GeneralRe: how to using the bmp pic of the resource to fill a rectangle? Pin
kk_Kevin11-Nov-09 19:49
kk_Kevin11-Nov-09 19:49 
QuestionRe: how to using the bmp pic of the resource to fill a rectangle? Pin
David Crow12-Nov-09 3:10
David Crow12-Nov-09 3:10 

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.