CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ROCKYCAT

Search: Search took 0.09 seconds.

  1. Replies
    8
    Views
    1,953

    Re: Printer left margin

    Does this help?

    360,1020 is the bottom middle of the page in pixels.
    850,-1100 from other peoples code.
    Is what I think is the page size in inchis * 100?


    PRINTDLG pdlg;
    PRINTDLG* ppd =...
  2. Replies
    8
    Views
    1,953

    Re: Printer left margin

    Does this help?

    360,1020 is the bottom middle of the page in pixels.
    850,-1100 from other peoples code.
    Is what I think is the page size in inchis * 100?

    PRINTDLG pdlg;
    PRINTDLG* ppd =...
  3. Replies
    8
    Views
    1,953

    Re: Printer left margin

    Does this help?

    360,1020 is the bottom middle of the page in pixels.
    850,-1100 from other peoples code.
    Is what I think is the page size in inchis * 100?

    PRINTDLG pdlg;
    PRINTDLG* ppd =...
  4. Replies
    8
    Views
    1,953

    Printer left margin

    I have code that prints.
    PrintDlg.
    StartDoc
    StartPage
    TextOut
    EndPage
    EndDoc

    I am trying to calculate left margin from (inchis * 100) to pixels.
    So the left input for TextOut will be...
  5. Thread: Midi driver?

    by ROCKYCAT
    Replies
    1
    Views
    2,088

    Midi driver?

    I recently purchased a laptop with WINDOWS 8.
    I have a program that gets .MID or .MIDI file volume.
    midiOutGetVolume(0,&midvolme);
    But I get MMSYSERROR_NODRIVER.
    I run a program called...
  6. Replies
    4
    Views
    2,027

    Re: Mmsyserr_nodriver

    So a 7 year old desktop with WINDOWS XP.
    Has better drivers then a new laptop with WINDOWS 8?

    ROCKYCAT
  7. Replies
    4
    Views
    2,027

    Mmsyserr_nodriver

    I have a program that sets and gets WAVE,MID,MIDI Volume (midiOutGetVolume,waveOutGetVolume).
    My program on XP works.
    But I recently bought a laptop with WINDOWS 8.
    And on my laptop I get...
  8. Thread: CDA Volume

    by ROCKYCAT
    Replies
    0
    Views
    800

    CDA Volume

    Can I get and or set the volume of a cda file?
    Afer opening with mciwndm_open.
  9. Replies
    2
    Views
    1,056

    My program process.

    When I have a program running.
    And another program kills my programs process.
    Can I detect my process being killed?

    I am trying to detect my programs process being killed.
    So I can clean up...
  10. Replies
    0
    Views
    923

    CDA Song Title

    With MCI Commands is there any way to get a CDA Song Title?
  11. Replies
    1
    Views
    1,394

    mci_close with a cda file

    I can not get the sound to stop playing a cda file with MCI_CLOSE.
    This code works with wav and mpg and avi files.

    LONG WindowProc()
    {
    switch (msg)
    {
    case WM_COMMAND:
    ...
  12. Thread: Mciwndm_open

    by ROCKYCAT
    Replies
    3
    Views
    1,488

    Re: Mciwndm_open

    It seems that MCIWNDM_OPEN is ok because it returns 0.
    After MCIWND_OPEN I send MCIWNDM_GETDEVICEID.
    If I use deviceid for any MCI_ message I get a return of invalid ID.
    So right after...
  13. Thread: Mciwndm_open

    by ROCKYCAT
    Replies
    3
    Views
    1,488

    Mciwndm_open

    I Send MCIWNDM_OPEN.
    Then I receive MCWNDM_GETMODE.
    But I get MCI_MODE_NOT_READY instead of MCI_MODE_OPEN?
Results 1 to 13 of 13





Click Here to Expand Forum to Full Width

Featured