Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > DDK Print Driver Dialog Can't Get Focused

Reply
Thread Tools Display Modes

DDK Print Driver Dialog Can't Get Focused

 
 
ETXLab
Guest
Posts: n/a

 
      07-28-2004
I'm writting a print monitor. The monitor will pop up dialog to let
user input file name. However, the dialog box can't get focused when
it pops up. I tried functions such as SetFocus(), BringWindowToTop()
and the like. But none of them help. Is there anyone who has the idea
how to fix this problem?

Thanks in advance
Eddie
 
Reply With Quote
 
 
 
 
Christoph Lindemann
Guest
Posts: n/a

 
      08-02-2004
Hi Eddie,

Please mind that print monitor components are executed in context of the
spooler service, and not in the users context. So the same rules apply, as
it does for other service applications.

Also in a terminal service environments, the spooler is executed in session
0 but terminal clients users in session N. So trying to display a message in
session 0, would only result in the dialog being displayed in the console
session.

Regards,
Christoph

"ETXLab" <> wrote in message
news: om...
> I'm writting a print monitor. The monitor will pop up dialog to let
> user input file name. However, the dialog box can't get focused when
> it pops up. I tried functions such as SetFocus(), BringWindowToTop()
> and the like. But none of them help. Is there anyone who has the idea
> how to fix this problem?
>
> Thanks in advance
> Eddie



 
Reply With Quote
 
ETXLab
Guest
Posts: n/a

 
      08-07-2004
Christoph,

Thanks for your suggestion. I will keep it in mind.

Ed

"Christoph Lindemann" <> wrote in message news:<>...
> Hi Eddie,
>
> Please mind that print monitor components are executed in context of the
> spooler service, and not in the users context. So the same rules apply, as
> it does for other service applications.
>
> Also in a terminal service environments, the spooler is executed in session
> 0 but terminal clients users in session N. So trying to display a message in
> session 0, would only result in the dialog being displayed in the console
> session.
>
> Regards,
> Christoph
>
> "ETXLab" <> wrote in message
> news: om...
> > I'm writting a print monitor. The monitor will pop up dialog to let
> > user input file name. However, the dialog box can't get focused when
> > it pops up. I tried functions such as SetFocus(), BringWindowToTop()
> > and the like. But none of them help. Is there anyone who has the idea
> > how to fix this problem?
> >
> > Thanks in advance
> > Eddie

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Photo Gallery will not show Print Dialog Mike H. Windows Vista Music, Pictures and Video 0 06-08-2008 04:46 PM
Missing buttons from print picture dialog box Cambridge411 Windows Vista Music, Pictures and Video 10 08-06-2007 11:17 PM
Vista Premium Print Pictue Dialog Box Rich Windows Vista Music, Pictures and Video 0 06-04-2007 04:32 AM
Printer Driver (NT) Print Dialog Properties User interface RickT Windows Vista Drivers 1 07-21-2004 12:36 AM
Problem with different print dialog boxes Bimo Windows Vista Drivers 1 09-14-2003 11:33 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59