Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
B

bicphuong

@bicphuong
About
Posts
3
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Why this Method save the same bitmap every times called?
    B bicphuong

    I have the following method to capture image from a window it works ok but today it save the same image to disk every times called. Please help me! I cannot understand what is the problem. _______________________________________________ public void GetWindowPicture(IntPtr hWnd) { IntPtr hdcDest = default(IntPtr); IntPtr hdcSrc = default(IntPtr); RECT r = new RECT(); int w = 0; int h = 0; GetWindowRect(hWnd, ref r); w = r.Right - r.Left; h = r.Bottom - r.Top; Bitmap bm = new Bitmap(w, h); Graphics g = Graphics.FromImage(bm); hdcSrc = GetWindowDC(hWnd); hdcDest = g.GetHdc(); BitBlt(hdcDest, 0, 0, w, h, hdcSrc, 0, 0, SRCCOPY); g.ReleaseHdc(hdcDest); ReleaseDC(hWnd, hdcSrc); bm.Save(GetOutputInfo(),System.Drawing.Imaging.ImageFormat.Jpeg); } _____________________________________ Thanks for your attention,

    COM graphics help question

  • Pocket PC Development:: Device Reading and Writing
    B bicphuong

    Dear CodeProject Users, I have programmed some Windows Mobile applications with C# and VB.NET for my Pocket PC. I think it's simple. When I want to read and write contacts from SIM and call log, I got problems because C# do not support (I think so). But C++ is supported with many API (refer to Windows Mobile 5 SDK help) I'm wondering how can we use these API in C# or VB.NET ? OR How can we start with C++ Programming for Windows Mobile step by step ? Thanks for your attention, Phuong

    IT & Infrastructure csharp c++ json help

  • How to: Radiobutton check event confirmation ???
    B bicphuong

    [Message Deleted]

    C# question help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups