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
A

Alex Dolpfin

@Alex Dolpfin
About
Posts
4
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Printing size -bmp-help needed!
    A Alex Dolpfin

    After creating a printer DC in your printing function calculate desired destination rectangle taking into account a size of paper: CSize paper_res; paper_res.cx = dcPrinter.GetDeviceCaps(HORZRES); paper_res.cy = dcPrinter.GetDeviceCaps(VERTRES); Try to set dcPrinter's map mode as MM_TEXT and to use dcPrinter.StrechBlt(...)

    C / C++ / MFC c++ help tutorial question

  • Simulating a disk file with a memory file?
    A Alex Dolpfin

    Try to use CMemFile MFC class.

    C / C++ / MFC com data-structures security performance help

  • 1 day only! I will answer your beginner home-work assignments!
    A Alex Dolpfin

    What fun!!! :(

    C / C++ / MFC learning

  • StretchDIBits fit into paper
    A Alex Dolpfin

    10th parameter of StretchDIBits should be a pointer to a buffer containing RGB data of bitmap you want to print. For eg. CBitmap bmp; bmp.LoadBitmap(IDB_SOMEBITMAP); BITMAP bm; bmp.GetBitmap(&bm); bm.bmBits is the pointer you need. Other parameters may be right or wrong cause I dont know what they mean in your program. By the way, for printing a bitmap you should to create a printer DC and to calculate destination rectangle with paper resolution. For more info see MSDN!

    C / C++ / MFC question
  • Login

  • Don't have an account? Register

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