Click here to Skip to main content
15,920,956 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionFinding the VirtualStore location in Vista Pin
Will Singer7-Feb-07 7:47
Will Singer7-Feb-07 7:47 
AnswerRe: Finding the VirtualStore location in Vista Pin
Michael Dunn7-Feb-07 8:49
sitebuilderMichael Dunn7-Feb-07 8:49 
GeneralRe: Finding the VirtualStore location in Vista Pin
David Crow7-Feb-07 10:27
David Crow7-Feb-07 10:27 
Questionwin32 saving printer bitmap to a file... Pin
stephen.hazel7-Feb-07 7:32
stephen.hazel7-Feb-07 7:32 
AnswerRe: win32 saving printer bitmap to a file... Pin
PJ Arends7-Feb-07 8:11
professionalPJ Arends7-Feb-07 8:11 
GeneralRe: win32 saving printer bitmap to a file... Pin
stephen.hazel7-Feb-07 8:28
stephen.hazel7-Feb-07 8:28 
GeneralRe: win32 saving printer bitmap to a file... Pin
James R. Twine7-Feb-07 8:39
James R. Twine7-Feb-07 8:39 
GeneralRe: win32 saving printer bitmap to a file... Pin
stephen.hazel7-Feb-07 8:56
stephen.hazel7-Feb-07 8:56 
When my app prints, it uses a different drawing function than when drawing in a window.
(Takes advantage of the higher printer resolution, etc)

We're talkin music printing here, by the way.
On screen, it's a regular piano roll as my docs show here:
http://shazware.com/ditty/12_tinker.html[^]

On the printout, a couple pianorolls are squashed on the page in parallel down the page (as space permits).

Ok, so how can i get that big ole bitmap... But non-black ?

The bitmap file =is= being created, (93 meg!) but it's all black.
The size can be alloc'd - width * height * 3 (bytes for RGB).

So either the BitBlt ain't workin or the GetDIBits() ain't workin...

Hmmm...

Bet it's the GetDIBits runnin outa space...
[edit] nope - the new works so why would GetDIBits need space? [/edit]

Maybe it'll work on my machine at home... I think it's got more ram Smile | :)

...Steve
GeneralRe: win32 saving printer bitmap to a file... Pin
Mark Salsbery7-Feb-07 8:56
Mark Salsbery7-Feb-07 8:56 
GeneralRe: win32 saving printer bitmap to a file... Pin
stephen.hazel7-Feb-07 9:09
stephen.hazel7-Feb-07 9:09 
GeneralRe: win32 saving printer bitmap to a file... Pin
Mark Salsbery7-Feb-07 9:49
Mark Salsbery7-Feb-07 9:49 
GeneralRe: win32 saving printer bitmap to a file... Pin
stephen.hazel7-Feb-07 10:25
stephen.hazel7-Feb-07 10:25 
GeneralRe: win32 saving printer bitmap to a file... Pin
Mark Salsbery7-Feb-07 10:40
Mark Salsbery7-Feb-07 10:40 
GeneralRe: win32 saving printer bitmap to a file... Pin
stephen.hazel7-Feb-07 11:59
stephen.hazel7-Feb-07 11:59 
GeneralRe: win32 saving printer bitmap to a file... Pin
Mark Salsbery7-Feb-07 12:08
Mark Salsbery7-Feb-07 12:08 
GeneralRe: win32 saving printer bitmap to a file... Pin
Mark Salsbery7-Feb-07 10:45
Mark Salsbery7-Feb-07 10:45 
Questiondraw a semi transparent window in a game Pin
Parallan7-Feb-07 5:17
Parallan7-Feb-07 5:17 
AnswerRe: draw a semi transparent window in a game Pin
Waldermort7-Feb-07 5:33
Waldermort7-Feb-07 5:33 
GeneralRe: draw a semi transparent window in a game Pin
toxcct7-Feb-07 5:44
toxcct7-Feb-07 5:44 
GeneralRe: draw a semi transparent window in a game Pin
Waldermort7-Feb-07 5:48
Waldermort7-Feb-07 5:48 
GeneralRe: draw a semi transparent window in a game [modified] Pin
toxcct7-Feb-07 5:52
toxcct7-Feb-07 5:52 
GeneralRe: draw a semi transparent window in a game Pin
Waldermort7-Feb-07 5:56
Waldermort7-Feb-07 5:56 
GeneralRe: draw a semi transparent window in a game Pin
toxcct7-Feb-07 5:59
toxcct7-Feb-07 5:59 
GeneralRe: draw a semi transparent window in a game [modified] Pin
Parallan7-Feb-07 6:20
Parallan7-Feb-07 6:20 
GeneralRe: draw a semi transparent window in a game Pin
Parallan7-Feb-07 6:27
Parallan7-Feb-07 6:27 

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.