Click here to Skip to main content
16,012,611 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAbout Exception in VC++ Pin
wabc5-Feb-02 20:29
wabc5-Feb-02 20:29 
GeneralRe: About Exception in VC++ Pin
Christian Graus5-Feb-02 20:40
protectorChristian Graus5-Feb-02 20:40 
GeneralRe: About Exception in VC++ Pin
Joaquín M López Muñoz5-Feb-02 21:29
Joaquín M López Muñoz5-Feb-02 21:29 
GeneralRe: About Exception in VC++ Pin
Christian Graus5-Feb-02 21:41
protectorChristian Graus5-Feb-02 21:41 
GeneralRe: About Exception in VC++ Pin
Joaquín M López Muñoz5-Feb-02 21:55
Joaquín M López Muñoz5-Feb-02 21:55 
GeneralRe: About Exception in VC++ Pin
John Clump5-Feb-02 20:55
John Clump5-Feb-02 20:55 
GeneralRe: About Exception in VC++ Pin
alex.barylski5-Feb-02 21:31
alex.barylski5-Feb-02 21:31 
GeneralTricky NT Service Question Pin
Richard Ellis5-Feb-02 19:11
Richard Ellis5-Feb-02 19:11 
G'Day All

I am writing an NT service that uses some MAPI stuff. According to MSDN (and experimentation) it seems that must run without a desktop. Which is fine and indeed I have that part working. However I would like to add some functionality to this service such that it needs to interact with the desktop - specifically I would like it to manipulate the system tray.

Now I believe that system tray manipulation needs a handle to a window but my problem is because the MAPI stuff requires no desktop I don't know how I can grab one. I had tried to enumerate child windows until I found the one I wanted but of course because there is no desktop that call returns no windows.

So I was wondering whether anyone had a good idea as to how best to get around this? Is it possible to have the service start another exe/process/thread to do the manipulation which would have access to the desktop but not place a button on the task bar....

Much thanks for your thoughts,

Richard Ellis.
GeneralRe: Tricky NT Service Question Pin
Nish Nishant5-Feb-02 20:29
sitebuilderNish Nishant5-Feb-02 20:29 
GeneralRe: Tricky NT Service Question Pin
Michael Dunn5-Feb-02 20:30
sitebuilderMichael Dunn5-Feb-02 20:30 
GeneralRe: Tricky NT Service Question Pin
Andreas Saurwein6-Feb-02 0:27
Andreas Saurwein6-Feb-02 0:27 
GeneralRe: Tricky NT Service Question Pin
Richard Ellis6-Feb-02 18:57
Richard Ellis6-Feb-02 18:57 
QuestionWhat Message is issued? Pin
AnonymousBabe@usa.net5-Feb-02 16:16
AnonymousBabe@usa.net5-Feb-02 16:16 
AnswerRe: What Message is issued? Pin
Paul M Watt5-Feb-02 19:00
mentorPaul M Watt5-Feb-02 19:00 
Questionany other chinese programmer in USA ? Pin
hinasoft5-Feb-02 15:03
hinasoft5-Feb-02 15:03 
AnswerRe: any other chinese programmer in USA ? Pin
alex.barylski5-Feb-02 16:43
alex.barylski5-Feb-02 16:43 
GeneralRe: any other chinese programmer in USA ? Pin
AnonymousBabe@usa.net5-Feb-02 17:32
AnonymousBabe@usa.net5-Feb-02 17:32 
GeneralCaret and MDI View Pin
AnonymousBabe@usa.net5-Feb-02 14:15
AnonymousBabe@usa.net5-Feb-02 14:15 
GeneralSetting up CListView Properties Pin
Aaron Schaefer5-Feb-02 12:07
Aaron Schaefer5-Feb-02 12:07 
GeneralRe: Setting up CListView Properties Pin
Derek Waters5-Feb-02 12:17
Derek Waters5-Feb-02 12:17 
GeneralRe: Setting up CListView Properties Pin
Aaron Schaefer5-Feb-02 12:29
Aaron Schaefer5-Feb-02 12:29 
GeneralRe: Setting up CListView Properties Pin
Michael Dunn5-Feb-02 13:09
sitebuilderMichael Dunn5-Feb-02 13:09 
Generalchecking first char input be4 reading the rest Pin
5-Feb-02 10:18
suss5-Feb-02 10:18 
Generalhere is my code Pin
5-Feb-02 10:24
suss5-Feb-02 10:24 
GeneralDebugging Pin
Paul M Watt5-Feb-02 13:21
mentorPaul M Watt5-Feb-02 13:21 

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.