Click here to Skip to main content
15,917,538 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: Reg printing of Windows forms Pin
Christian Graus24-Apr-08 12:24
protectorChristian Graus24-Apr-08 12:24 
GeneralRe: Reg printing of Windows forms Pin
manikandanid27-Apr-08 21:00
manikandanid27-Apr-08 21:00 
GeneralRe: Reg printing of Windows forms Pin
Christian Graus28-Apr-08 11:26
protectorChristian Graus28-Apr-08 11:26 
GeneralRe: Reg printing of Windows forms Pin
manikandanid28-Apr-08 20:15
manikandanid28-Apr-08 20:15 
Questionhow to make a login box ? Pin
tamour21-Apr-08 19:44
tamour21-Apr-08 19:44 
GeneralRe: how to make a login box ? Pin
MarkB77721-Apr-08 20:16
MarkB77721-Apr-08 20:16 
QuestionRe: how to make a login box ? [modified] Pin
tamour22-Apr-08 10:13
tamour22-Apr-08 10:13 
GeneralRe: how to make a login box ? Pin
Mike Dimmick22-Apr-08 0:46
Mike Dimmick22-Apr-08 0:46 
Running on Windows Vista as a standard user? That's the UAC administrative password prompt, which runs on a secure desktop. That actually has a different wallpaper from your regular desktop, but to preserve the illusion Windows Vista makes a copy of the screen then dims it to use as the background. You might also see that password prompt, rather than the Confirm/Deny dialog, if your administrator has chosen that for administrative user elevations.

If your application actually requires administrative privileges to do what you're doing, then add a UAC manifest to set the requestedExecutionLevel to requireAdministrator. Windows will then prompt for administrative credentials to execute the program.

If instead you want to capture your own credentials, rather than Windows logon credentials, call CredUIPromptForCredentials. This won't do the 'secure desktop' thing. The only way I can see to do that is to call CredUIPromptForWindowsCredentials and use the CREDUIWIN_SECURE_PROMPT flag, but even that is called out as 'not supported' for Windows Vista. Must be new in Windows Server 2008.

An approach we've used before on Windows Mobile is to create a window that covers the entire screen and is topmost, but the user can still press Alt+Tab to switch away from it.


DoEvents: Generating unexpected recursion since 1991

GeneralRe: how to make a login box ? Pin
tamour22-Apr-08 10:18
tamour22-Apr-08 10:18 
GeneralDrawing on thumbnails Pin
d35tiny21-Apr-08 4:12
d35tiny21-Apr-08 4:12 
GeneralRe: Drawing on thumbnails Pin
led mike21-Apr-08 5:50
led mike21-Apr-08 5:50 
GeneralRe: Drawing on thumbnails Pin
Pete O'Hanlon21-Apr-08 8:50
mvePete O'Hanlon21-Apr-08 8:50 
Questionform controls enlarge Pin
avvaru.murali21-Apr-08 2:00
avvaru.murali21-Apr-08 2:00 
AnswerRe: form controls enlarge Pin
led mike21-Apr-08 5:47
led mike21-Apr-08 5:47 
GeneralRe: form controls enlarge Pin
cocoonwls21-Apr-08 18:30
cocoonwls21-Apr-08 18:30 
GeneralRe: form controls enlarge Pin
Mike Dimmick22-Apr-08 2:24
Mike Dimmick22-Apr-08 2:24 
Questionhow to resize a windows form ? Pin
tamour21-Apr-08 1:38
tamour21-Apr-08 1:38 
GeneralRe: how to resize a windows form ? Pin
Christian Graus21-Apr-08 18:37
protectorChristian Graus21-Apr-08 18:37 
GeneralRe: how to resize a windows form ? Pin
tamour21-Apr-08 19:33
tamour21-Apr-08 19:33 
GeneralRe: how to resize a windows form ? Pin
Mike Dimmick22-Apr-08 2:32
Mike Dimmick22-Apr-08 2:32 
Question[Message Deleted] Pin
shinboxe21-Apr-08 1:37
shinboxe21-Apr-08 1:37 
GeneralCross post. Please ignore Pin
Pete O'Hanlon21-Apr-08 1:58
mvePete O'Hanlon21-Apr-08 1:58 
QuestionHow retain scrollbar positions of Datagridview? Pin
Guru_yogi20-Apr-08 23:26
Guru_yogi20-Apr-08 23:26 
AnswerRe: How retain scrollbar positions of Datagridview? Pin
Dave Kreskowiak21-Apr-08 3:58
mveDave Kreskowiak21-Apr-08 3:58 
GeneralRe: How retain scrollbar positions of Datagridview? Pin
Guru_yogi22-Apr-08 3:03
Guru_yogi22-Apr-08 3:03 

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.