Thread: Handling a window

  1. #1
    Registered User
    Join Date
    May 2005

    Question Handling a window

    When we issue a print command to a window, the very first thing that appears is a selection window named 'Print' in which we select the printer that we want to use.(I'm using a Virtual printer) After pressing the 'Enter' key we get another window called 'Print to File' where we give the name of the file (path and extention) that will be printed. Pressing 'Enter' again will start the printing operation.

    For my application I don't want these windows to appear,in fact the printing operation should appear to be occuring in the background. One 'dirty' technique that I used was to forcefully execute keyboard commands (programatically) whenever these window appear and hence cause a printout to occur.
    But this method has its fast PC's you will notice a faint flicker while in slower PCs it is quite evident.
    I don't want to go into the driver level development of a printer (b'coz although that is a solution,it is not feasible for me right now)
    Can somebody suggest a better technique that will virtually hide the windows and hence not cause any flickering?

  2. #2
    The N00b That Owns You!
    Join Date
    Jul 2005
    PTC: Post The Code
    New Function!!!!


    The feeling of rusty spoons against my salad fingers is almost ORGASMIC

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WM_CAPTION causing CreateWindowEx() to fail.
    By Necrofear in forum Windows Programming
    Replies: 8
    Last Post: 04-06-2007, 08:23 AM
  2. 6 measly errors
    By beene in forum Game Programming
    Replies: 11
    Last Post: 11-14-2006, 11:06 AM
  3. My Window Class
    By Epo in forum Game Programming
    Replies: 2
    Last Post: 07-10-2005, 02:33 PM
  4. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  5. problem with open gl engine.
    By gell10 in forum Game Programming
    Replies: 1
    Last Post: 08-21-2003, 04:10 AM