Click here to Skip to main content
15,905,781 members
Home / Discussions / C#
   

C#

 
GeneralRe: some clarification on GDI+ vs. DIrectDraw Pin
Christian Graus3-Feb-04 17:44
protectorChristian Graus3-Feb-04 17:44 
GeneralRe: some clarification on GDI+ vs. DIrectDraw Pin
Michael Blome3-Feb-04 18:55
Michael Blome3-Feb-04 18:55 
GeneralRe: some clarification on GDI+ vs. DIrectDraw Pin
SIDDHARTH_JAIN4-Feb-04 11:36
SIDDHARTH_JAIN4-Feb-04 11:36 
GeneralPrepend to a file in C# Pin
pankajdaga3-Feb-04 13:27
pankajdaga3-Feb-04 13:27 
GeneralRe: Prepend to a file in C# Pin
John Kuhn3-Feb-04 17:29
John Kuhn3-Feb-04 17:29 
Generalsend an image in picturebox Pin
abido3-Feb-04 12:34
abido3-Feb-04 12:34 
GeneralRe: send an image in picturebox Pin
Heath Stewart3-Feb-04 20:13
protectorHeath Stewart3-Feb-04 20:13 
GeneralRe: send an image in picturebox Pin
John Kuhn3-Feb-04 21:02
John Kuhn3-Feb-04 21:02 
QuestionHow to add a new method that has both external and internal name into a ActiveX? Pin
lchuang3-Feb-04 12:28
susslchuang3-Feb-04 12:28 
AnswerRe: How to add a new method that has both external and internal name into a ActiveX? Pin
Heath Stewart3-Feb-04 20:11
protectorHeath Stewart3-Feb-04 20:11 
QuestionFlash swfs in c#? Pin
visiontec3-Feb-04 12:03
visiontec3-Feb-04 12:03 
AnswerRe: Flash swfs in c#? Pin
Meysam Mahfouzi3-Feb-04 17:07
Meysam Mahfouzi3-Feb-04 17:07 
GeneralRe: Flash swfs in c#? Pin
krishna_goluguri8-Jul-10 0:16
krishna_goluguri8-Jul-10 0:16 
Questiondate format converter? Pin
visiontec3-Feb-04 11:58
visiontec3-Feb-04 11:58 
AnswerRe: date format converter? Pin
Dmitriy Kostovetskiy3-Feb-04 15:59
Dmitriy Kostovetskiy3-Feb-04 15:59 
AnswerRe: date format converter? Pin
Heath Stewart3-Feb-04 20:07
protectorHeath Stewart3-Feb-04 20:07 
GeneralHide Start Button Pin
johnstacey3-Feb-04 11:53
johnstacey3-Feb-04 11:53 
GeneralRe: Hide Start Button Pin
Heath Stewart3-Feb-04 19:58
protectorHeath Stewart3-Feb-04 19:58 
GeneralRe: Hide Start Button Pin
johnstacey4-Feb-04 4:59
johnstacey4-Feb-04 4:59 
GeneralRe: Hide Start Button Pin
Heath Stewart4-Feb-04 5:04
protectorHeath Stewart4-Feb-04 5:04 
You simply need to P/Invoke these functions, but again I warn you that this is not the correct way to make a kiosk application. If this is your goal, you should check out the Platform SDK in the MSDN Library at http://msdn.microsoft.com/library[^].
[DllImport("user32.dll", CharSet=CharSet.Auto)]
private static extern IntPtr FindWindowEx(IntPtr hWnd1, IntPtr hWnd2, string class1, string class2);
 
[DllImport("user32.dll")]
private static extern void EnableWindow(IntPtr hWnd, bool enable);
 
public static void EnableStartButton(bool enable)
{
  IntPtr hWnd = FindWindowEx(IntPtr.Zero, IntPtr.Zero, "Shell_TrayWnd", null);
  hWnd = FindWindowEx(hWnd, IntPtr.Zero, "Button", null);
  EnableWindow(hWnd, enable);
}

}

 

Microsoft MVP, Visual C#
My Articles
Questionstatus bar from child forms? Pin
visiontec3-Feb-04 11:44
visiontec3-Feb-04 11:44 
AnswerRe: status bar from child forms? Pin
Heath Stewart3-Feb-04 20:02
protectorHeath Stewart3-Feb-04 20:02 
GeneralC# Pipes Pin
Anonymous3-Feb-04 9:42
Anonymous3-Feb-04 9:42 
GeneralRe: C# Pipes Pin
occcy4-Feb-04 0:18
occcy4-Feb-04 0:18 
GeneralRe: C# Pipes Pin
ronboy4-Feb-04 3:32
ronboy4-Feb-04 3:32 

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.