Click here to Skip to main content
16,005,209 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralScrolling to the bottom+colors Pin
cowell4-Aug-00 15:12
cowell4-Aug-00 15:12 
GeneralRe: Scrolling to the bottom+colors Pin
Philip Nicoletti7-Aug-00 7:46
Philip Nicoletti7-Aug-00 7:46 
GeneralUnicode Linker error Pin
Chris4-Aug-00 9:09
Chris4-Aug-00 9:09 
QuestionHow to hide Scroll bars in a CListCtrl?? Pin
jose4-Aug-00 7:56
jose4-Aug-00 7:56 
GeneralMicrosoft Web Publishing API requirements Pin
sai4-Aug-00 5:25
sai4-Aug-00 5:25 
GeneralRe: Microsoft Web Publishing API requirements Pin
Blake Miler4-Aug-00 9:51
sussBlake Miler4-Aug-00 9:51 
GeneralDisable the Copy and Drag operations in Webbrowser Pin
balak4-Aug-00 2:28
balak4-Aug-00 2:28 
GeneralNT Services and controls for them ... Pin
Robert Dunn7-Aug-00 10:44
Robert Dunn7-Aug-00 10:44 
I have designed and implemented a set of services for NT. I used the ATL COM wizard to create the skeleton and then fleshed it out with my desired Run() actions. I want to make ( and have tried to ) several user-defined controls. Whenever I call the ControlService() API I get ACCESS_DENIED. I have domain admin rights on both machines so I do not think NT security is the issue. I obtained a service handle using OpenService. I have passed EVERY combination of SERVICE_ACCEPT_ flags to OpenService
including SERVICE_ALL_ACCESS. None of them work. All of them result in GetLastError() = 5 ( ACCESS_DENIED ). I am able to START and STOP the service but all other controls fail. I have noticed that the SERVICE_STATUS returned after opening indicates that only STOP controls are accepted. Could some kind soul out there enlighten me on how to get PAUSE, CONTINUE, and USER-DEFINED controls to work for the ATL NT service model ? Please send any reply to my email address ( although I will check this site as often as I can ). If you have a good example of a
service ( source code ) then send it along.

Many thanks,

Robert

GeneralDisabling Print Screen and Print in a Dialog based MFC application Pin
balak4-Aug-00 2:24
balak4-Aug-00 2:24 
GeneralSetting focus to a control Pin
cowell3-Aug-00 23:30
cowell3-Aug-00 23:30 
GeneralRe: Setting focus to a control Pin
Pete4-Aug-00 0:55
Pete4-Aug-00 0:55 
GeneralRe: Setting focus to a control Pin
cowell4-Aug-00 1:28
cowell4-Aug-00 1:28 
GeneralRe: Setting focus to a control Pin
Member 10339074-Aug-00 2:15
Member 10339074-Aug-00 2:15 
GeneralRe: Setting focus to a control Pin
cowell4-Aug-00 14:45
cowell4-Aug-00 14:45 
GeneralRe: Setting focus to a control Pin
xtsea7-Aug-00 22:41
xtsea7-Aug-00 22:41 
GeneralRe: Setting focus to a control Pin
Mike Dunn4-Aug-00 7:06
Mike Dunn4-Aug-00 7:06 
GeneralRe: Setting focus to a control Pin
#realJSOP23-Aug-00 4:13
professional#realJSOP23-Aug-00 4:13 
GeneralVideo for Windows setting parameters Pin
Oscar Kogosov3-Aug-00 18:51
Oscar Kogosov3-Aug-00 18:51 
GeneralDetachable menus Pin
Shekhar3-Aug-00 16:57
Shekhar3-Aug-00 16:57 
GeneralRe: Detachable menus Pin
Daid Wulff4-Aug-00 11:35
sussDaid Wulff4-Aug-00 11:35 
GeneralRe: Detachable menus Pin
Falsem6-Aug-00 13:07
sussFalsem6-Aug-00 13:07 
GeneralRe: Detachable menus Pin
Shekhar7-Aug-00 5:38
Shekhar7-Aug-00 5:38 
QuestionVi editor key bindings? Pin
Nick3-Aug-00 16:19
Nick3-Aug-00 16:19 
GeneralCreating 2 documents instead of one. Pin
David Wulff3-Aug-00 12:20
David Wulff3-Aug-00 12:20 
GeneralRe: Creating 2 documents instead of one. Pin
HP3-Aug-00 20:06
HP3-Aug-00 20:06 

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.