Click here to Skip to main content
15,890,512 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Show Console + ShowDialog Pin
bankai1233-Oct-06 13:47
bankai1233-Oct-06 13:47 
Questionopengl problem Pin
Arif Liminto1-Oct-06 22:08
professionalArif Liminto1-Oct-06 22:08 
AnswerRe: opengl problem Pin
Christian Graus1-Oct-06 23:49
protectorChristian Graus1-Oct-06 23:49 
QuestionManaged C++ Winforms using MouseEnter/Leave Pin
sirokket161-Oct-06 14:54
sirokket161-Oct-06 14:54 
QuestionDevice contexts / hWnd's Pin
zzattack1-Oct-06 9:45
zzattack1-Oct-06 9:45 
AnswerRe: Device contexts / hWnd's Pin
Christian Graus1-Oct-06 10:04
protectorChristian Graus1-Oct-06 10:04 
GeneralRe: Device contexts / hWnd's Pin
zzattack1-Oct-06 10:08
zzattack1-Oct-06 10:08 
GeneralRe: Device contexts / hWnd's Pin
Christian Graus1-Oct-06 10:17
protectorChristian Graus1-Oct-06 10:17 
From my C# code:

[DllImport("gdi32.dll", EntryPoint = "DeleteDC")]
public static extern IntPtr DeleteDC(IntPtr hDc);

[DllImport("gdi32.dll", EntryPoint = "DeleteObject")]
public static extern IntPtr DeleteObject(IntPtr hDc);

[DllImport("gdi32.dll", EntryPoint = "BitBlt")]
public static extern bool BitBlt(IntPtr hdcDest, int xDest,
int yDest, int wDest,
int hDest, IntPtr hdcSource,
int xSrc, int ySrc, int RasterOp);

[DllImport("gdi32.dll", EntryPoint = "CreateCompatibleBitmap")]
public static extern IntPtr CreateCompatibleBitmap
(IntPtr hdc, int nWidth, int nHeight);

[DllImport("gdi32.dll", EntryPoint = "CreateCompatibleDC")]
public static extern IntPtr CreateCompatibleDC(IntPtr hdc);

[DllImport("gdi32.dll", EntryPoint = "SelectObject")]
public static extern IntPtr SelectObject(IntPtr hdc, IntPtr bmp);

I believe Nish has an article on screen capture on the site, I recommend searching for it.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

GeneralRe: Device contexts / hWnd's [modified] Pin
zzattack1-Oct-06 10:34
zzattack1-Oct-06 10:34 
QuestionNew To C++ Need Help ---- Buttons On Form Apps Pin
Mark_Murphy1-Oct-06 7:11
Mark_Murphy1-Oct-06 7:11 
AnswerRe: New To C++ Need Help ---- Buttons On Form Apps Pin
Christian Graus1-Oct-06 10:06
protectorChristian Graus1-Oct-06 10:06 
QuestionGetting audio signal.. Please help Pin
Commickey30-Sep-06 1:12
Commickey30-Sep-06 1:12 
AnswerRe: Getting audio signal.. Please help Pin
Christian Graus1-Oct-06 10:07
protectorChristian Graus1-Oct-06 10:07 
QuestionAuthoritative .Net 2.0 Library Development Reference? Pin
mike montagne29-Sep-06 12:33
mike montagne29-Sep-06 12:33 
QuestionDoc/View-like plugin DLLs in C++/CLI Pin
Bartosz Bien29-Sep-06 12:04
Bartosz Bien29-Sep-06 12:04 
AnswerRe: Doc/View-like plugin DLLs in C++/CLI Pin
led mike3-Oct-06 5:15
led mike3-Oct-06 5:15 
GeneralRe: Doc/View-like plugin DLLs in C++/CLI Pin
Bartosz Bien12-Oct-06 22:54
Bartosz Bien12-Oct-06 22:54 
GeneralRe: Doc/View-like plugin DLLs in C++/CLI Pin
led mike13-Oct-06 4:48
led mike13-Oct-06 4:48 
Questionautomatic installation of the cab on the pocket pc Pin
canadaeve29-Sep-06 9:54
canadaeve29-Sep-06 9:54 
QuestionClass Reference Variables in Managed C++? Pin
mike montagne28-Sep-06 18:38
mike montagne28-Sep-06 18:38 
AnswerRe: Class Reference Variables in Managed C++? Pin
User 58385228-Sep-06 18:50
User 58385228-Sep-06 18:50 
GeneralRe: Class Reference Variables in Managed C++? Using the Activator Class,,, Pin
mike montagne28-Sep-06 20:12
mike montagne28-Sep-06 20:12 
GeneralRe: Class Reference Variables in Managed C++? Using the Activator Class,,, Pin
User 58385228-Sep-06 20:43
User 58385228-Sep-06 20:43 
GeneralRe: Class Reference Variables in Managed C++? THANKS Pin
mike montagne29-Sep-06 6:09
mike montagne29-Sep-06 6:09 
GeneralRe: Class Reference Variables in Managed C++? Using the Activator Class,,, Pin
mike montagne29-Sep-06 7:33
mike montagne29-Sep-06 7:33 

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.