Click here to Skip to main content
15,909,437 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionButton control Pin
jimjim73319-Nov-08 5:33
jimjim73319-Nov-08 5:33 
AnswerRe: Button control Pin
PJ Arends19-Nov-08 6:12
professionalPJ Arends19-Nov-08 6:12 
AnswerRe: Button control Pin
Nishad S19-Nov-08 17:10
Nishad S19-Nov-08 17:10 
GeneralRe: Button control Pin
jimjim73319-Nov-08 23:45
jimjim73319-Nov-08 23:45 
QuestionVisual C++ 2003 Redistributables [Solved] Pin
bob1697219-Nov-08 5:12
bob1697219-Nov-08 5:12 
AnswerRe: Visual C++ 2003 Redistributables [Solved] Pin
bob1697219-Nov-08 5:29
bob1697219-Nov-08 5:29 
QuestionMFC and Vista General Question Pin
sabdalla8019-Nov-08 4:42
sabdalla8019-Nov-08 4:42 
AnswerRe: MFC and Vista General Question Pin
bob1697219-Nov-08 4:56
bob1697219-Nov-08 4:56 
Add a security section to your application manifest file. This will effectively turn off UAC for the application (If UAC is on) and it will prevent virtualization for the Registry and File sections that the user does not have rights to.

That brings up topic number 2. The user will still need to have an Admin token to write to Program Files directory, HKLM, HKCR, etc as they always have on NT class machines. You can set up the security manifest to use "AsInvoker" but this will simply fail when they don't have an admin token. Use "requireAdministrator" for admin utility programs that require administrator access to the machine. This will prompt the user for admin credentials when they try to use the app if they don't already have an admin token. (and it'll put that cool little shield on your icon) Roll eyes | :rolleyes:

Windows Vista Application Development Requirements for User Account Control Compatibility[^]
GeneralRe: MFC and Vista General Question Pin
sabdalla8019-Nov-08 5:32
sabdalla8019-Nov-08 5:32 
GeneralRe: MFC and Vista General Question Pin
bob1697219-Nov-08 6:04
bob1697219-Nov-08 6:04 
GeneralRe: MFC and Vista General Question Pin
bob1697219-Nov-08 7:07
bob1697219-Nov-08 7:07 
GeneralRe: MFC and Vista General Question Pin
bob1697219-Nov-08 7:10
bob1697219-Nov-08 7:10 
GeneralRe: MFC and Vista General Question [modified] Pin
sabdalla8019-Nov-08 7:21
sabdalla8019-Nov-08 7:21 
GeneralRe: MFC and Vista General Question Pin
bob1697219-Nov-08 8:09
bob1697219-Nov-08 8:09 
General[Message Deleted] Pin
sabdalla8019-Nov-08 10:02
sabdalla8019-Nov-08 10:02 
GeneralRe: MFC and Vista General Question Pin
bob1697219-Nov-08 12:10
bob1697219-Nov-08 12:10 
Questionproblem creating a colored icon Pin
tudorbalan19-Nov-08 4:13
tudorbalan19-Nov-08 4:13 
QuestionRe: problem creating a colored icon Pin
PJ Arends19-Nov-08 12:36
professionalPJ Arends19-Nov-08 12:36 
QuestionWindows Api / Control Visible Pin
V.19-Nov-08 2:59
professionalV.19-Nov-08 2:59 
AnswerRe: Windows Api / Control Visible Pin
Iain Clarke, Warrior Programmer19-Nov-08 3:03
Iain Clarke, Warrior Programmer19-Nov-08 3:03 
GeneralRe: Windows Api / Control Visible Pin
V.19-Nov-08 3:33
professionalV.19-Nov-08 3:33 
QuestionRe: Windows Api / Control Visible Pin
David Crow19-Nov-08 3:36
David Crow19-Nov-08 3:36 
AnswerRe: Windows Api / Control Visible Pin
V.19-Nov-08 3:38
professionalV.19-Nov-08 3:38 
GeneralRe: Windows Api / Control Visible Pin
led mike19-Nov-08 4:22
led mike19-Nov-08 4:22 
GeneralRe: Windows Api / Control Visible Pin
V.19-Nov-08 4:42
professionalV.19-Nov-08 4:42 

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.