Click here to Skip to main content
15,896,507 members
Home / Discussions / C#
   

C#

 
QuestionHow to make use of an API Pin
rockyl27-Dec-06 2:33
rockyl27-Dec-06 2:33 
AnswerRe: How to make use of an API Pin
Niiiissssshhhhhuuuuu27-Dec-06 2:39
Niiiissssshhhhhuuuuu27-Dec-06 2:39 
GeneralRe: How to make use of an API Pin
rockyl27-Dec-06 4:23
rockyl27-Dec-06 4:23 
AnswerRe: How to make use of an API Pin
User 665827-Dec-06 2:40
User 665827-Dec-06 2:40 
GeneralRe: How to make use of an API Pin
rockyl27-Dec-06 4:22
rockyl27-Dec-06 4:22 
GeneralRe: How to make use of an API Pin
Eric Dahlvang27-Dec-06 5:35
Eric Dahlvang27-Dec-06 5:35 
GeneralRe: How to make use of an API Pin
Tyler4527-Dec-06 4:47
Tyler4527-Dec-06 4:47 
GeneralRe: How to make use of an API Pin
rockyl27-Dec-06 4:57
rockyl27-Dec-06 4:57 
AnswerRe: How to make use of an API Pin
Dan Neely27-Dec-06 5:03
Dan Neely27-Dec-06 5:03 
AnswerRe: How to make use of an API Pin
Judah Gabriel Himango27-Dec-06 10:13
sponsorJudah Gabriel Himango27-Dec-06 10:13 
Questionavicap32.dll Question Pin
Andrei Ungureanu27-Dec-06 2:25
Andrei Ungureanu27-Dec-06 2:25 
AnswerRe: avicap32.dll Question Pin
Niiiissssshhhhhuuuuu27-Dec-06 2:34
Niiiissssshhhhhuuuuu27-Dec-06 2:34 
GeneralRe: avicap32.dll Question Pin
Andrei Ungureanu27-Dec-06 3:10
Andrei Ungureanu27-Dec-06 3:10 
GeneralRe: avicap32.dll Question Pin
Laubi27-Dec-06 11:27
Laubi27-Dec-06 11:27 
GeneralRe: avicap32.dll Question Pin
Niiiissssshhhhhuuuuu27-Dec-06 16:52
Niiiissssshhhhhuuuuu27-Dec-06 16:52 
QuestionHow do I call a C# DLL Using Visual Studio 2005 ( C# Code) Pin
Peter Usinga27-Dec-06 1:15
Peter Usinga27-Dec-06 1:15 
AnswerRe: How do I call a C# DLL Using Visual Studio 2005 ( C# Code) Pin
Andrei Ungureanu27-Dec-06 2:26
Andrei Ungureanu27-Dec-06 2:26 
AnswerRe: How do I call a C# DLL Using Visual Studio 2005 ( C# Code) Pin
ednrgc28-Dec-06 6:32
ednrgc28-Dec-06 6:32 
QuestionHow to change column order in DataGrid Pin
AndrusM27-Dec-06 0:45
AndrusM27-Dec-06 0:45 
QuestionHow to move to first column in DataGrid Pin
AndrusM27-Dec-06 0:44
AndrusM27-Dec-06 0:44 
Question.net 2.0 visual style Pin
fmardani27-Dec-06 0:35
fmardani27-Dec-06 0:35 
AnswerRe: .net 2.0 visual style [modified] Pin
Luc Pattyn27-Dec-06 6:57
sitebuilderLuc Pattyn27-Dec-06 6:57 
There are several ways to get there:

*
* 1.
* call Application.EnableVisualStyles(); just before
* Application.Run(f);
* disadvantages:
* - this method does not exist under .NET 1.0
* - this method has a bug, causing later some ShowDialogs to throw a
* SEHException
* e.g. when using a ContextMenu on a NotifyIcon
*
* 2.
* create a manifest file with a specific name (<myApp>.exe.manifest) and put it
* in the directory containing the exe file itself. The fixed content must be:
*

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<description>.NET control deployment tool</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>

*
* 3.
* create an instance of a special class before creating any of the intended
* forms, as in:
*
using (new LP_EnableTheming(true)) {
myForm form=new myForm();
form.CreateControl(); // can be included in myForm constructor !
Application.Run(form);
}
*/

The special class is inspired on the article at http://www.codeproject.com/useritems/ThemingInScope.asp
Smile | :)



Luc Pattyn


-- modified at 14:12 Wednesday 27th December, 2006
GeneralRe: .net 2.0 visual style Pin
Dan Neely27-Dec-06 7:24
Dan Neely27-Dec-06 7:24 
GeneralRe: .net 2.0 visual style Pin
Luc Pattyn27-Dec-06 8:14
sitebuilderLuc Pattyn27-Dec-06 8:14 
AnswerRe: .net 2.0 visual style Pin
Thomas Stockwell28-Dec-06 7:28
professionalThomas Stockwell28-Dec-06 7:28 

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.